tbody, td, tfoot, th, thead, tr {
    border: 1px solid #ccc;
    padding: 10px;
}
figure{
    margin: 0;
}
#popUpMemnu ,#popUpMemnu table tbody, #popUpMemnu p, #popUpMemnu ul li {
    color: #000;
}
#popUpMemnu table{
    width: 100%;
}
@font-face {
    font-family: "averta";
    src: url("../fonts/averta/Averta-Bold.eot");
    src: url("../fonts/averta/Averta-Bold.woff") format("woff");
}

.header-banner {
    font-family: 'averta', 'Times New Roman', Times, serif;
    font-size: 20pt;
    text-transform: uppercase;
    color: #27316b;
}

#intro {
    /* Margin to fix overlapping fixed navbar */
    margin-top: 80px;
}

@media (max-width: 991px) {
    #intro {
        /* Margin to fix overlapping fixed navbar */
        margin-top: 45px;
    }
}

.full-modal-dialog {
    width: 98% !important;
    height: 92% !important;
    min-width: 98% !important;
    min-height: 92% !important;
    max-width: 98% !important;
    max-height: 92% !important;
    padding: 0 !important;
}

.full-modal-content {
    height: 99% !important;
    min-height: 99% !important;
    max-height: 99% !important;
}

.midle-modal-dialog {
    width: 70% !important;
    min-width: 70% !important;
    max-width: 70% !important;
    height: auto !important;
    padding: 0 !important;
}

.midle-modal-content {
    height: auto !important;
}

.small-modal-dialog {
    width: 50% !important;
    min-width: 50% !important;
    max-width: 50% !important;
    height: auto !important;
    padding: 0 !important;
}

.small-modal-content {
    height: auto !important;
}

.drop-area {
    border: 2px dashed #bbb;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 20px;
    font: 20pt bold 'Vollkorn';
    color: #bbb;
}

.drop-area p {
    margin-top: 0;
}

.fUploadImage {
    display: none;
}

.dropdown-userinfo,
.bg-image,
.pointer {
    cursor: pointer;
}

.bgRowSelected,
.selected {
    background-color: #6c757d;
    filter: alpha(opacity=40);
    /* IE */
    -moz-opacity: 0.4;
    /* Mozilla */
    opacity: 0.4;
    filter: alpha(opacity=40);
}

#txtHoVaTen,
#lblHoVaTen {
    text-transform: uppercase;
}
.notification-box {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e74c3c;
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.number {
    background: #e74c3c;
    color: white;
    font-weight: bold;
    font-size: 20px;
    padding: 10px 15px;
    border-radius: 8px;
    margin-right: 15px;
    text-align: center;
    min-width: 50px;
}
.inputfile {
    width: 100%;
    height: 51px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: 999999;
    cursor: pointer;
}
.inputfile-1 + label {
    color: #fff;
    background-color: #163f75;
}
.inputfile + label {
    width: 100%;
    font-size: 0.9rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    padding: 0.625rem 1.25rem;
    border-radius: 5px;
}
#clickFirstPopupFile1, #showBtnUploadFile1, .tickAvatar, .tickAvatarError, #province_orther {
    display: none;
}
.pc-margin-top{
    margin-top: 34px;
}
@media only screen and (max-width: 600px) {
    .pc-margin-top{
        margin-top: 0px;
    }
}
.btn-dangky{
    padding: 14px 50px;
    font-size: 14px;
}
.select-wrapper .is-invalid {
    border-color:red !important;
}

.select-wrapper .invalid-feedback {
    display: block !important;
    margin-top: 5px;
}
.invalid-feedback-gks{
    font-size: .875rem;
}

.navbars {
    display: flex;
    justify-content: flex-end;
   
}

/* ===== Nút user ===== */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.user-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Icon user */
.user_icon {
    width: 30px;
    height: 30px;
    background: #1E87D7;
    color: white;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    margin-right: 8px;
}

/* Tên người dùng */
.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Mũi tên dropdown */
.arrow-down {
    width: 8px;
    height: 8px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(-45deg);
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.user-menu:hover .arrow-down {
    transform: rotate(135deg);
}

/* ===== Dropdown Menu ===== */
.dropdown {
    list-style: none;
    position: absolute;
    top: 100%; /* Đưa dropdown xuống dưới user-btn */
    right: 0;
    left: auto;
    z-index: 9999;
    width: 220px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    padding: 10px 0;
    animation: fadeIn 0.2s ease-in-out;
}

/* Hiển thị dropdown khi hover */
.user-menu:hover .dropdown {
    display: block;
}

/* Header trong dropdown */
.dropdown-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}

/* Các mục trong dropdown */
.dropdown li {
    padding: 10px 15px;
}

.dropdown a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}
.bg-footer{
    background: #015f8f !important;
}
.btn-primary {
    background-color: #004a84 !important;
}
.dropdown a i {
    margin-right: 8px;
}

/* Hiệu ứng hover */
.dropdown a:hover {
    background: #f1f1f1;
    color: #007bff;
}

/* Đăng xuất màu đỏ */
.logout {
    color: red;
    font-weight: bold;
}

/* Hiệu ứng fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}