:root {
    --primary-color: #0D6EFD;
    --primary-dark: #033e96;
    --accent-color: #f0a500;
    --dark-blue: #1E205F;
    --purple: #3C215F;
    --light-gray: #e0e0e0;
    --white: #ffffff;
    --dark-gray: #6c757d;
}

body {
    background: linear-gradient(135deg, var(--dark-blue), var(--purple));
    font-family: 'DM Sans', sans-serif;
    min-height: 100vh;
}

.auth-card {
    border-radius: 12px;
    width: 100%;
}

/* Code Display Box */
.code-display-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    background-color: #fff;
    font-weight: bold;
    min-width: 85px;
    margin-left: 10px;
}

/* Password Requirements */
.password-hint {
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-top: 0.25rem;
}

/* Validation States */
.is-valid {
    border-color: #28a745 !important;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: var(--light-gray);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

/* Navigation */
.navbar {
    background: linear-gradient(to right, var(--dark-blue), var(--purple));
    padding: 1rem 0;
}

.site-logo {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: bold;
    /* text-decoration: underline;  */
}
.site-logo:hover {
    opacity: 0.9;
    color: var(--white);
}

.nav-link-main {
    color: var(--white);
    position: relative;
    padding: 0.5rem 1rem;
}
.nav-link-main:hover {
    color: var(--white);
}

.nav-btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 600;
}
.nav-btn-primary:hover {
    color: var(--white);
}
@media (max-width: 768px) {
    .navbar-collapse {
        padding-top: 1rem;
    }
    .nav-btn-primary {
        margin-top: 0.5rem;
        display: inline-block;
    }
}
/* Input Group Customization */
.input-group-text {
    min-width: 85px;
    font-weight: bold;
    justify-content: center;
}

/* Password Toggle Button */
#togglePassword {
    width: 42px; /* Fixed width for square button */
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .input-group-text {
        min-width: 70px;
        font-size: 0.9rem;
    }
}