/* Gracelist SSO Elementor Widgets */

/* Base Button Styles */
.gracelist-sso-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    line-height: 1;
    position: relative;
    overflow: hidden;
}

/* Button Content Wrapper */
.gracelist-sso-button .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Icon Styles */
.gracelist-sso-button .elementor-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
}

/* Text Styles */
.gracelist-sso-button .elementor-button-text {
    line-height: 1;
    transition: all 0.3s ease;
}

/* Hover Effects */
.gracelist-sso-button:hover {
    text-decoration: none;
}

/* Loading State */
.gracelist-sso-button.loading {
    pointer-events: none;
    opacity: 0.8;
}

.gracelist-sso-button.loading:after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: gracelist-sso-spin 1s ease-in-out infinite;
}

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

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .gracelist-sso-button {
        padding: 8px 16px;
    }
}

@media (max-width: 767px) {
    .gracelist-sso-button {
        width: 100%;
        margin-bottom: 10px;
    }
}
