/* FindFyre dialog chrome — pink top edge (same as claimed-spot),
   pink line-art icon, clear type, pink pill + text action.
   Red jquery-confirm types keep a red top; notification success/error
   colours on #ffnotif-dialog are left as-is. */

.jconfirm {
    font-family: "Poppins", sans-serif;
}

.jconfirm .jconfirm-bg,
.jconfirm.jconfirm-light .jconfirm-bg,
.jconfirm.jconfirm-white .jconfirm-bg {
    background: rgba(5, 7, 12, 0.72) !important;
    opacity: 1 !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.jconfirm .jconfirm-box,
.jconfirm.jconfirm-light .jconfirm-box,
.jconfirm.jconfirm-white .jconfirm-box {
    width: min(380px, calc(100vw - 40px)) !important;
    max-width: 380px !important;
    min-width: 0 !important;
    margin-left: auto;
    margin-right: auto;
    padding: 28px 24px 22px !important;
    border-radius: 22px !important;
    background: #0e1016 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-top: 3px solid #ff2f86 !important;
    color: #fff !important;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.58) !important;
    text-align: center;
    overflow: hidden;
    animation: none !important;
}

.jconfirm .jconfirm-box.jconfirm-type-blue,
.jconfirm .jconfirm-box.jconfirm-type-green,
.jconfirm .jconfirm-box.jconfirm-type-orange,
.jconfirm .jconfirm-box.jconfirm-type-purple,
.jconfirm .jconfirm-box.jconfirm-type-dark {
    border-top: 3px solid #ff2f86 !important;
    animation: none !important;
}

.jconfirm .jconfirm-box.jconfirm-type-red {
    border-top: 3px solid #ff5d73 !important;
    animation: none !important;
}

.jconfirm .jconfirm-box::before {
    content: "";
    display: block;
    width: 88px;
    height: 80px;
    margin: 0 auto 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 220' fill='none'%3E%3Ccircle cx='120' cy='118' r='78' stroke='%23FF2F86' stroke-width='8'/%3E%3Ccircle cx='92' cy='104' r='8' fill='%23FF2F86'/%3E%3Ccircle cx='148' cy='104' r='8' fill='%23FF2F86'/%3E%3Cpath d='M86 150 q34 22 68 0' stroke='%23FF2F86' stroke-width='8' stroke-linecap='round'/%3E%3Ccircle cx='188' cy='52' r='10' stroke='%23FF2F86' stroke-width='5'/%3E%3Ccircle cx='206' cy='34' r='6' stroke='%23FF2F86' stroke-width='4'/%3E%3Cpath d='M54 38 q-18 -22 8 -34' stroke='%23FF2F86' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.jconfirm .jconfirm-box.jconfirm-type-red::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 220' fill='none'%3E%3Ccircle cx='120' cy='118' r='78' stroke='%23FF2F86' stroke-width='8'/%3E%3Cpath d='M78 88 l28 28 M106 88 l-28 28' stroke='%23FF2F86' stroke-width='9' stroke-linecap='round'/%3E%3Cpath d='M134 88 l28 28 M162 88 l-28 28' stroke='%23FF2F86' stroke-width='9' stroke-linecap='round'/%3E%3Cpath d='M86 150 q34 28 68 0' stroke='%23FF2F86' stroke-width='8' stroke-linecap='round'/%3E%3Ccircle cx='188' cy='52' r='10' stroke='%23FF2F86' stroke-width='5'/%3E%3Ccircle cx='206' cy='34' r='6' stroke='%23FF2F86' stroke-width='4'/%3E%3Cpath d='M54 38 q-18 -22 8 -34' stroke='%23FF2F86' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.jconfirm .jconfirm-box div.jconfirm-title-c,
.jconfirm.jconfirm-light .jconfirm-box div.jconfirm-title-c,
.jconfirm.jconfirm-white .jconfirm-box div.jconfirm-title-c {
    display: block !important;
    padding: 0 8px 8px !important;
    margin: 0 !important;
    text-align: center;
}

.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c,
.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c:empty {
    display: none !important;
}

.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-title,
.jconfirm.jconfirm-light .jconfirm-box div.jconfirm-title-c .jconfirm-title,
.jconfirm.jconfirm-white .jconfirm-box div.jconfirm-title-c .jconfirm-title {
    display: block !important;
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    color: #fff !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.2 !important;
    white-space: normal !important;
}

.jconfirm .jconfirm-box div.jconfirm-content-pane,
.jconfirm.jconfirm-light .jconfirm-box div.jconfirm-content-pane {
    margin: 0 0 20px !important;
    height: auto !important;
    max-height: none !important;
}

.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content,
.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content p,
.jconfirm.jconfirm-light .jconfirm-box div.jconfirm-content-pane .jconfirm-content {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-align: center !important;
}

.jconfirm .jconfirm-content .form-group {
    text-align: left;
    margin: 8px 0 0;
}

.jconfirm .jconfirm-content label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.62) !important;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
}

