/* Global Popup — Centered Popup styles */

#gp-centered-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 15, 20, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    padding: 20px;
    box-sizing: border-box;
}

#gp-centered-overlay.gp-cp-visible {
    opacity: 1;
    visibility: visible;
}

#gp-centered-popup {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 36px 32px 32px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 24px 64px rgba(0,0,0,.22);
    transform: translateY(16px) scale(.97);
    transition: transform .3s cubic-bezier(.22,1,.36,1);
    box-sizing: border-box;
}

#gp-centered-overlay.gp-cp-visible #gp-centered-popup {
    transform: translateY(0) scale(1);
}

/* Close button */
.gp-cp-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #374151;
    transition: background .2s;
    line-height: 1;
}
.gp-cp-close:hover {
    background: #f3f4f6;
}

/* Image */
.gp-cp-image {
    margin-bottom: 20px;
}

/* Image size: icon (default) */
.gp-img-icon .gp-cp-image img {
    max-width: 36px;
    height: auto;
    display: block;
}

/* Image size: full */
.gp-img-full .gp-cp-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Title */
.gp-cp-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
    line-height: 1.3;
    padding-right: 32px;
}

/* Body */
.gp-cp-body {
    font-size: 14px;
    color: #000;
    line-height: 1.65;
    margin: 0 0 32px;
}
.gp-cp-body p { margin: 0 0 8px; }
.gp-cp-body a { text-decoration: underline; }

/* Buttons */
.gp-cp-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.gp-cp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 18px;
    line-height: 27px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    color: #fff;
    transition: background-color .2s;
}
.gp-cp-btn:hover {
    opacity: 1;
    transform: unset;
    color: #fff;
    text-decoration: none;
}

.gp-cp-btn.gp-cp-btn--1 {
    background-color: #011937;
}
.gp-cp-btn.gp-cp-btn--1:hover {
    background-color: #022a54;
}
.gp-cp-btn.gp-cp-btn--2 {
    background-color: #FF5F00;
}
.gp-cp-btn.gp-cp-btn--2:hover {
    background-color: #d85000;
}

/* Text centered option */
#gp-centered-popup.gp-centered-text .gp-cp-title {
    text-align: center;
}
#gp-centered-popup.gp-centered-text .gp-cp-body {
    text-align: center;
}
#gp-centered-popup.gp-centered-text .gp-cp-buttons {
    justify-content: center;
}

@media (max-width: 520px) {
    #gp-centered-popup {
        padding: 28px 20px 24px;
    }
    .gp-cp-buttons { flex-direction: column; }
    .gp-cp-btn { width: 100%; justify-content: center; }
}

.gp-cp-btn {
    padding: 12px 20px;
    color: #fff;
    font-size: 18px;
    line-height: 27px;
}
.gp-cp-btn.gp-cp-btn--1 {
    background-color: #011937;
}
.gp-cp-btn.gp-cp-btn--2 {
    background-color: #FF5F00;
}
.gp-cp-body {
    font-size: 14px;
    color: #000;
    margin: 0 0 32px;
}
.gp-cp-close {
    background: transparent;
}
.gp-cp-btn:hover {
    opacity: 1;
    transform: unset;
    color: #fff;
}
.gp-cp-btn.gp-cp-btn--2:hover {
    background-color: #d85000;
}
.gp-centered-text .gp-cp-title {
    text-align: center;
}
.gp-centered-text .gp-cp-body {
    text-align: center;
}
.gp-centered-text .gp-cp-buttons {
    justify-content: center;
}
.gp-img-icon .gp-cp-image img {
    width: 36px;
}

.gp-img-full .gp-cp-image {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1;
}
.gp-img-full .gp-cp-close {
    z-index: 2;
}
.gp-img-full {
    height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
