/* 
 * Modern Auth Buttons Styles
 * Path: /wp-content/themes/your-child-theme/css/modern-auth-buttons.css
 */

 .modern-auth-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    padding: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.auth-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 0;
    width: 50%;
}

.button-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.icon-wrapper {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.auth-button:hover .icon-ripple {
    transform: scale(2);
}

.button-text {
    position: relative;
    transition: transform 0.3s ease;
}

.external-icon {
    font-size: 12px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.auth-button:hover .external-icon {
    opacity: 1;
    transform: translateX(0);
}

.hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.auth-button:hover .hover-effect {
    opacity: 1;
}

/* Login Button Specific Styles */
.login-button {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 153, 225, 0.2);
}

/* Register Button Specific Styles */
.register-button {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.register-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.2);
}

/* Responsive Design */
@media (max-width: 480px) {
    .modern-auth-buttons {
        flex-direction: column;
        width: 100%;
        gap: 16px;
        padding: 20px 10px;
    }

    .auth-button {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
    
    .button-content {
        justify-content: center;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .auth-button {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

/* Loading Animation */
.auth-button.loading {
    pointer-events: none;
    opacity: 0.8;
}

.auth-button.loading .button-content {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Focus States for Accessibility */
.auth-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.4);
}

.auth-button:focus:not(:focus-visible) {
    box-shadow: none;
}

.auth-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.4);
}