.or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 15px 0;
    opacity: 50%;
}
.or-divider::before, .or-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ccc;
}


@media (max-width: 576px) {
    .step-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .instruction-card{
        padding: 20px !important;
    }
    .step-number {
        font-size: 1rem;
    }
}
:root {
    --primary: #1047c6;
    --primary-rgb: 16, 71, 198;
    --background-light: #f6f6f8;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-900: #0f172a;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-light);
    color: var(--slate-900);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

.container-xl {
    max-width: 1280px;
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (max-width: 768px) {
    .container-xl {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

.navbar {
    background-color: white;
    border-bottom: 1px solid var(--slate-200);
    padding: 0.75rem 0;
    min-height: 64px;
}

.display-title {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--slate-900);
}

@media (max-width: 576px) {
    .display-title {
        font-size: 2rem;
    }
}

.hero-lead {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--slate-600);
    max-width: 48rem;
}

.instruction-card {
    background-color: #dfe7f6;
    border: none;
    border-radius: 1rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.icon-box-primary {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    border-radius: 0.75rem;
    position: relative;
    z-index: 10;
}

.step-item {
    background: white;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary);
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    position: relative;
    z-index: 10;
    cursor: default;
}

.step-number {
    flex-shrink: 0;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.875rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background-color: transparent;
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    background-color: var(--primary);
    color: white !important;
}

.alert-orange {
    background-color: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

.alert-orange .icon-circle {
    width: 2rem;
    height: 2rem;
    background-color: #ffedd5;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ea580c;
    border-color: transparent;
}

.support-banner {
    position: relative;
    min-height: 12rem;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
    color: white;
    background: linear-gradient(135deg, #1047c6 0%, #3b82f6 100%);
}

.support-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.1) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.5;
}

.login-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.login-card-header {
    padding: 2rem 2rem 1rem;
}

.login-card-body {
    padding: 1rem 2rem 2.5rem;
}

.form-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--slate-700);
    margin-bottom: 0.5rem;
}

.form-control {
    background-color: var(--slate-50);
    border: 2px solid var(--slate-300);
    padding: calc(0.75rem - 1px) calc(1rem - 1px);
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    box-shadow: none !important;
}

.form-control:focus {
    background-color: white;
    border-color: var(--primary);
    box-shadow: none !important;
    outline: none;
}

.input-group-custom {
    position: relative;
}

.input-group-custom .material-symbols-outlined {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-400);
    font-size: 1.25rem;
    pointer-events: auto !important;
}
.input-group-custom .material-symbols-outlined.toggle-password {
    right: 15px !important;
    left: unset;
}
.was-validated .form-control:invalid, .form-control.is-invalid{
    background-position: right calc(2.375em + 0.1875rem) center !important;
}

.input-group-custom .form-control {
    padding-left: 2.75rem;
}

.captcha-box {
    background-color: var(--slate-50);
    padding: 1.25rem;
    border-radius: 0.75rem;
}

.captcha-code-container {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--slate-200);
    font-weight: 700;
    letter-spacing: 0.1em;
    font-style: italic;
    color: var(--slate-600);
}

.btn-primary {
    background-color: var(--primary) !important;
    border: none;
    font-weight: 600;
    padding: 0.875rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    box-shadow: none !important;
}

.btn-primary:hover {
    background-color: #0d399e !important;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--primary);
    border: 2.5px solid var(--primary);
    font-weight: 600;
    padding: 0.875rem;
    border-radius: 0.5rem;
    background: transparent;
    transition: all 0.2s;
    box-shadow: none !important;
}

.btn-outline-primary:hover, .btn-outline-primary:focus-visible {
    background-color: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    border-color: var(--primary);
    outline: none;
}

.divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--slate-200);
}

.divider span {
    position: relative;
    z-index: 2;
    background: white;
    padding: 0 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--slate-400);
}

.security-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--slate-400);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

footer {
    background: white;
    border-top: 1px solid var(--slate-100);
    padding: 2rem 0;
    margin-top: auto;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-700);
}

.nav-link:hover {
    color: var(--primary);
}

.btn-help {
    background-color: #eff6ff;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    border: none;
    white-space: nowrap;
}

.text-primary-custom { color: var(--primary); }
@media (max-width: 576px) {
    .app-name.truncate {
        display: inline-block;
        max-width: 219px;
        font-size: 15px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: bottom;
    }
    .btn-help{
        display: none;
    }
}
.sticky-login{
    position: sticky;
    top: 20px;
    align-self: flex-start;
}
.forgot-password li{
    line-height: 25px;
}