/* Core Wrapper */
.gpsb-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    position: relative;
}

/* Base Button Setup */
.gpsb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none !important;
    padding: 12px 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #ffffff;
}

.gpsb-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.gpsb-text { color: #333; font-size: 15px; line-height: 1.4; }
.gpsb-text strong { font-weight: 700; color: #000; }

/* Style 1 */
.gpsb-style-style-1 { border: 1px solid #e0e0e0; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.gpsb-style-style-1 .gpsb-text strong { color: #1a73e8; }
.gpsb-style-style-1 .gpsb-badge-red { background-color: #d93025; color: white; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; }

/* Style 2 */
.gpsb-style-style-2 { border: 1px solid #dcdcdc; border-radius: 4px; padding: 10px 20px; }
.gpsb-style-style-2 .gpsb-text { font-size: 14px; font-weight: 500; }

/* Style 3 */
.gpsb-style-style-3 { border: 2px solid #e0e0e0; border-radius: 50px; }
.gpsb-style-style-3:hover { border-color: #1a73e8; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(26,115,232,0.1); }

/* --- NEW FLOATING & STICKY STYLES --- */
.gpsb-fixed-layout {
    position: fixed;
    z-index: 99999;
    margin: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gpsb-floating-left { bottom: 20px; left: 20px; }
.gpsb-floating-right { bottom: 20px; right: 20px; }

.gpsb-sticky-top {
    top: 0; left: 0; width: 100%;
    background: #fff;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid #e0e0e0;
}

.gpsb-sticky-bottom {
    bottom: 0; left: 0; width: 100%;
    background: #fff;
    padding: 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    border-top: 1px solid #e0e0e0;
}

/* Close Button */
.gpsb-close-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #999;
}
.gpsb-close-btn:hover { color: #333; }

/* In Floating widgets, move close button slightly outside */
.gpsb-floating-left .gpsb-close-btn, .gpsb-floating-right .gpsb-close-btn {
    top: -10px; right: -10px;
    background: #fff; border-radius: 50%; border: 1px solid #ddd;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
