#sg-consent-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 550px;
    background: #ffffff;
    /* Clean white base */
    border: 3px solid #228FD8;
    /* Brand blue border */
    border-radius: 24px;
    /* Slightly less rounded to match site feel */
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 999999;
    font-family: "Outfit", "Inter", -apple-system, sans-serif;
    /* Modern, rounded-ish font */
    display: none;
    color: #2c3e50;
    /* Deep navy/grey for text */
    line-height: 1.6;
}

#sg-consent-banner h3 {
    margin: 0 0 12px 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: #228FD8;
    /* Primary brand blue */
}

#sg-consent-banner p {
    font-size: 1rem;
    margin-bottom: 25px;
    color: #5d6d7e;
}

#sg-consent-banner .sg-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
}

#sg-consent-banner .sg-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

#sg-consent-banner .sg-btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: #1d1d1f;
}

#sg-consent-banner .sg-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
}

#sg-consent-banner .sg-btn-primary {
    background: #228FD8;
    /* Brand blue */
    color: white;
    box-shadow: 0 4px 14px rgba(34, 143, 216, 0.3);
}

#sg-consent-banner .sg-btn-primary:hover {
    background: #1E73BE;
    /* Darker blue for hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 115, 190, 0.4);
}

/* Layer 2: Customization */
#sg-details {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.sg-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sg-option label {
    font-weight: 600;
    font-size: 0.9rem;
}

.sg-option span {
    font-size: 0.8rem;
    opacity: 0.6;
    display: block;
}

/* Toggle Switch Styling */
.sg-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.sg-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sg-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.sg-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.sg-slider {
    background-color: #228FD8;
    /* Match branding */
}

input:checked+.sg-slider:before {
    transform: translateX(20px);
}

input:disabled+.sg-slider {
    background-color: #eee;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    #sg-consent-banner {
        bottom: 10px;
        width: 95%;
        padding: 20px;
    }

    #sg-consent-banner .sg-actions {
        flex-direction: column;
        width: 100%;
    }

    #sg-consent-banner .sg-btn {
        width: 100%;
    }
}