/* ==========================================================
   S A M A N   P A Y M E N T   -   P R E M I U M   U I
   طراحی شده برای هماهنگی کامل با قالب تورهای شما
   Flat – Clean – Responsive – Persian Friendly
========================================================== */

/* ====== Box Wrapper ====== */
.saman-box {
    direction: rtl;
    text-align: right;
    font-family: inherit !important;
    /* max-width: 820px; */
    max-width: -webkit-fill-available;
    margin: 30px auto;
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 8px 28px rgba(0,0,0,0.05);
    transition: .25s;
}

.saman-box:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* ====== Title ====== */
.saman-form-title {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 700;
    color: #0F2D3F;
    padding-bottom: 12px;
    border-bottom: 2px solid #f3f3f3;
}

/* ====== Grid Layout ====== */
.saman-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 14px;
}

.saman-col {
    flex: 1;
    min-width: 220px;
}

.saman-col label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

/* ====== Inputs ====== */
.saman-col input,
.saman-col select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ccd4df;
    font-size: 14px;
    transition: .2s;
    background: #fafafa;
    font-family: inherit;
}

.saman-col input:focus,
.saman-col select:focus {
    border-color: #00a6ad;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,166,173,0.18);
    outline: none;
}

/* ====== Buttons ====== */
.saman-btn-wrapper {
    text-align: center;
    margin-top: 25px;
}

.saman-btn {
    background: linear-gradient(135deg, #00a6ad, #008c8e);
    color: #fff;
    padding: 10px 28px;
    font-size: 15px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: .25s;
    /* min-width: 200px; */
    min-width: 100%;
    font-weight: 600;
    font-family: inherit;
}

.saman-btn:hover {
    transform: translateY(-2px);
    opacity: .95;
}

.saman-btn-secondary {
    background: #6c757d;
}

/* ====== Plans Card ====== */
.saman-plan-card {
    background: #f9fafb;
    border: 1px solid #e3e8ef;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: .25s;
}

.saman-plan-card:hover {
    background: #eef7f7;
    border-color: #00a6ad;
}

.saman-plan-main {
    flex: 1;
}

.saman-plan-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.saman-plan-sub {
    font-size: 13px;
    color: #666;
}

.saman-plan-price {
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.saman-plan-price span {
    font-size: 12px;
    color: #666;
}

/* ====== Radio Button ====== */
.saman-plan-radio input {
    width: 18px;
    height: 18px;
}

/* ====== Messages ====== */
.saman-error,
.saman-success {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
}

.saman-error {
    background: #ffe6e6;
    border: 1px solid #ffb3b3;
    color: #d10000;
}

.saman-success {
    background: #eaffea;
    border: 1px solid #b3e6b3;
    color: #117d11;
}

/* ==========================================================
   MOBILE OPTIMIZATION
========================================================== */
@media (max-width: 768px) {

    .saman-box {
        padding: 20px 18px;
        /* margin: 18px; */
        margin: 0px;
        border-radius: 14px;
    }

    .saman-form-title {
        font-size: 20px;
    }

    .saman-row {
        gap: 12px;
    }

    .saman-col {
        min-width: 100%;
    }

    .saman-col input,
    .saman-col select {
        font-size: 15px;
        padding: 12px 14px;
    }

    .saman-btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }

    .saman-plan-card {
        padding: 14px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .saman-plan-price {
        text-align: center;
    }
}

.saman-plan-coverages {
    margin-top: 8px;
    font-size: 13px;
}

.saman-toggle-coverages {
    /* color: #198754;
    font-weight: 500; */
    cursor: pointer;
    text-decoration: none;

    background-color: #4cc1c6;
    padding: 5px;
    border-radius: 7px;
    color: white;
    font-weight: 500;
}

.saman-toggle-coverages:hover {
    /* color: #198754;
    font-weight: 500; */
    cursor: pointer;
    text-decoration: none;

    background-color: #4cc1c6;
    padding: 5px;
    border-radius: 7px;
    color: white;
    font-weight: 500;
}


.saman-coverage-box {
    margin-top: 8px;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    overflow: hidden;
}

.saman-coverage-head,
.saman-coverage-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 6px 10px;
}

.saman-coverage-head {
    background: #f5f5f5;
    font-weight: bold;
}

.saman-coverage-row:nth-child(even) {
    background: #fafafa;
}

.saman-coverage-limit {
    text-align: center;
}


/* discount */
.saman-old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 13px;
}

.saman-new-price {
    color: #4cc1c6;
    font-weight: bold;
    font-size: 15px;
}

.saman-discount-banner {
    background: #e6f7ee;
    color: #0f5132;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
}

span.saman-plan-discount {
    background-color: #4cc1c6;
    padding: 5px;
    border-radius: 7px;
    color: white;
    font-weight: 500;
}
