/* 
 * Styles for Woo Google Quick Login Modal Popup & Form Buttons
 * Styled carefully using soft transitions and a luxurious minimalist feel.
 */

#woo-glogin-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.woo-glogin-modal {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 420px;
    position: relative;
    padding: 36px 32px;
    box-sizing: border-box;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

#woo-glogin-popup-overlay.woo-glogin-active .woo-glogin-modal {
    transform: scale(1);
    opacity: 1;
}

.woo-glogin-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #f1f5f9;
    border: none;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.20s ease, color 0.10s ease;
    padding: 0;
}

.woo-glogin-close-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.woo-glogin-logo-wrapper {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 50%;
    width: 72px;
    height: 72px;
    border: 1px solid #e2e8f0;
}

.woo-glogin-logo-g {
    display: block;
}

.woo-glogin-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.woo-glogin-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 28px 0;
    line-height: 1.5;
}

.woo-glogin-body {
    margin-bottom: 24px;
}

.woo-glogin-gis-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.woo-glogin-custom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 280px;
    background: #ffffff;
    border: 1px solid #dadce0;
    color: #3c4043;
    font-size: 14px;
    font-weight: 500;
    padding: 11px 16px;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    outline: none;
    box-sizing: border-box;
}

.woo-glogin-custom-btn:hover {
    background: #f8f9fa;
    border-color: #d2e3fc;
}

.woo-glogin-custom-btn:active {
    background: #f1f3f4;
}

/* Spinner Styles */
.woo-glogin-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 10px 0;
}

.woo-glogin-loader {
    border: 3px solid #e2e8f0;
    border-top: 3px solid #22c55e;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    animation: wooGloginSpin 1s linear infinite;
    display: inline-block;
    box-sizing: border-box;
}

.woo-glogin-spinner p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

@keyframes wooGloginSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.woo-glogin-footer {
    display: flex;
    justify-content: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.woo-glogin-guest-btn {
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}

.woo-glogin-guest-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* 
 * WooCommerce Active Hook Custom Form Integrations
 */
.woo-glogin-inline-container {
    margin: 24px auto;
    text-align: center;
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
    display: block;
}

.woo-glogin-or-separator {
    margin: 20px 0;
    display: flex;
    align-items: center;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.woo-glogin-or-separator::before,
.woo-glogin-or-separator::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.woo-glogin-or-separator::before {
    margin-right: 14px;
}

.woo-glogin-or-separator::after {
    margin-left: 14px;
}

.woo-glogin-inline-gis-rendered {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    max-width: 280px;
}