.jconfirm .jconfirm-content input,
.jconfirm .jconfirm-content select,
.jconfirm .jconfirm-content textarea,
.jconfirm .jconfirm-content .modal-input-pass {
    width: 100%;
    box-sizing: border-box;
    margin-top: 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    outline: none;
}

.jconfirm .jconfirm-content input:focus,
.jconfirm .jconfirm-content .modal-input-pass:focus {
    border-color: #FF2F86;
}

.jconfirm .jconfirm-box .jconfirm-buttons,
.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons,
.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons {
    float: none !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 0 !important;
}

.jconfirm .jconfirm-box .jconfirm-buttons > button,
.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button,
.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 148px;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 22px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #FF2F86 !important;
    box-shadow: none !important;
    color: #fff !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-shadow: none !important;
    filter: none !important;
}

.jconfirm .jconfirm-box .jconfirm-buttons > button:hover,
.jconfirm .jconfirm-box .jconfirm-buttons button.btn-green:hover,
.jconfirm .jconfirm-box .jconfirm-buttons button.btn-red:hover,
.jconfirm .jconfirm-box .jconfirm-buttons button.btn-default:hover {
    background: #e02578 !important;
    color: #fff !important;
    filter: none !important;
}

.jconfirm .jconfirm-box .jconfirm-buttons > button:not(:first-child),
.jconfirm .jconfirm-box .jconfirm-buttons button.btn-default:not(:first-child) {
    min-width: 0;
    min-height: 40px;
    padding: 8px 12px !important;
    background: none !important;
    color: #FF2F86 !important;
    font-weight: 600 !important;
}

.jconfirm .jconfirm-box .jconfirm-buttons > button:not(:first-child):hover {
    background: none !important;
    color: #ff5aa0 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jconfirm .jconfirm-box div.jconfirm-closeIcon {
    top: 12px !important;
    right: 14px !important;
    color: rgba(255, 255, 255, 0.38) !important;
    font-size: 22px !important;
}

.jconfirm .jconfirm-box div.jconfirm-closeIcon:hover {
    color: #fff !important;
}

body.fp-light .jconfirm .jconfirm-box,
body.fp-light .jconfirm.jconfirm-light .jconfirm-box,
body.fp-light .jconfirm.jconfirm-white .jconfirm-box {
    background: #ffffff !important;
    border-color: rgba(10, 48, 73, 0.1) !important;
    border-top-color: #ff2f86 !important;
    box-shadow: 0 22px 50px rgba(10, 48, 73, 0.16) !important;
    color: #0a3049 !important;
}

body.fp-light .jconfirm .jconfirm-box.jconfirm-type-blue,
body.fp-light .jconfirm .jconfirm-box.jconfirm-type-green,
body.fp-light .jconfirm .jconfirm-box.jconfirm-type-orange,
body.fp-light .jconfirm .jconfirm-box.jconfirm-type-purple,
body.fp-light .jconfirm .jconfirm-box.jconfirm-type-dark {
    border-top-color: #ff2f86 !important;
}

body.fp-light .jconfirm .jconfirm-box.jconfirm-type-red {
    border-top-color: #ff5d73 !important;
}

body.fp-light .jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-title {
    color: #0a3049 !important;
}

body.fp-light .jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content,
body.fp-light .jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content p {
    color: #245870 !important;
}

body.fp-light .jconfirm .jconfirm-content label {
    color: #245870 !important;
}

body.fp-light .jconfirm .jconfirm-content input,
body.fp-light .jconfirm .jconfirm-content .modal-input-pass {
    border-color: #ddd;
    background: #f7f7f7;
    color: #0a3049;
}

body.fp-light .jconfirm .jconfirm-box div.jconfirm-closeIcon {
    color: #0a3049 !important;
}

body.fp-light .jconfirm .jconfirm-box div.jconfirm-closeIcon:hover {
    color: #0a3049 !important;
}

@media (max-width: 480px) {
    .jconfirm .jconfirm-box,
    .jconfirm.jconfirm-light .jconfirm-box {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        padding: 24px 18px 18px !important;
    }

    .jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-title {
        font-size: 20px !important;
    }
}

/* Pink top edge — same as the claimed-spot dialog (#ffspot-dialog).
   Skip alerts that already use red or green (error / success).
   Loaded last from Site.Master so this wins over page border shorthands. */
.fp-modal,
.fp-sub-modal,
.fp-sub-modal,
.wallet-modal .wallet-modal-content,
.fcp-confirm,
.oo-popup-content,
.info-popup:not(.ff-age-popup),
.payment-popup,
#ffshare-dialog,
#ffnotif-dialog,
#fp-notify-modal {
    border-top: 3px solid #ff2f86 !important;
}

