/* ====================================
   SAID Google Login — Button Styles
   setelananak.id
   ==================================== */

.said-gl-wrap {
    margin: 0 0 20px;
    font-family: 'Jost', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.said-gl-wrap--checkout {
    background: rgba(250, 249, 247, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(220, 214, 205, 0.5);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 28px;
}

/* === Tombol Google === */
.said-gl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(
        135deg,
        rgba(240, 236, 229, 0.72) 0%,
        rgba(220, 215, 206, 0.62) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(180, 172, 158, 0.38);
    border-radius: 6px;
    box-shadow:
        0 2px 12px rgba(160, 152, 136, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    color: #111111 !important;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.22s ease;
    box-sizing: border-box;
}

.said-gl-btn span {
    color: #111111 !important;
    transition: color 0.22s ease;
}

.said-gl-btn:hover {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    text-decoration: none;
}

.said-gl-btn:hover span {
    color: #ffffff !important;
}

.said-gl-btn:focus {
    outline: 2px solid rgba(138, 117, 85, 0.5);
    outline-offset: 2px;
}

.said-gl-btn:active {
    transform: translateY(0);
}

.said-gl-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* === Divider === */
.said-gl-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: #c5bfb5;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.said-gl-divider::before,
.said-gl-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8e4df;
}

/* === Checkout context === */
.said-gl-wrap--checkout .said-gl-btn {
    background: linear-gradient(
        135deg,
        rgba(245, 242, 238, 0.8) 0%,
        rgba(230, 225, 218, 0.7) 100%
    );
}

/* === Dark theme support === */
@media (prefers-color-scheme: dark) {
    .said-gl-btn {
        background: linear-gradient(
            135deg,
            rgba(50, 47, 42, 0.75) 0%,
            rgba(38, 36, 32, 0.8) 100%
        );
        border-color: rgba(100, 92, 80, 0.4);
        color: #d8d0c4;
        box-shadow:
            0 2px 12px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }
    .said-gl-btn:hover {
        background: linear-gradient(
            135deg,
            rgba(65, 60, 52, 0.85) 0%,
            rgba(48, 45, 40, 0.88) 100%
        );
        color: #f0ece5;
        border-color: rgba(138, 117, 85, 0.5);
    }
    .said-gl-divider {
        color: #444038;
    }
    .said-gl-divider::before,
    .said-gl-divider::after {
        background: #2e2c28;
    }
}
