/**
 * Social Login Simple - Frontend Styles
 * Minimal styles for social login buttons
 */

/* Make social login elements clickable */
.social-login-google,
.social-login-facebook {
    cursor: pointer !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Loading state */
.social-login-google.sls-loading,
.social-login-facebook.sls-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

/* Optional: Loading spinner */
.sls-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: currentColor;
    animation: sls-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 5px;
}

@keyframes sls-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Disabled state for buttons */
button.social-login-google:disabled,
button.social-login-facebook:disabled,
input.social-login-google:disabled,
input.social-login-facebook:disabled {
    cursor: not-allowed !important;
}

/* Optional hover effects - you can customize these */
.social-login-google:not(.sls-loading):hover,
.social-login-facebook:not(.sls-loading):hover {
    opacity: 0.9;
}

/* Active state */
.social-login-google:not(.sls-loading):active,
.social-login-facebook:not(.sls-loading):active {
    opacity: 0.8;
}

/* Prevent text selection while clicking */
.social-login-google *,
.social-login-facebook * {
    pointer-events: none;
}