/* ===== Partner-Program page overrides ===== */
.centered-align-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* -- Section spacing -- */

.center-flex {
    display: flex;
}

/* -- Why Partner cards (3 col) -- */
.why-partner-card {
    background: #fdeee7;
    border: 1px solid rgba(255, 112, 67, 0.3);
    border-radius: 14px;
    padding: 28px 24px;
    height: 100%;
}

    .why-partner-card h6 {
        font-size: 1.05rem;
        font-weight: 600;
        margin-bottom: 20px;
    }

.why-card {
    background: var(--color-card-bg);
    border: 1px solid transparent;
    border-radius: var(--border-radius-sm);
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: var(--grid-gap-md, 20px);
    transition: all 0.35s ease;
}

    .why-card:hover {
        border: 1px solid rgba(235, 80, 23, 0.38);
        box-shadow: 0 16px 38px rgba(0, 0, 0, 0.15);
        transform: scale(1.02) translateY(-5px);
    }

.why-icon img {
    width: var(--icon-size-md, 48px);
    height: var(--icon-size-md, 48px);
    display: block;
}

.why-card:hover .why-icon img {
    transform: rotate(8deg) scale(1.1);
    transition: all 0.35s ease;
}

.reason-title {
    font-weight: var(--font-weight-bold);
    margin: 0 0 4px;
    line-height: var(--line-height-tight);
}

.reason-text {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm, 0.9rem);
    line-height: 1.45;
    margin: 0;
}

/* -- Who can become a partner chips -- */
.partner-type-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

.partner-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid rgba(235, 80, 23, 0.25);
    font-size: 0.9rem;
    font-weight: 600;
    color: #222;
    box-shadow: 0 2px 8px rgba(235, 80, 23, 0.06);
    transition: all 0.18s;
}

    .partner-chip:hover {
        border-color: #eb5017;
        color: #eb5017;
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(235, 80, 23, 0.12);
    }

    .partner-chip i {
        color: #eb5017;
        font-size: 1rem;
    }

/* -- Plan cards -- */
.plan-card {
    background: #fff6f1;
    border: 1.5px solid rgba(255, 112, 67, 0.25);
    border-radius: 18px;
    padding: 32px 28px 28px;
    position: relative;
    transition: transform 0.18s, box-shadow 0.18s;
}

.plan-col {
    max-width: 360px;
}

.ind-title-feature {
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
}

.center-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

/* Flex row alignment */
.list-item {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 8px;
}

.hero-img-container {
    width: 100%;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 12px;
    border-radius: 12px;
}

/* Icon styling */
.icon {
    color: #eb5017;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Text styling */
.text {
    font-size: 0.9rem;
    color: #444;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(235, 80, 23, 0.12);
}

.plan-popular {
    border-color: #eb5017;
    box-shadow: 0 8px 32px rgba(235, 80, 23, 0.15);
}

.plan-ribbon {
    position: absolute;
    top: 58px;
    right: 0;
    height: var(--plan-ribbon-height, 30px);
    line-height: var(--plan-ribbon-height, 30px);
    padding: 0 22px 0 16px;
    background: var(--color-ribbon);
    color: var(--color-ribbon-text);
    font-weight: var(--font-weight-bold);
    font-size: 0.82rem;
    letter-spacing: 0.2px;
    transform: rotate(40deg);
    transform-origin: 100% 0;
    box-shadow: 0 10px 18px rgba(235, 80, 23, 0.22);
    pointer-events: none;
    border-radius: 1px;
}

    .plan-ribbon::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 14px;
        height: 100%;
        background: rgba(255, 255, 255, 0.28);
        clip-path: polygon(100% 0, 0 0, 100% 100%);
        border-top-right-radius: var(--border-radius-sm);
        border-bottom-right-radius: var(--border-radius-sm);
    }

    .plan-ribbon::after {
        content: "";
        position: absolute;
        right: -6px;
        top: 100%;
        border-width: 6px 6px 0 6px;
        border-style: solid;
        border-color: rgba(0, 0, 0, 0.1) transparent transparent transparent;
        transform: translateY(-2px) skewX(-12deg);
    }

.plan-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #ffd9cc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    left: 90px;
}

    .plan-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.plan-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

    .plan-price .price {
        font-size: 2.2rem;
        font-weight: 800;
        color: #eb5017;
    }

    .plan-price .unit {
        font-size: 0.85rem;
        color: #9ca3af;
    }

