/* Auth modal styles - copied from octal */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.auth-modal-content {
    position: relative;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 24px;
    background: radial-gradient(51.74% 91.99% at 48.26% 50%, #34373E 0%, #1A212B 0.01%, #0E111A 100%);
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
}

.auth-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-right: 40px;
    color: #FFFFFF;
    font-family: 'TT Travels Trl', 'Manrope', sans-serif;
}

.auth-description {
    font-size: 16px;
    margin-bottom: 32px;
    color: #FFE9E3;
    font-family: 'Helvetica', sans-serif;
    line-height: 1.5;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-input-group {
    position: relative;
}

.auth-input {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    background: #101010;
    border: 1px solid #282828;
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Manrope', 'Helvetica', sans-serif;
    font-size: 15px;
    transition: all 0.2s ease;
}

.auth-input:focus {
    outline: none;
    border-color: #ffffff;
}

.auth-input::placeholder {
    color: #8A8A8A;
}

.auth-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8A8A8A;
}

.auth-input.with-icon {
    padding-left: 48px;
}

.auth-input.with-eye {
    padding-right: 48px;
}

.auth-eye-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #8A8A8A;
    transition: color 0.2s ease;
}

.auth-eye-btn:hover {
    color: #ffffff;
}

.auth-button-primary {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    background: #FFFFFF;
    color: #1A212B;
    font-family: 'Manrope', 'Helvetica', sans-serif;
    font-weight: 500;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-button-primary:hover {
    background: #F0F0F0;
}

.auth-button-secondary {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid #2A313E;
    color: #FFFFFF;
    font-family: 'Manrope', 'Helvetica', sans-serif;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-button-secondary:hover {
    background: #2B3341;
    border-color: #3A4655;
}

.auth-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    margin-top: 16px;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #FFE9E3;
}

.auth-error {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 4px;
    font-family: 'Helvetica', sans-serif;
}

.auth-step-indicator {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.auth-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2A313E;
    transition: all 0.2s ease;
}

.auth-step-dot.active {
    background: #FFFFFF;
}

@media (max-width: 480px) {
    .auth-modal-content {
        margin: 16px;
        padding: 24px;
        max-width: calc(100vw - 32px);
    }
    
    .auth-title {
        font-size: 24px;
        margin-bottom: 12px;
        padding-right: 32px;
    }
    
    .auth-description {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .auth-form {
        gap: 12px;
    }
    
    .auth-input {
        height: 44px;
        font-size: 14px;
    }
    
    .auth-button-primary,
    .auth-button-secondary {
        height: 44px;
        font-size: 14px;
    }
    
    .auth-close-btn {
        top: 12px;
        right: 12px;
        padding: 6px;
    }
}

@media (max-width: 320px) {
    .auth-modal-content {
        margin: 8px;
        padding: 20px;
    }
    
    .auth-title {
        font-size: 22px;
        padding-right: 28px;
    }
    
    .auth-description {
        font-size: 13px;
    }
}
