:root {
    --primary-color: #007bff;
    --secondary-color: #ee384e;
    --text-color: #333;
    --background-color: #ffffff;
    --border-color: #ddd;
}

body {
    font-family: 'IRANSansWeb', sans-serif;
    direction: rtl;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    overflow-x: hidden;
}

.text_align_is_center{
    text-align:center;
}
.text_align_is_right{
    text-align:right;
}
.text_align_is_left {
    text-align: left;
}
.direction_is_ltr {
    direction: ltr;
}

.container-fluid {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.row {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
}

.right-section, .left-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.right-section {
    background: linear-gradient(180deg, var(--primary-color) 50%, #F5F6FA 50%);
    border-radius: 20px;
    margin: 20px;
}

.left-section {
    border-radius: 20px;
}

.option {
    border: 2px solid var(--border-color);
    padding: 15px 7px;
    margin: 0 5px 0px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: var(--background-color);
    transition: background-color 0.3s, border-color 0.3s;
    width: 100%;
    font-size: 13px;
}

.options {
    display: flex;
    flex-direction: row; /* تغییر جهت به حالت ستونی */
    justify-content: space-between;
    margin-bottom: 20px;
    width: 92%; /* عرض گزینه‌ها به 100% تنظیم شده است */
}

.option input[type="radio"] {
    display: none;
}

.option input[type="radio"]:checked + .check-circle {
    border: 2px solid var(--primary-color);
    background-color: var(--primary-color);
}

.option input[type="radio"]:checked ~ .price,
.option input[type="radio"]:checked ~ .amount {
    color: var(--primary-color);
}

.amount {
    margin-right: 5px;
    color: var(--text-color);
}

.check-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    margin-left: 5px;
    transition: background-color 0.3s, border-color 0.3s;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.form-group input {
    flex: 1;
    padding: 15px;
    margin: 0 5px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    width: 100%;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-color);
}

.tooltip-2 {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-left: 10px;
}

.tooltip-2 .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-2:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.icon {
    width: 30px;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    width: 92%; /* دکمه‌ها به 100% عرض تنظیم شده‌اند */
}

.submit-btn, .check-serial {
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 48%; /* عرض دکمه‌ها به 48% تنظیم شده است */
    box-sizing: border-box;
}

.submit-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
}

.check-serial {
    background-color: var(--background-color);
    color: var(--text-color);
    border: 2px solid #7B7B7B;
}

.header .logo {
    width: 80px;
    margin-bottom: 10px;
}

.header h1 {
    margin: 0;
    color: white;
    font-family: 'IRANSansWeb-Bold', sans-serif;
}

.header p {
    color: #f0f0f0;
    margin: 5px 0 20px 0;
}

.store-info-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}


.store-info {
    background-color: var(--background-color);
    color: var(--text-color);
    border-radius: 10px;
    padding: 15px;
    width: 80%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-info .store-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-info .store-logo {
    width: 50px;
    margin-left: 10px;
}


.features {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
    color: var(--text-color);
    text-align: right;
    width: 100%; /* یا مقدار دیگر که لازم است */
    max-width: 400px; /* یا مقدار دیگر که لازم است */
}

.check-icon {
    margin-left: 8px; /* فاصله بین آیکون و متن */
}

.check-icon {
    width: 20px;
    margin-left: 10px;
}

.users {
    color: var(--text-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.users img {
    width: 150px;
    margin-left: 10px;
}

.footer-section.right {
    text-align: right;
    max-width: 20%;
}

.footer-section.left {
    text-align: left;
    max-width: 20%;
}

.footer-section.middle {
    text-align: center;
    max-width: 60%;
}

.footer {
    background-color: var(--primary-color);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    margin: 20px;
    color: #fff;
    flex-wrap: wrap;
}

.footer-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    border-top: 1px solid;
}

.footer-button {
    background-color: #fff;
    color: #000000;
    font-family: 'IRANSansWeb';
    border: 1px solid #000000;
    border-radius: 5px;
    padding: 5px 10px;
    margin: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    flex: 1;
    max-width: 15%;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

 .footer-button .icon {
        margin-left: 8px; /* ایجاد فاصله بین آیکون و متن */
    }

.footer-button:hover {
    background-color: #e2edff;
}

.footer-section {
    flex: 1;
    text-align: center;
    font-family: 'IRANSansWeb', sans-serif;
    color: #fff;
    font-size: 15px;
}

.footer-logo {
    width: 60px;
    background: white;
    padding: 0px;
    margin: -5px;
    border-radius: 5px;
}

.footer-phone {
    font-weight: bold;
    direction: ltr;
    font-family: 'IRANSansWeb-Bold';
    color: #fffffe;
    font-size: 20px;
    padding: 0 10px;
}

.footer-btn {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'IRANSansWeb-Bold', sans-serif;
    transition: background-color 0.3s;
    text-decoration:none;
}

.footer-btn:hover {
    background-color: #dfe9ff;
}
.serialnum{
    text-align: left;
}
.serialnum::placeholder{
    text-align: right;
}

@media (max-width: 768px) {
    .row {
        flex-direction: column-reverse;
    }
    .right-section, .left-section {
        width: 100%;
    }
    .option {
        width: 100%;
    }
    .buttons {
        flex-direction: column;
    }
    .submit-btn, .check-serial {
        width: 100%;
        margin-bottom: 10px;
    }
    .footer {
        flex-direction: column;
        align-items: center;
    }
    .footer-section {
        margin-bottom: 10px;
        text-align: center;
    }
    .footer-buttons {
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    .footer-button {
        flex: 0 0 48%;
        max-width: 46%;
    }
    .footer-section.left {
        text-align: center;
        max-width: 100%;
    }
    .footer-section.right {
        text-align: center;
        max-width: 100%;
    }
    .footer-section.middle {
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 425px) {
    .options {
        flex-direction: column;
    }
    .left-section {
        padding: 10px;
    }
    .store-info-container {
        margin-top: 70px;
        margin-bottom: 30px;
    }
    .footer {
        flex-direction: column;
        align-items: center;
    }
    .footer-button {
        flex: 0 0 100%;
        max-width: 46%;
        font-size: 15px;
    }
    .footer-section.left {
        text-align: center;
        max-width: 100%;
    }
    .footer-section.right {
        text-align: center;
        max-width: 100%;
    }
    .footer-section.middle {
        text-align: center;
        max-width: 100%;
    }
}
