﻿
.pricing_section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--white-smoke);
}


.pricing_box {
    font-size: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 560px;
    border-radius: 20px !important;
    box-sizing: inherit !important;
    position: relative;
    box-shadow: 0px 3px 3px -2px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 1px 8px 0px rgba(0,0,0,0.12);
}


.pricing_title {
    width: 100%;
    padding: 10px 0;
    font-size: 1.2em;
    font-weight: lighter;
    text-align: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    color: var(--white-smoke);
}

.basic .pricing_title {
    background: var(--pinkish-red);
}

.standard .pricing_title {
    background: var(--medium-blue);
}

.business .pricing_title {
    background: var(--greenish-blue);
}

.pricing_view {
    display: block;
    width: 100%;
    padding: 10px 0 20px;
    background: var(--white-smoke);
}

.pricing_icon {
    display: flex;
    justify-content: center;
}

    .pricing_icon img {
        width: 100px;
    }

.pricing_cost {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    margin-top: 10px;
}

.pricing_original_price {
    text-decoration: line-through;
    color: #aaa;
    font-size: 1.2em;
    font-weight: normal;
    opacity: 0.6;
}

.pricing_amount {
    font-size: 1.5em;
    font-weight: bolder;
}

.pricing_toman {
    font-size: 0.8em;
    font-weight: bold;
    color: var(--mud-palette-text-secondary);
}


.pricing_detail {
    margin: auto 0 auto 5px;
    font-size: 0.7em;
    font-weight: bold;
    line-height: 15px;
    color: var(--mud-palette-text-secondary);
}


.pricing_description {
    font-size: 0.8em;
    color: var(--mud-palette-text-secondary);
}

.pricing_ul {
    list-style: none;
}

.pricing_li {
    margin-top: 10px;
}

    .pricing_li::before {
        content: "";
        background-image: url("Icons/check.png");
        background-position: center;
        background-size: cover;
        opacity: 0.5;
        display: inline-block;
        width: 10px;
        height: 10px;
        margin-right: 10px;
    }

.pricing_button {
    margin: 0 auto 30px;
}

.btn-pricing {
    transition: all 0.2s ease-in-out;
    display: inline-block;
    padding: 10px 20px;
    background-color: #5A189A;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
}

    .btn-pricing:hover {
        color: #fff;
        transform: translateY(-3px);
    }


.pricing_button {
    width: 250px;
    font-size: 0.7em;
    font-weight: bold;
    letter-spacing: 0.5px;
    color: #7D7C7C;
    border: 2px solid var(--dark-gray);
    border-radius: 50px;
    background: transparent;
}


.pricing_badge {
    position: absolute;
    top: -10px;
    left: -10px;
    z-index: 1;
}



.package-card {
    position: relative;
}


.pricing_badge img {
    width: 80px;
    height: auto;
}


.pricing_discount_badge {
    text-align: center;
    font-size: 0.8em;
    font-weight: bold;
    margin-top: 5px;
}



.description-ellipsis {
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3.6em;
    line-height: 1.8em;
    min-height: 3.6em;
}


.package-detail {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

    .package-detail .info-detail {
        align-content: center;
    }

    .package-detail .info-detail  {
        align-content: center;
    }

.package-img-detail {
    width: 40%;
    height: auto;
}

.text-purple {
    color: #5A189A !important;
}


.s-panel {
    margin-bottom: 100px;
    justify-content: center;
    align-content: center;
}

    .s-panel .item {
        background-color: #eee;
        border-radius: 15px;
        padding: 16px;
        margin: 16px;
        height: 100px;
        align-content: center;
    }

.s-panel .item *{
    color: #000;
    font-size: 1.2em;
    text-align: center;
    font-weight: bold;
}

.click-btn {
    display: inline-block;
    padding: 12px 15px;
    background: #F8C12A;
    background: linear-gradient(270deg, rgba(248, 193, 42, 1) 0%, rgba(248, 159, 43, 0.95) 100%);
    color: #ffffff;
    border-radius: 5px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    border: 0;
    width: 100px;
    margin: 5px;
    text-align: center;
}

    .click-btn:hover {
        color: #ffffff;
        -webkit-transform: translateY(-3px);
        transform: translateY(-3px);
    }

.primary-button {
    display: inline-block;
    padding: 12px 15px;
    background: #F8C12A;
    background: linear-gradient(90deg,rgba(62, 17, 107, 1) 0%, rgba(90, 24, 154, 0.95) 100%);
    color: #ffffff;
    border-radius: 5px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    border: 0;
    text-align: center;
    margin: 5px;
    width: 100px;
}

    .primary-button:hover {
        color: #ffffff;
        -webkit-transform: translateY(-3px);
        transform: translateY(-3px);
    }


.e-form-container {
    direction: rtl;
    display: flex;
    justify-content: center;
}

.e-form-body {
    margin: 20px;
    border-radius: 15px;
    background-color: #e1e1e1;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
}

.e-form-title {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.e-form-title h3 {
    text-align: center;
}

.e-form-input {
    border-radius: 15px;
    padding: 10px;
    color: #000;
    background-color: rgba(238, 238, 238, 0.87);
    border: 0;
    margin-bottom: 15px;
}

.e-form-input:focus{
    border: 0px;
    outline: none;
}

.e-form-textarea {
    border-radius: 0 15px 15px 0;
    padding: 10px;
    color: #000;
    background-color: rgba(238, 238, 238, 0.87);
    border: none;
    margin-bottom: 15px;
    height: 100px;
    resize: vertical; /* یا none برای غیرفعال‌سازی resize */
    width: 100%;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #999 #e0e0e0; /* Firefox */
}

    /* WebKit browsers (Chrome, Edge, Safari) */
    .e-form-textarea::-webkit-scrollbar {
        width: 8px;
    }

    .e-form-textarea::-webkit-scrollbar-track {
        background: #e0e0e0;
        border-radius: 10px;
    }

    .e-form-textarea::-webkit-scrollbar-thumb {
        background-color: #999;
        border-radius: 10px;
        border: 2px solid #e0e0e0; /* فضای خالی بین thumb و track */
    }



.e-form-control {
    padding-top: 10px;
    display: flex;
    justify-content: center;
}

.file-upload {
    position: relative;
    display: inline-block;
}

    .file-upload input[type="file"] {
        display: none;
    }

    .file-upload label {
        background-color: #5A189A;
        color: white;
        padding: 10px 20px;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 500;
        transition: background-color 0.3s;
        display: inline-block;
    }

        .ile-upload label:hover {
            color: white;
            background-color: #45a049;
        }


.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-hidden {
    display: none;
}

.checkbox-label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
}

    .checkbox-label::before {
        content: "";
        position: absolute;
        left: 0;
        top: 2px;
        width: 20px;
        height: 20px;
        background-color: #eee;
        border: 2px solid #ccc;
        border-radius: 4px;
        transition: all 0.2s ease;
    }

.checkbox-hidden:checked + .checkbox-label::after {
    content: "✓";
    position: absolute;
    left: 4px;
    top: 0;
    font-size: 18px;
    color: #fff;
}

.checkbox-hidden:checked + .checkbox-label::before {
    background-color: #5A189A;
    border-color: #5A189A;
}
