﻿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%;
}

/* ✅ nền */
body {
    margin-bottom: 60px;
    background: url('/images/qlth.jpg') no-repeat center center fixed;
    background-size: cover;
}

    /* ✅ overlay làm nền tối → chữ rõ hơn */
    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: -1;
    }

/* ✅ khung danh sách */
.main-box {
    width: 60%;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.97);
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin: 40px auto;
}

/* ✅ THÊM CÁI NÀY → fix form sửa bị mờ */
.edit-box {
    width: 400px;
    margin: 80px auto;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* input đẹp hơn */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* nút */
.btn-save {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
}

/* bảng */
table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}

    table thead {
        background: #f1f1f1;
    }

    table th,
    table td {
        padding: 10px 15px;
        text-align: left;
        vertical-align: middle;
        border-bottom: 1px solid #ddd;
    }

    table tbody tr:hover {
        background-color: #f5f5f5;
    }