.why-partner-card {
    border: 1px solid transparent;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

    /* Hover effect */
    .why-partner-card:hover {
        border-color: rgba(235, 80, 23, 0.38);
        box-shadow: 0 16px 38px rgba(0, 0, 0, 0.15);
        transform: translateY(-6px) scale(1.03);
    }

.trust-card {
    transition: all 0.35s ease;
    border: 1px solid transparent;
}

    .trust-card:hover {
        border: 1px solid rgba(235, 80, 23, 0.38);
        box-shadow: 0 16px 38px rgba(0, 0, 0, 0.15);
        transform: scale(1.02) translateY(-5px);
    }

.plan-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: #eb5017;
    color: #fff;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    transition: background 0.18s;
}

    .plan-cta:hover {
        background: #c94010;
        color: #fff;
    }

.plan-popular .plan-cta {
    background: #eb5017;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.trust-grid-center {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.trust-card {
    background: #fdeee7;
    border: 1px solid rgba(255, 112, 67, 0.28);
    border-radius: 14px;
    padding: 22px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

    .trust-card .t-icon {
        flex-shrink: 0;
    }

        .trust-card .t-icon img {
            width: 48px;
            height: 48px;
            object-fit: contain;
        }

    .trust-card .t-title {
        font-weight: 700;
        font-size: 0.95rem;
        margin-bottom: 5px;
    }

    .trust-card .t-desc {
        color: #6b7280;
        font-size: 0.87rem;
        line-height: 1.55;
        margin: 0;
    }

.collab-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.collab-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

    .collab-img-wrap img {
        width: 100%;
        border-radius: 20px;
        display: block;
    }

.collab-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.collab-stat {
    background: #fff;
    border: 1px solid rgba(255, 112, 67, 0.2);
    border-radius: 12px;
    padding: 16px 18px;
}

    .collab-stat .stat-num {
        font-size: 1.6rem;
        font-weight: 800;
        color: #eb5017;
        line-height: 1;
    }

    .collab-stat .stat-label {
        font-size: 0.8rem;
        color: #6b7280;
        margin-top: 4px;
    }

.collab-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .collab-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .collab-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== Partner Application Modal ===== */
.pa-modal-dialog {
    max-width: 560px;
}

.pa-modal {
    position: relative;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    font-family: "Poppins", sans-serif;
}

.pa-close {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    transition: 0.15s;
}

    .pa-close:hover {
        background: var(--brand-orange);
        border-color: var(--brand-orange);
    }

.pa-head {
    position: relative;
    background: #1d1b1a;
    color: #f5f0eb;
    padding: 20px 22px 16px;
    overflow: hidden;
}

    .pa-head::after {
        content: "";
        position: absolute;
        right: -90px;
        top: -90px;
        width: 260px;
        height: 260px;
        background: radial-gradient(circle, rgba(205, 219, 55, 0.22), transparent 70%);
        pointer-events: none;
    }

.pa-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 999px;
}

.pa-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
}

.pa-title {
    color: #fff;
    font-weight: 700;
    margin: 10px 0 6px;
    padding-right: 56px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.pa-sub {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
}

.pa-body {
    padding: 28px 34px 32px;
    background: #fff;
}

.pa-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pa-field {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

    .pa-field label {
        font-size: 0.82rem;
        font-weight: 600;
        color: #2b2b2b;
        margin-bottom: 7px;
    }

.pa-req {
    color: #eb5017;
}

.pa-input {
    width: 100%;
    border: 1.5px solid #e6e3e0;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.9rem;
    font-family: "Poppins", sans-serif;
    color: #1f1f1f;
    background: #faf9f8;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

    .pa-input::placeholder {
        color: #aaa4a0;
    }

    .pa-input:focus {
        outline: none;
        border-color: #eb5017;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(235, 80, 23, 0.12);
    }

.pa-textarea {
    resize: vertical;
    min-height: 96px;
}

.pa-error {
    display: none;
    color: #d12f12;
    font-size: 0.76rem;
    margin-top: 6px;
}

.pa-field.is-invalid .pa-input {
    border-color: #d12f12;
    background: #fff6f4;
}

.pa-field.is-invalid .pa-error {
    display: block;
}

.pa-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #eb5017;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    transition: background 0.18s, transform 0.18s;
}

    .pa-submit:hover {
        background: #c94010;
        transform: translateY(-1px);
    }

/* Success is confirmed by the shared popup - wwwroot/css/success-modal.css */

@media (max-width: 540px) {
    .pa-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pa-head {
        padding: 20px 22px 16px;
    }

    .pa-body {
        padding: 24px 22px 26px;
    }
}
