html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Hiệu ứng focus đẹp hơn */
.btn:focus, .btn:active:focus, .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(37, 140, 251, 0.4);
}

/* Layout chung */
html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: "Times New Roman", Times, serif;
    margin-bottom: 60px;
    background: url('/images/bgr.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
}

/* Container đẹp hơn */
.container {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-top: 30px;
}

/* Tiêu đề */
h1 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    color: #2c3e50;
}

/* Bảng */
.table {
    border-radius: 10px;
    overflow: hidden;
}

    .table thead {
        background-color: #2c3e50;
        color: white;
    }

    .table tbody tr:hover {
        background-color: #f1f1f1;
    }

/* Checkbox */
input[type="checkbox"] {
    accent-color: #198754;
}

/* Badge trạng thái */
.badge-success {
    background-color: #198754;
}

.badge-danger {
    background-color: #dc3545;
}

/* Nút */
.btn-search {
    background: linear-gradient(135deg, #ff7e5f, #ff3f34);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 500;
    transition: 0.3s;
}

    .btn-search:hover {
        background: linear-gradient(135deg, #0056b3, #0096c7);
        transform: scale(1.05);
    }

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}

body {
    padding-bottom: 80px;
}

.btn-success {
    background-color: #198754 !important;
    border-color: #198754 !important;
}

.btn-warning {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: black;
}

.btn-info {
    background-color: #0dcaf0 !important;
    border-color: #0dcaf0 !important;
}

.btn-danger {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.btn {
    transition: 0.2s;
}

    .btn:hover {
        transform: translateY(-2px);
    }

/* Mặc định */
#trangThaiSelect {
    border-radius: 8px;
    transition: 0.3s;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Hoàn thành */
.status-done {
    background-color: #d4edda !important;
    color: #155724 !important;
}

/* Chưa hoàn thành */
.status-notdone {
    background-color: #f8d7da !important;
    color: #721c24 !important;
}