body.fp-light .fp-modal,
body.fp-light .fp-sub-modal,
body.fp-light .fp-sub-modal,
body.fp-light .wallet-modal .wallet-modal-content,
body.fp-light .fcp-confirm,
body.fp-light .oo-popup-content,
body.fp-light .info-popup:not(.ff-age-popup),
body.fp-light .payment-popup,
body.fp-light #ffshare-dialog,
body.fp-light #ffnotif-dialog,
body.fp-light #fp-notify-modal {
    background: #ffffff !important;
    border: 1px solid rgba(10, 48, 73, 0.10) !important;
    border-top: 3px solid #ff2f86 !important;
    color: #0a3049 !important;
    box-shadow: 0 22px 50px rgba(10, 48, 73, 0.16) !important;
}

body.fp-light .fp-modal-title,
body.fp-light .fp-sub-modal .fp-modal-title,
body.fp-light .fcp-confirm h2,
body.fp-light #fcpConfirmTitle,
body.fp-light .oo-title,
body.fp-light .info-title,
body.fp-light .popup-title,
body.fp-light .wallet-header h2,
body.fp-light #ffshare-title,
body.fp-light #ffnotif-title,
body.fp-light #fp-notify-modal-title {
    color: #0a3049 !important;
}

body.fp-light .fp-modal-note,
body.fp-light .oo-text,
body.fp-light .info-text,
body.fp-light .info-note,
body.fp-light .popup-note,
body.fp-light .wallet-balance,
body.fp-light .wallet-description,
body.fp-light .wallet-note,
body.fp-light .wallet-currency-label,
body.fp-light #ffnotif-message,
body.fp-light #fp-notify-modal-body,
body.fp-light .popup-benefits-list li,
body.fp-light .total-to-pay {
    color: #4a5568 !important;
}

body.fp-light .payment-popup-uname,
body.fp-light .popup-title-success {
    color: #0a3049 !important;
}

body.fp-light .fp-modal-close,
body.fp-light .fcp-confirm-close,
body.fp-light .wallet-close,
body.fp-light .popup-close-btn,
body.fp-light .info-close-btn,
body.fp-light #ffshare-closeX,
body.fp-light .jconfirm .jconfirm-box div.jconfirm-closeIcon {
    color: #0a3049 !important;
}

body.fp-light .fp-modal-action-btn,
body.fp-light .fcp-confirm-go,
body.fp-light .oo-agree,
body.fp-light .info-confirm-btn.agree-btn,
body.fp-light .popup-payment-btn,
body.fp-light .wallet-btn-primary,
body.fp-light .ffnotif-btn-primary,
body.fp-light .fp-notify-btn-primary {
    background: #ff2f86 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
}

body.fp-light .fcp-confirm-back,
body.fp-light .oo-decline,
body.fp-light .info-confirm-btn.decline-btn,
body.fp-light .ffnotif-btn-secondary,
body.fp-light .fp-notify-btn-ghost {
    background: none !important;
    color: #ff2f86 !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.fp-light #ffnotif-modalRoot {
    color: #0a3049 !important;
}

body.fp-light #ffshare-link,
body.fp-light .ffshare-item {
    background: #f6f7f9 !important;
    border-color: rgba(10, 48, 73, 0.12) !important;
    color: #0a3049 !important;
}

body.fp-light .wallet-modal .wallet-input,
body.fp-light .fp-modal-textarea,
body.fp-light #fp-notify-modal-body textarea,
body.fp-light #fp-notify-modal-body select {
    background: #f6f7f9 !important;
    border-color: #ddd !important;
    color: #0a3049 !important;
    color-scheme: light;
}

body.fp-light .wallet-modal .wallet-amount-btn {
    background: #f6f7f9 !important;
    border-color: rgba(10, 48, 73, 0.12) !important;
    color: #0a3049 !important;
}

body.fp-light .wallet-modal .wallet-amount-btn.selected,
body.fp-light .wallet-modal .wallet-amount-btn.active,
body.fp-light .wallet-modal .wallet-amount-btn:hover {
    background: #ff2f86 !important;
    border-color: #ff2f86 !important;
    color: #fff !important;
}

/* Age gate stays navy in both themes. */
body.fp-light .info-popup.ff-age-popup,
body.ff-dark .info-popup.ff-age-popup {
    background: #082840 !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.fp-light .ff-age-popup .info-title,
body.fp-light .ff-age-popup .info-text,
body.fp-light .ff-age-popup .ff-age-points li {
    color: #ececf1 !important;
}

body.fp-light .ff-age-popup .info-title {
    color: #fff !important;
}

body.fp-light .ff-age-popup .info-note {
    color: #8aa0b4 !important;
}

body.fp-light .ff-age-popup .info-confirm-btn.agree-btn {
    background: #e0336b !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 6px !important;
}

body.fp-light .ff-age-popup .info-confirm-btn.decline-btn {
    background: transparent !important;
    color: #ececf1 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: none !important;
}
