body {
    font-family: 'Inter', sans-serif !important;
}
.logo-mobile{
    display: none !important;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.font-medium {
    font-weight: 200 !important;
}

.font-bold {
    font-weight: 500 !important;
}

/* Custom primary color */
.text-primary {
    color: #E23645 !important;
}

.bg-primary {
    background-color: #E23645 !important;
}

.bg-primary:hover {
    background-color: #C72D3D !important;
}

/* Form input styling */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.375rem;
    margin-left: 0.25rem;
}

.form-group input.form-control {
    width: 100%;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    padding: 0.75rem;
    transition: all 0.2s;
}

.form-group input.form-control::placeholder {
    color: #9ca3af;
}

.form-group input.form-control:focus {
    outline: none;
    background-color: #fff;
    border-color: #f87171;
    box-shadow: 0 0 0 1px #f87171;
}

.form-group.has-error input.form-control {
    border-color: #dc2626;
}

.form-group.has-error .help-block {
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Captcha styling */
.captcha-wrapper {
    display: flex;
    gap: 0.75rem;
}

.captcha-wrapper input.form-control {
    flex: 1;
}

.captcha-wrapper img {
    height: 48px;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.captcha-wrapper img:hover {
    transform: scale(1.02);
}

/* Alert styling */
.alert-modern {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.alert-danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Submit button */
.btn-login {
    width: 100%;
    color: #fff;
    background-color: #E23645;
    font-weight: 500;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    padding: 0.875rem 1.25rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-login:hover {
    background-color: #C72D3D;
}

.btn-login:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(226, 54, 69, 0.3);
}

/* Modal Warning */
.modern-modal {
    border-radius: 1rem;
    border: none;
    overflow: hidden;
}

.modern-modal-header {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
    border: none;
}

.modal-warning-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    display: block;
    animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.modern-modal-header .modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.warning-content {
    background: #fef2f2;
    padding: 1rem;
    border-radius: 0.75rem;
    border-left: 4px solid #dc2626;
    margin-bottom: 1rem;
}

.warning-content p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.875rem;
}

.warning-content strong {
    color: #dc2626;
    font-weight: 700;
}

.checkbox-wrapper {
    text-align: center;
}

.modern-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #dc2626;
}

.modern-checkbox input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.625rem;
    cursor: pointer;
}

.modern-modal-footer {
    padding: 1rem 1.5rem 1.5rem;
    border: none;
    text-align: center;
}

.btn-modern-primary {
    padding: 0.75rem 2.5rem;
    background: linear-gradient(135deg, #E23645 0%, #C72D3D 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(226, 54, 69, 0.4);
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 54, 69, 0.6);
}

.btn-modern-primary i {
    margin-right: 0.5rem;
}

/* Transparent container - Glass morphism effect */
.login-container {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.login-left-panel {
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.login-right-panel {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* Override input background for transparency */
.form-group input.form-control,
.login-right-panel input {
    background-color: rgba(249, 250, 251, 0.7) !important;
}

.form-group input.form-control:focus,
.login-right-panel input:focus {
    background-color: rgba(255, 255, 255, 0.9) !important;
}
/* Tùy chỉnh Icon khóa và dấu check */
.lock-icon-container {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: #f0f0f5;
    border-radius: 50%;
}

.lock-icon-container::before {
    content: '🔒';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

.lock-icon-container::after {
    content: '✓';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background-color: #28a745;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
    border: 2px solid white;
    text-align: center;
}
.bg-custom{
    background: rgba(255, 255, 255, 0.65) !important
}
.auth-container {
    margin: 50px auto;
    background: #fff;
    padding: 40px 30px; /* Tăng padding để trông đẹp hơn */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.logo-center {
    text-align: center;
    margin-bottom: 25px;
}
.content-body {
    /* Đã được căn chỉnh thông qua các class con */
}
.pt-20-center {
    text-align: center;
    padding-top: 20px;
}
.icon-email {
    font-size: 3.5em;
}
.text-success {
    color: #28a745;
}
.heading-success {
    font-size: 22px;
    font-weight: bold;
    margin: 15px 0 20px 0;
    color: #28a745;
}
.text-description {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 25px;
}
.btn-primary-flat {
    display: inline-block;
    padding: 10px 25px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    font-weight: 500;
    transition: background-color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary-flat:hover {
    background-color: #0056b3;
}
.auth-container {
    width: 360px;
    margin: 50px auto;
    background: #fff;
    padding: 40px 30px; /* Padding card */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.logo-center {
    text-align: center;
    margin-bottom: 25px;
}
.pt-20-center {
    text-align: center;
    padding-top: 20px;
}
.icon-email {
    font-size: 3.5em;
}
.text-warning-orange {
    color: #ff9900;
}
.heading-warning {
    font-size: 22px;
    font-weight: bold;
    margin: 15px 0 20px 0;
    color: #ff9900;
}
.text-description {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 25px;
}
@media screen and (max-width: 768px) {
    .logo-mobile{
        display: block !important;
    }
}