/* assets/css/auth_style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --auth-bg-dark: #111D5E;
    /* Original site secondary background */
    --glass-white: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-primary: #8200E9;
    --accent-gradient: linear-gradient(96.11deg, #8200E9 1.74%, #4200E5 100%);
    --accent-blue: #3a7bd5;
}

.auth-body {
    background-color: var(--auth-bg-dark);
    min-height: 100vh;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    overflow-x: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background Shapes removed as requested */


.auth-container {
    padding: 40px 20px;
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 50px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    animation: fadeInCard 1s ease-out;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.5s;
    pointer-events: none;
}

.glass-card:hover::before {
    left: 100%;
    transition: 0.7s;
}

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo img {
    max-width: 130px;
    filter: drop-shadow(0 0 15px rgba(229, 195, 132, 0.2));
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
    letter-spacing: -0.5px;
}

.auth-title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-group-custom {
    margin-bottom: 25px;
    position: relative;
}

.form-group-custom label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-custom {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    height: 54px;
    /* Slightly reduced height for better refinement */
    padding: 0 20px;
    color: #fff;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
}

.input-custom:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(130, 0, 233, 0.15);
    transform: translateY(-2px);
}

.btn-auth-primary {
    width: 100%;
    background: var(--accent-gradient);
    border: none;
    border-radius: 16px;
    padding: 18px;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 30px rgba(130, 0, 233, 0.2);
}

.btn-auth-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(130, 0, 233, 0.3);
    filter: brightness(1.1);
}

.btn-auth-secondary {
    width: 100%;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    text-align: center;
    display: block;
    text-decoration: none;
}

.btn-auth-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
    color: #fff;
}

.auth-footer-links {
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.auth-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s;
}

.auth-link:hover {
    color: var(--accent-primary);
}

/* Custom Checkbox */
.checkbox-custom-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-custom-wrap input {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: 4px;
    cursor: pointer;
    appearance: checkbox; /* Ensure it's treated as a checkbox */
    -webkit-appearance: checkbox;
    accent-color: var(--accent-primary); /* Modern way to style checkbox */
}

.checkbox-custom-wrap:hover input {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

/* Password wrapper adjustments */
.password-field-wrap {
    position: relative;
}

.password-visibility-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.3);
    font-size: 20px;
    transition: color 0.3s;
}

.password-visibility-toggle:hover {
    color: var(--accent-primary);
}

.registration-card {
    max-width: 650px;
}

.strength-meter-wrap {
    margin-top: 12px;
}

.strength-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0;
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.strength-label {
    font-size: 12px;
    margin-top: 8px;
    font-weight: 500;
}

/* Success Card */
.success-msg-box {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.success-msg-box h2 {
    color: #4CAF50;
    font-size: 20px;
    margin-bottom: 15px;
}

.credential-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 15px;
}

.credential-item strong {
    color: var(--accent-primary);
}

/* Custom Select for Signup */
.custom-select-auth {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    height: 54px;
    /* Matching input height */
    padding: 0 45px 0 20px;
    color: #fff;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font-size: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2003/svg' width='16' height='16' fill='rgba(255,255,255,0.5)' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    line-height: 54px;
    /* Vertical centering */
    margin-bottom: 7px;
}

.custom-select-auth:focus {
    border-color: var(--accent-primary);
    outline: none;
}

.custom-select-auth option {
    background: #111D5E;
    color: #fff;
}

@media (max-width: 576px) {
    .glass-card {
        padding: 30px 20px;
        border-radius: 24px;
    }

    .auth-title {
        font-size: 26px;
    }
}


.nice-select .list {
    background-color: #00000088 !important;
}