/* --- REGISTRATION GUIDANCE --- */
.premium-input-label {
    display: block;
    color: #a78bfa;
    /* accent */
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
    margin-left: 4px;
    letter-spacing: 0.5px;
    animation: fadeIn 0.4s ease;
}

.premium-input-helper {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
    margin-left: 4px;
    margin-bottom: 24px;
    line-height: 1.4;
    animation: fadeIn 0.5s ease;
}

/* Auth Toggle */
.auth-toggle-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
    position: relative;
    display: flex;
    height: 48px;
}

.auth-toggle-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    z-index: 2;
    cursor: pointer;
    transition: color 0.3s;
}

.auth-toggle-btn.active {
    color: white;
}

.auth-toggle-glider {
    position: absolute;
    top: 4px;
    left: 4px;
    height: 40px;
    width: calc(50% - 4px);
    background: var(--m-surface-2);
    /* lighter card bg */
    border-radius: 12px;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Premium Inputs */
.input-group-premium {
    position: relative;
    transition: transform 0.2s;
}

.input-icon-left {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    display: flex;
}

.input-icon-left svg {
    width: 20px;
    height: 20px;
}

.login__input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 16px 16px 48px !important;
    /* space for icon */
    color: white;
    font-size: 1rem;
    transition: all 0.2s;
}

.login__input:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: #8b5cf6;
    outline: none;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.input-highlight {
    border-color: #8b5cf6 !important;
    background: rgba(139, 92, 246, 0.1) !important;
    box-shadow: 0 0 0 1px #8b5cf6, 0 0 20px rgba(139, 92, 246, 0.2) !important;
}

/* Buttons */
.btn-premium-large {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s, filter 0.2s;
}

.btn-premium-large svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.btn-secondary-accent {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-premium-large:active {
    transform: scale(0.98);
}

/* Animation helpers */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-vibrant {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(139, 92, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
    }
}

.pulse-guide {
    animation: pulse-vibrant 2s infinite;
}

/* Tooltip helper for smart default */
.auth-tooltip-helper {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: #8b5cf6;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.5s ease-out;
    z-index: 100;
}

.auth-tooltip-helper::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #8b5cf6;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}