/**
 * Frontend CSS for LH2 Google SSO
 */

/* SSO Button Container - Top Right on Desktop */
#lh2-google-sso-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: none; /* Hidden by default, shown via media query */
}

/* Show on desktop only */
@media screen and (min-width: 768px) {
    #lh2-google-sso-button {
        display: block;
    }
}

/* Hide on mobile */
@media screen and (max-width: 767px) {
    #lh2-google-sso-button {
        display: none !important;
    }
}

/* SSO Button Styling */
.lh2-google-sso-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #3c4043;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.lh2-google-sso-trigger:hover {
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
    background: #f8f9fa;
}

.lh2-google-sso-trigger:active {
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    background: #f1f3f4;
}

.lh2-google-sso-trigger svg {
    flex-shrink: 0;
}

.lh2-google-sso-trigger span {
    white-space: nowrap;
}

/* Ensure button doesn't interfere with other elements */
#lh2-google-sso-button * {
    box-sizing: border-box;
}

