/* Google Login Button Styles - The Iris Arcade */

/* ── Google wrapper ── */
.tiris-google-login-wrapper {
    margin-bottom: 10px;
    display: block;
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 1;
}

/* Ensure button is always visible */
.tiris-google-btn,
.tiris-google-btn:link,
.tiris-google-btn:visited {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
}

.tiris-google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 24px;
    background: #ffffff !important;
    border: 1px solid #dadce0 !important;
    border-radius: 4px;
    color: #3c4043 !important;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    box-sizing: border-box;
    min-height: 48px;
}

.tiris-google-btn span {
    color: #3c4043 !important;
    font-weight: 500;
}

.tiris-google-btn:hover {
    background: #f8f9fa !important;
    border-color: #d2d4d7 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tiris-google-btn:active {
    background: #f1f3f4 !important;
}

.tiris-google-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* ── Social row container (stacked, full-width) ── */
.tiris-social-row {
    display: block;
    margin-bottom: 0;
}

.tiris-social-row .tiris-google-login-wrapper,
.tiris-social-row .tiris-fb-login-wrapper {
    display: block;
    margin-bottom: 10px;
}

/* ── OR divider — appears after both buttons ── */
.tiris-social-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 16px 0 20px;
    color: #5f6368;
    font-size: 12px;
}

.tiris-social-divider::before,
.tiris-social-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dadce0;
}

.tiris-social-divider span {
    padding: 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hide the old per-button divider — the shared one below the row is used instead */
.tiris-divider {
    display: none;
}

/* Error / success messages */
.tiris-google-error {
    background: #fce8e8;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
}

.tiris-google-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* Responsive */
@media screen and (max-width: 480px) {
    .tiris-google-btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .tiris-google-icon {
        width: 20px;
        height: 20px;
    }
}
