﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Khống chế độ lùi của danh sách lồng nhau */
.prose ul, .prose ol {
    padding-left: 1.25rem !important; /* Giảm khoảng cách thụt lề */
    margin-bottom: 0.5rem;
}

/* Ép các danh sách lồng nhau không được thụt quá nhiều */
.prose li ul, .prose li ol {
    margin-left: 0.5rem !important;
    border-left: 2px solid #e2e8f0; /* Thêm đường kẻ dọc để dễ phân biệt cấp bậc */
    padding-left: 1rem !important;
}

/* Biến các số thứ tự tròn màu xanh giống trong ảnh của bạn */
.prose ol {
    list-style-type: none;
    counter-reset: item;
}

    .prose ol > li {
        position: relative;
        margin-bottom: 1rem;
        padding-left: 3rem; /* Nhường chỗ cho vòng tròn số */
    }

        .prose ol > li::before {
            content: counter(item);
            counter-increment: item;
            position: absolute;
            left: 0;
            top: 0;
            width: 24px;
            height: 24px;
            background-color: #1A59A8; /* Màu xanh THT */
            color: white;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
        }