/**
 * HireWrap Social Authentication Styles
 * Circular icon buttons with brand colors
 */

/* Social Auth Container */
.hirewrap-social-auth {
    margin: 15px 0;
    text-align: center;
}

/* Custom text above buttons */
.hirewrap-social-auth-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    text-align: center;
}

/* Buttons Container - Horizontal Layout */
.hirewrap-social-auth-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

/* Circular Icon Button - Generic for all providers */
.hirewrap-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #dadce0;
    background: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 0;
}

.hirewrap-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    background: #f8f9fa;
}

.hirewrap-social-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Provider Icon - Generic for all providers */
.hirewrap-social-btn .provider-icon {
    width: 24px;
    height: 24px;
    display: block;
}

/* Hide text labels (icon only) */
.hirewrap-social-btn .provider-name {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hirewrap-social-btn {
        width: 44px;
        height: 44px;
    }

    .hirewrap-social-btn .provider-icon {
        width: 22px;
        height: 22px;
    }
}

/* Loading state */
.hirewrap-social-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}

.hirewrap-social-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.6s linear infinite;
}

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

/* Error messages */
.hirewrap-social-auth-error {
    padding: 12px;
    margin: 10px 0;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 4px;
    color: #c33;
    font-size: 14px;
    text-align: center;
}
