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;
}

.error-page {
    text-align: center;
}

.error-code {
    font-size: 10em;
    color: #dc3545;
}

.error-message {
    font-size: 2em;
    color: #6c757d;
}

.gears {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 20px auto;
}

.gear {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: spin 10s infinite linear;
}

.gear.one {
    animation-delay: -5s;
}

.bar {
    position: absolute;
    width: 4px;
    height: 100%;
    background-color: #dc3545;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.bar:nth-child(1) {
    transform: rotate(0deg);
}

.bar:nth-child(2) {
    transform: rotate(120deg);
}

.bar:nth-child(3) {
    transform: rotate(240deg);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.about-section {
    font-family: 'Segoe UI', sans-serif;
}

/* nền kem */
.about-intro,
.about-mission {
    background-color: #fff6ec;
    padding: 60px 0;
}

.section-heading {
    font-weight: 700;
    color: #2f3b73;
    margin-bottom: 25px;
}

.about-text {
    max-width: 900px;
    margin: 0 auto 15px;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

/* ===== Cam kết ===== */
.about-commitment {
    background-color: #ffffff;
    padding-bottom: 0;
}

/* Tiêu đề */
.commitment-title h2 {
    background-color: #2f3b73;
    color: #fff;
    text-align: center;
    padding: 25px 0;
}

.about-banner {
    width: 100%;
    overflow: hidden;
}

.about-banner img {
    width: 100%;
    height: auto;
    display: block;
    /* xoá khoảng trắng thừa */
    object-fit: cover;
    /* giữ tỉ lệ, không méo */
}


.mission-bg {
    background-color: #ffffff;
    width: 100%;
    padding: 60px 0;
    /* khoảng trắng trên dưới */
}

.mission-box {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 30px;
}



/* NỀN VÀNG SAU 4 CAM KẾT */
.commitment-bg {
    background-color: #fff4dc;
    /* vàng nhạt như hình */
    padding: 50px 0 60px;
}

/* Card */
.commitment-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 8px;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Icon */
.commitment-icon {
    width: 100px;
    margin-bottom: 15px;
}

/* Tiêu đề card */
.about-commitment h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #2f3b73;
}

/* MÔ TẢ – XANH DƯƠNG ĐẬM */
.about-commitment p {
    font-size: 14px;
    color: #2f3b73;
    line-height: 1.6;
}

/* ===== Footer ===== */
.site-footer {
    background-color: #2f3b73;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-logo {
    max-width: 160px;
}

.site-footer h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

.site-footer p,
.site-footer li {
    font-size: 14px;
    color: #e0e0e0;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    color: #ccc;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}
html {
    scroll-behavior: smooth;
}
/* Styling cho Login Box (Ảnh 4) */
.login-box {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    background: #fff;
}

.login-tabs-group {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.btn-tab {
    padding: 12px 15px;
    border: none !important;
    background-color: #f8f9fa;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 0;
}

.btn-tab.active {
    background-color: #fff;
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 10px !important;
    position: relative;
    z-index: 1; /* Đảm bảo active tab nổi lên */
}

.form-control {
    border-radius: 10px; 
    padding: 10px;
}

.btn-custom-submit {
    background-color: #4B6CB7; /* Màu xanh đậm */
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 1.1em;
    color: white;
    font-weight: bold;
}
/* Styling cho Profile Page (Ảnh 2) */
.profile-page-container {
    padding-top: 30px;
    padding-bottom: 30px;
}

.sidebar-nav {
    border-radius: 15px !important;
    background-color: #fcfcfc;
}

.bg-light-orange-user {
    background-color: #fff9f0; /* Màu nền nhẹ của Sidebar */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.sidebar-nav .list-group-item {
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.1em;
}

.sidebar-nav .list-group-item.active {
    background-color: #f0f0f0; /* Màu nền cho mục active */
    font-weight: bold;
    color: #4B6CB7;
    border-left: 3px solid #f99d25; /* Đường viền cam bên trái */
}

.profile-card {
    border-radius: 15px !important;
}

.profile-card .card-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.profile-card .form-control {
    background-color: #f7f7f7; /* Màu nền xám cho các input readonly */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
}

/* Highlight cho trường khẩn cấp */
.highlight-field-profile input {
    background-color: #fff8e1 !important; /* Màu nền vàng nhạt */
    border-color: #ffb300 !important; /* Viền màu cam */
}

.btn-update-profile {
    background-color: #ffb300; /* Màu cam đậm */
    color: white;
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 10px;
    border: none;
}

.btn-light-edit {
    background-color: #e9ecef;
    border-radius: 50%;
    width: 35px;
    height: 35px;
}