/* Exclusive profile offer card and request dialog (register and showcase pages). */

@font-face {
    font-family: "ActorYekan";
    src: url("../font/actor-yekan.ddbdb89d69ab.woff") format("woff");
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "ActorGol";
    src: url("../font/actor-gol.0ac3424cda16.woff") format("woff");
    font-weight: 100 900;
    font-display: swap;
}

/* Offer card */

.xp-offer {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #987b48;
    border-radius: 18px;
    background: linear-gradient(115deg, #3d321b, #123d2b);
    color: #edf8f1;
    font-family: ActorYekan, Tahoma, Arial, sans-serif;
    line-height: 1.9;
    text-align: right;
    cursor: pointer;
    transition: filter 0.15s;
}

.xp-offer:hover {
    filter: brightness(1.1);
}

.xp-offer strong {
    display: block;
    font-size: 22px;
    line-height: 1.6;
}

.xp-offer small {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    color: #b5d4c2;
}

.xp-offer .xp-star {
    font-size: 28px;
    color: #f1c77f;
}

/* Same card, warm gradient: link to the sample profiles page. */
.xp-offer-showcase {
    border-color: #f3b166;
    background: linear-gradient(115deg, #f0a03c, #e0663c 55%, #c2366b);
    color: #fff;
    box-shadow: 0 8px 22px #c2366b40;
}

/* Same font as the header button for this page. */
.xp-offer-showcase strong {
    font-family: "Digi Lalezar Plus", Tahoma, sans-serif;
    font-weight: normal;
    white-space: nowrap;
}

.xp-offer-showcase small {
    color: #fff3e6;
}

.xp-offer-showcase .xp-star {
    color: #fff;
}

/* Full-width card (showcase page): price and call to action on the left. */
.xp-offer-wide {
    flex-wrap: wrap;
    gap: 20px;
    padding: 22px 28px;
}

.xp-offer-wide .xp-star {
    font-size: 36px;
}

.xp-offer-wide .xp-offer-text {
    flex: 1;
    min-width: 220px;
}

.xp-offer-cta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-inline-start: auto;
}

.xp-offer-price {
    font-size: 14px;
    color: #b5d4c2;
    white-space: nowrap;
}

.xp-offer-price s {
    margin-inline-end: 6px;
}

.xp-offer-price b {
    font-size: 26px;
    color: #f1c77f;
}

.xp-offer-go {
    padding: 10px 22px;
    border-radius: 999px;
    background: #f1c77f;
    color: #2b220f;
    font-weight: bold;
    white-space: nowrap;
    transition: background 0.15s;
}

.xp-offer-wide:hover .xp-offer-go {
    background: #f6d9a3;
}

/* Dialog */

.xp {
    width: min(680px, calc(100% - 24px));
    max-height: calc(100dvh - 28px);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 1px solid #50715a;
    border-radius: 24px;
    background: #0c2018;
    color: #edf8f1;
    box-shadow: 0 25px 100px #0009;
    font-family: ActorYekan, Tahoma, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.9;
    scrollbar-width: thin;
    scrollbar-color: #315447 #0c2018;
}

.xp::backdrop {
    background: #020a07c9;
    backdrop-filter: blur(7px);
}

.xp button,
.xp input {
    font: inherit;
}

.xp button {
    cursor: pointer;
}

.xp button:focus-visible,
.xp input:focus-visible,
.xp-offer:focus-visible {
    outline: 2px solid #9ce4c2;
    outline-offset: 3px;
}

.xp-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 22px;
    border-bottom: 1px solid #315447;
    background: #0b231df5;
}

.xp-logo {
    display: block;
    width: 165px;
    height: 55px;
    object-fit: contain;
}

.xp-close {
    width: 34px;
    height: 34px;
    border: 1px solid #365b47;
    border-radius: 50%;
    background: #162e22;
    color: #c4dfcd;
    font: 24px/1 Arial, sans-serif;
}

.xp-content {
    padding: 24px 32px 30px;
}

.xp-intro {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 15px 24px 28px;
    border-bottom: 1px solid #315044;
    background:
        radial-gradient(ellipse at 5% 25%, #dca65330, transparent 65%),
        radial-gradient(ellipse at 100% 100%, #2580613d, transparent 65%);
}

.xp-intro::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 5px;
    left: -75px;
    width: 220px;
    height: 220px;
    border: 1px solid #d5b06a25;
    border-radius: 50%;
    box-shadow: 0 0 0 30px #c69b4d08, 0 0 0 60px #c69b4d05;
}

.xp-eyebrow {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid #d6ae5d55;
    border-radius: 20px;
    background: #46341c55;
    font-size: 12px;
    color: #f5cf91;
}

.xp-heading {
    margin: 17px 0 9px;
    font-size: 19px;
    font-weight: normal;
    color: #e0efe5;
}

.xp-headline {
    margin: 10px 0 19px;
    font-family: ActorGol, ActorYekan, Tahoma, sans-serif;
    font-size: 48px;
    line-height: 1.35;
    color: #eef7f1;
}

.xp-headline span {
    color: #ffd18a;
    text-shadow: 0 5px 26px #c79c3c22;
}

.xp-intro p {
    max-width: 520px;
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 2;
    color: #c3d8ca;
}

.xp-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 11px;
    margin: 22px 0;
}

.xp-service {
    padding: 15px 12px;
    border: 1px solid #345442;
    border-top: 2px solid #b9925055;
    border-radius: 15px;
    background: linear-gradient(140deg, #1b3c2e, #10271e);
    box-shadow: 0 6px 18px #0002;
}

.xp-service svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #e7bd76;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.xp-service strong {
    display: block;
    margin: 8px 0 5px;
    font-size: 14px;
    line-height: 1.7;
}

