/* Thay thế toàn bộ nội dung file */
:root {
    --primary-color: #0d6efd; /* Xanh dương hiện đại */
    --primary-color-rgb: 13, 110, 253;
    --background-color: #f8f9fa; /* Nền xám rất nhạt */
    --card-background-color: #ffffff;
    --text-primary: #212529; /* Đen nhạt */
    --text-secondary: #6c757d; /* Xám cho chữ phụ */
    --border-color: #dee2e6;
    --success-color: #198754;
    --danger-color: #dc3545;
    --icon-color: #495057;
    --input-background-color: #f8f9fa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-color);
    margin: 0;
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.2s ease;
}

a:hover {
    text-decoration: underline;
    color: #0a58ca;
}

.primary-btn, .secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem; /* 10px 20px */
    border-radius: 0.375rem; /* 6px */
    border: 1px solid transparent;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.95rem;
}

.primary-btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}
.primary-btn:hover { 
    background-color: #0b5ed7; 
    border-color: #0a58ca;
    text-decoration: none;
}
.primary-btn:disabled {
    background-color: var(--primary-color);
    opacity: 0.65;
    cursor: not-allowed;
}

.secondary-btn {
    background-color: var(--card-background-color);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.secondary-btn:hover { 
    background-color: #e9ecef;
    text-decoration: none;
}

html {
    /* Trình duyệt mặc định thường là 16px. 
      Đặt 90% sẽ khiến font-size cơ sở (1rem) 
      tương đương 14.4px thay vì 16px.
    */
    font-size: 80%;
}

/* 1. Ẩn modal đi */
.modal {
    display: none;
}

/* 2. Khi modal được JS thêm class .show, 
      thì cho nó hiển thị (JS sẽ tự động làm việc này) */
.modal.show {
    display: block;
}

/* 3. Thêm một lớp nền mờ (backdrop) 
      (Vì bạn cũng đang thiếu lớp này) */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040; /* Phải thấp hơn z-index của modal */
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.5;
}