/**
 * PIONEER - Biometric Authentication Styles
 * Face ID / Touch ID / Fingerprint UI
 */

/* ============================================================================
   Biometric Setup Button
   ============================================================================ */

.biometric-setup-btn {
    width: 100%;
    height: 48px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(200, 160, 60, 0.15);
    border: 1px solid rgba(200, 160, 60, 0.4);
    border-radius: 12px;
    color: #c8a03c;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.biometric-setup-btn:hover {
    background: rgba(200, 160, 60, 0.25);
    border-color: rgba(200, 160, 60, 0.6);
}

.biometric-setup-btn:active {
    transform: scale(0.98);
}

.biometric-setup-btn svg {
    flex-shrink: 0;
}

/* ============================================================================
   Biometric Unlock Button (Prominent)
   ============================================================================ */

.biometric-unlock-btn {
    width: 100%;
    height: 56px;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(200, 160, 60, 0.3) 0%, rgba(200, 160, 60, 0.3) 100%);
    border: 2px solid rgba(200, 160, 60, 0.6);
    border-radius: 16px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(200, 160, 60, 0.2);
    position: relative;
    overflow: hidden;
}

.biometric-unlock-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.biometric-unlock-btn:hover::before {
    left: 100%;
}

.biometric-unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(200, 160, 60, 0.3);
    border-color: rgba(200, 160, 60, 0.8);
}

.biometric-unlock-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(200, 160, 60, 0.2);
}

.biometric-unlock-btn svg {
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* ============================================================================
   Mobile Optimizations
   ============================================================================ */

@media (max-width: 600px) {
    .biometric-setup-btn {
        height: 52px;
        font-size: 0.9rem;
    }

    .biometric-unlock-btn {
        height: 60px;
        font-size: 1.05rem;
        border-radius: 20px;
    }

    .biometric-unlock-btn svg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================================================
   Login Form Adjustments
   ============================================================================ */

.login-form {
    position: relative;
}

/* Space for biometric button */
.login-form button[type="submit"] {
    margin-bottom: 0.5rem;
}

/* Divider between login and biometric */
.biometric-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.biometric-divider::before,
.biometric-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}
