/* ========================================
   OAuth Authentication Buttons Styles
   ======================================== */

/* OAuth Buttons Container */
.oauth-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

/* Base OAuth Button Style */
.oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 24px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-height: 48px;
}

.oauth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.oauth-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Google Button Specific */
.oauth-btn-google {
    border-color: #4285F4;
}

.oauth-btn-google:hover {
    background-color: #f8f9fa;
    border-color: #4285F4;
    color: #333;
}

.oauth-btn-google svg {
    flex-shrink: 0;
    display: block;
}

/* Apple Button Specific */
.oauth-btn-apple {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.oauth-btn-apple:hover {
    background-color: #333;
    border-color: #333;
    color: #fff;
}

.oauth-btn-apple svg {
    flex-shrink: 0;
    display: block;
    margin-top: -2px;
}

.oauth-btn-apple svg path {
    fill: #fff;
}

/* OAuth Separator */
.oauth-separator {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.oauth-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ddd;
}

.oauth-separator span {
    position: relative;
    display: inline-block;
    background-color: #fff;
    padding: 0 15px;
    font-size: 13px;
    color: #666;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .oauth-btn {
        padding: 10px 20px;
        font-size: 14px;
        gap: 10px;
    }

    .oauth-btn svg {
        width: 16px;
        height: auto;
    }

    .oauth-separator {
        margin: 15px 0;
    }
}

/* Dark Mode Support (if needed) */
@media (prefers-color-scheme: dark) {
    .oauth-btn {
        background-color: #2a2a2a;
        border-color: #444;
        color: #fff;
    }

    .oauth-btn:hover {
        background-color: #333;
    }

    .oauth-separator::before {
        background-color: #444;
    }

    .oauth-separator span {
        background-color: #2a2a2a;
        color: #aaa;
    }
}

/* Loading State (optional - for future enhancements) */
.oauth-btn.loading {
    pointer-events: none;
    opacity: 0.6;
}

.oauth-btn.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: oauth-spin 0.6s linear infinite;
}

@keyframes oauth-spin {
    to {
        transform: rotate(360deg);
    }
}