.xp-service p {
    margin: 0;
    font-size: 12px;
    line-height: 1.9;
    color: #a9c3b1;
}

.xp-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 18px 0;
    padding: 18px 20px;
    border: 1px solid #c1a06a;
    border-radius: 17px;
    background:
        radial-gradient(ellipse at top left, #a975292e, transparent 70%),
        linear-gradient(115deg, #433821, #182d20);
    box-shadow: 0 8px 30px #0003;
}

.xp-price small {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: #d9c9a8;
}

.xp-price b {
    font-size: 41px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #ffdaa0;
}

.xp-price em {
    margin-right: 5px;
    font-size: 15px;
    font-style: normal;
}

.xp-amount {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-end;
    column-gap: 8px;
}

.xp-amount s {
    font-size: 24px;
    color: #b8ab92;
    text-decoration-color: #e4836a;
    text-decoration-thickness: 2px;
}

.xp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.xp-discount {
    display: inline-block;
    margin-right: 6px;
    padding: 0 9px;
    border-radius: 20px;
    background: #c4513b;
    font-size: 12px;
    line-height: 1.8;
    color: #fff;
    vertical-align: middle;
}

.xp-optional {
    margin: 16px 0 0;
    padding: 10px 14px;
    border: 1px solid rgba(95, 211, 192, 0.35);
    border-radius: 12px;
    background: rgba(95, 211, 192, 0.08);
    font-size: 13px;
    line-height: 2;
    text-align: center;
    color: #bfeee4;
}

.xp-steps {
    margin: 20px 0;
    font-size: 12px;
    line-height: 2.2;
    text-align: center;
    color: #bcd5c5;
}

.xp-form-title {
    margin: 23px 0 4px;
    font-size: 20px;
    font-weight: bold;
}

.xp-form-help {
    margin: 0 0 14px;
    font-size: 13px;
    color: #a9c3b1;
}

.xp-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.xp-fields label {
    display: block;
    font-size: 14px;
}

.xp-fields label span {
    color: #9ee2bc;
}

.xp-fields input {
    display: block;
    width: 100%;
    height: 49px;
    margin-top: 5px;
    padding: 8px 12px;
    border: 1px solid #3b5846;
    border-radius: 10px;
    background: #091c14;
    color: #edf8f1;
    font-size: 15px;
}

.xp-fields input::placeholder {
    color: #698573;
}

.xp-fields input:focus {
    border-color: #a1dfb4;
}

.xp-fields input[aria-invalid="true"] {
    border-color: #f1a38b;
}

.xp-error {
    font-size: 12px;
    color: #f1b29d;
}

.xp-form-error {
    margin-top: 12px;
    text-align: center;
}

.xp-submit {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(105deg, #dba650, #f7d693);
    box-shadow: 0 7px 24px #ac793428, inset 0 1px #fff7;
    color: #30200b;
    font-size: 18px;
    font-weight: bold;
}

.xp-submit:hover {
    filter: brightness(1.08);
}

.xp-submit:disabled {
    opacity: 0.7;
    cursor: progress;
}

.xp-submit span {
    float: left;
}

.xp-after {
    margin: 10px 0 0;
    font-size: 12px;
    text-align: center;
    color: #b6cdbd;
}

.xp-success {
    padding: 32px 10px;
    text-align: center;
}

.xp-check {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    border: 1px solid #b4945b;
    border-radius: 50%;
    font-size: 34px;
    color: #f1c77f;
}

.xp-success h2 {
    font-family: ActorGol, ActorYekan, Tahoma, sans-serif;
    font-size: 36px;
    font-weight: normal;
}

.xp-success p {
    color: #bed3c5;
}

.xp [hidden] {
    display: none;
}

@media (max-width: 640px) {
    .xp-services {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .xp {
        border-radius: 18px;
    }

    .xp-head {
        padding: 10px 18px;
    }

    .xp-logo {
        width: 143px;
        height: 47px;
    }

    .xp-content {
        padding: 17px 19px 24px;
    }

    .xp-intro {
        padding-inline: 16px;
    }

    .xp-eyebrow {
        font-size: 11px;
    }

    .xp-heading {
        font-size: 17px;
    }

    .xp-headline {
        font-size: 39px;
        line-height: 1.4;
    }

    .xp-intro p {
        font-size: 14px;
    }

    .xp-services {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .xp-service {
        display: grid;
        grid-template-columns: 27px 1fr;
        column-gap: 10px;
        padding: 12px;
    }

    .xp-service svg {
        grid-row: 1 / 3;
        margin-top: 3px;
    }

    .xp-service strong {
        margin: 0 0 3px;
        font-size: 15px;
    }

    .xp-price {
        gap: 6px;
        padding: 14px 12px;
    }

    .xp-price > div:first-child {
        font-size: 13px;
    }

    .xp-price small {
        font-size: 10px;
    }

    .xp-price b {
        font-size: 33px;
    }

    .xp-price em {
        font-size: 12px;
    }

    .xp-steps {
        font-size: 11px;
    }

    .xp-fields {
        grid-template-columns: 1fr;
    }

    .xp-offer {
        gap: 12px;
        padding: 14px 16px;
    }

    .xp-offer strong {
        font-size: 19px;
    }

    .xp-offer-wide {
        padding: 18px;
    }

    .xp-offer-cta {
        width: 100%;
        justify-content: space-between;
    }

    /* Shrink with the screen so the title stays on one line. */
    .xp-offer-showcase strong {
        font-size: clamp(15px, 4.6vw, 19px);
    }
}
