/* "كن شريك / إضافة نشاط" page (front/partner/create). Classes start with "pt-" so the site theme can not override them. */
.pt {
    --pt-ink: #111111;
    --pt-muted: #7c828c;
    --pt-line: #e8e8ea;
    --pt-field: #f5f5f7;
    --pt-accent: #fe7e00;
    --pt-accent-dark: #e57100;
    --pt-accent-soft: #fff4e8;
    --pt-danger: #e5484d;
    background: #f7f7f8; color: var(--pt-ink); padding: 28px 0 48px; font-size: 14px; line-height: 1.6;
}
.pt *, .pt *::before, .pt *::after { box-sizing: border-box; }
.pt a { text-decoration: none !important; }
.pt-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.pt-layout { display: grid; gap: 20px; align-items: start; }

/* ---------- intro panel ---------- */
.pt-hero {
    position: relative; overflow: hidden; padding: 28px; border-radius: 22px; color: #fff;
    background: linear-gradient(140deg, #fe7e00, #ff9a3c 60%, #ffb067);
}
.pt-hero::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; inset-inline-end: -90px; bottom: -110px; background: rgba(255, 255, 255, .12); }
.pt-hero__icon { width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .2); margin-bottom: 16px; }
.pt-hero__icon svg { width: 36px; height: 36px; }
.pt .pt-hero h1 { margin: 0 0 6px !important; color: #fff !important; font-size: 26px; font-weight: 800; line-height: 1.4; }
.pt .pt-hero p { margin: 0 0 22px !important; color: rgba(255, 255, 255, .92) !important; font-size: 15px; }
.pt-perks { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pt-perks li { display: flex; align-items: flex-start; gap: 12px; }
.pt-perks li > span { width: 42px; height: 42px; flex: none; border-radius: 12px; background: #fff; color: var(--pt-accent); display: flex; align-items: center; justify-content: center; }
.pt-perks svg { width: 22px; height: 22px; }
.pt-perks strong { display: block; font-size: 15px; font-weight: 800; }
.pt-perks small { display: block; font-size: 13px; color: rgba(255, 255, 255, .9); }

/* ---------- form card ---------- */
.pt-card { background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 10px 30px rgba(17, 17, 17, .06); }
.pt .pt-intro { margin: 0 0 18px !important; padding: 12px 14px; border-radius: 14px; background: var(--pt-accent-soft); color: #8a4a00 !important; font-weight: 600; text-align: center; }
.pt-alert { margin-bottom: 16px; padding: 12px 16px; border-radius: 14px; background: #fdeced; color: #a3262b; font-size: 13px; }
.pt-alert ul { margin: 0; padding-inline-start: 18px; }

.pt-form { display: grid; gap: 16px; }
.pt-row { display: grid; gap: 16px; }
.pt-field { display: grid; gap: 6px; margin: 0 !important; min-width: 0; border: 0; padding: 0; }
.pt .pt-field > span, .pt .pt-choice legend { font-size: 14px; font-weight: 700; color: var(--pt-ink) !important; margin: 0; padding: 0; }
.pt-field b, .pt-choice b { color: var(--pt-danger); font-weight: 700; }
.pt .pt-field input, .pt .pt-field select, .pt .pt-field textarea {
    width: 100%; height: 50px; padding: 0 16px; border: 1.5px solid transparent !important; border-radius: 14px !important;
    background: var(--pt-field) !important; color: var(--pt-ink) !important; font: inherit; font-size: 15px; outline: 0; box-shadow: none !important;
    transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.pt .pt-field textarea { height: auto; min-height: 120px; padding: 12px 16px; resize: vertical; }
.pt .pt-field select {
    padding-inline-end: 40px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c828c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important; background-size: 18px !important; background-position: left 14px center !important;
}
[dir="ltr"] .pt .pt-field select, .pt[dir="ltr"] .pt-field select { background-position: right 14px center !important; }
.pt .pt-field input::placeholder, .pt .pt-field textarea::placeholder { color: #a6a9b0; }
.pt .pt-field input:focus, .pt .pt-field select:focus, .pt .pt-field textarea:focus { border-color: var(--pt-accent) !important; background-color: #fff !important; }
.pt .pt-field .is-invalid { border-color: var(--pt-danger) !important; background-color: #fff !important; }

/* yes / no buttons */
.pt-choice__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pt-choice label { position: relative; margin: 0 !important; cursor: pointer; }
.pt-choice input { position: absolute; opacity: 0; pointer-events: none; }
.pt-choice label span {
    display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 14px; border: 1.5px solid var(--pt-line);
    background: #fff; color: var(--pt-ink); font-size: 15px; font-weight: 700; transition: border-color .2s, background .2s, color .2s;
}
.pt-choice label:hover span { border-color: var(--pt-accent); }
.pt-choice input:checked + span { border-color: var(--pt-accent); background: var(--pt-accent-soft); color: var(--pt-accent-dark); }
.pt-choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(254, 126, 0, .25); }

.pt-terms { display: flex; align-items: center; gap: 10px; margin: 0 !important; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--pt-ink) !important; }
.pt-terms input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--pt-accent); cursor: pointer; }
.pt .pt-terms a { color: var(--pt-accent-dark) !important; text-decoration: underline !important; }

.pt .pt-btn {
    display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 14px; cursor: pointer;
    border: 1.5px solid var(--pt-accent); background: #fff; color: var(--pt-accent) !important; font: inherit; font-size: 16px; font-weight: 800;
    transition: background .2s, color .2s, opacity .2s;
}
.pt .pt-btn:hover { background: var(--pt-accent); color: #fff !important; }
.pt .pt-btn--fill { background: var(--pt-accent); color: #fff !important; }
.pt .pt-btn--fill:hover { background: var(--pt-accent-dark); border-color: var(--pt-accent-dark); }
.pt .pt-btn:disabled { opacity: .45; cursor: not-allowed; background: #fff; color: var(--pt-accent) !important; }
.pt-submit { width: 100%; margin-top: 4px; }

/* sent */
.pt-done { text-align: center; padding: 30px 8px; }
.pt-done__icon { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; background: #e8f8ee; color: #1f9d55; display: flex; align-items: center; justify-content: center; }
.pt-done__icon svg { width: 40px; height: 40px; }
.pt .pt-done h2 { margin: 0 0 8px !important; font-size: 22px; font-weight: 800; color: var(--pt-ink) !important; }
.pt .pt-done p { margin: 0 auto 22px !important; max-width: 420px; color: var(--pt-muted) !important; }
.pt-done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

@media (min-width: 768px) {
    .pt-row { grid-template-columns: 1fr 1fr; }
    .pt-card { padding: 32px; }
}
@media (min-width: 992px) {
    .pt { padding: 40px 0 64px; }
    .pt-layout { grid-template-columns: 380px minmax(0, 1fr); gap: 28px; }
    .pt-hero { position: sticky; top: 110px; padding: 34px; }
    .pt-card .pt-intro { display: none; }
}

/* mobile: like the app, only the form */
@media (max-width: 767.98px) {
    .pt { padding: 14px 0 100px; background: #fff; }
    .pt-hero { display: none; }
    .pt-card { padding: 4px 0 0; box-shadow: none; border-radius: 0; }
}

/* the site theme styles every label (border, background, padding): reset them here */
.pt label, .pt fieldset, .pt legend {
    background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
    width: auto; height: auto; min-height: 0; float: none; text-align: start;
}
.pt label.pt-field, .pt fieldset.pt-field { display: grid !important; width: 100%; }
.pt .pt-choice label { display: block !important; }
.pt .pt-terms { display: flex !important; }
.pt .pt-choice label span { width: 100%; text-align: center; }
