﻿:root {
    --colormain: rgb(0, 47, 90);
    --colormainhover: #27255F;
    --colorsecond: #E9E9FF;
    --light-green: #8fdd71;
    --black: #0000;
    --white: #ffff;
    --bg: #F9F9F9;
}

* {
    font-family: "vazir";
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: all 0.5s;
}

body {
    background: var(--bg)
}

html {
    font-size: 100%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

.container {
    margin: 0 auto;
    width: 65%;
}

.bg-head {
    background: var(--colormain);
}

.bg-head-logo {
    width: 100px;
}

.bg-head-logo img {
    width: 100%;
}

.head-title {
    border-radius: 0.75rem;
    background: var(--colorsecond);
    flex-direction: row-reverse;
    position: relative;
    bottom: 40px;
}

.head-title-logo {
    width: 80px;
    height: 80px;
}

.head-title-logo img {
    width: 100%;
}

.saya-pay-logo {
    width: 130px;
}

.ticket-card {
    background: var(--white);
    border: 1px solid lightgray;
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
}

.ticket-card::before,
.ticket-card::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    background-color: var(--bg);
    border-radius: 50%;
    z-index: 2;
}

.ticket-card::before {
    border-right: 2px solid lightgray;
    bottom: 40px;
    left: -14px;
}

.ticket-card::after {
    border-left: 2px solid lightgray;
    bottom: 40px;
    right: -14px;
}

.mobile-card {
    background: var(--colorsecond);
    border: 1px solid lightgray;
    border-radius: 1rem;
    padding: 1.5rem;
}

.mobile-card-input {
    direction: rtl;
    border-radius: 0.5rem;
    border: 1px solid lightgray;
    width: 90%;
}

.card-submit {
    border-radius: 0.5rem;
    background: var(--colormain);
    color: var(--white);
    width: 90%;
    transition: all 0.5s;
}

.card-submit:hover {
    background: var(--colormainhover);
}

.point-card {
    background: var(--colorsecond);
    border: 1px solid lightgray;
    border-radius: 1rem;
    padding: 1.5rem;
}

.bg-foot {
    background: var(--colormain);
}

.credit-card {
    background: var(--colorsecond);
    border: 1px solid lightgray;
    border-radius: 1rem;
    padding: 2rem;
}

.input-pass-box {
    direction: rtl;
    border-radius: 0.5rem;
    border: 1px solid lightgray;
    width: 90%;
}

input[type="radio"]:checked {
    accent-color: var(--colormain);
}

.btn-pass {
    font-family: vazir;
    background: var(--colormain);
    border-radius: 0.5rem 0 0 0.5rem;
    padding-top: 0.3rem;
    padding-bottom: 0.2rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.input-pass {
    border-radius: 0 0.5rem 0.5rem 0;
}

.char-input {
    direction: rtl;
    border: 1px solid lightgray;
    font-size: 14px;
    border-radius: 0 0.5rem 0.5rem 0;
}

.char-chareacter {
    border-radius: 0.5rem 0 0 0.5rem;
    border: 1px solid lightgray;
}

.ticket-card-pay {
    background: var(--white);
    border: 1px solid lightgray;
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
}

.ticket-card-pay::before,
.ticket-card-pay::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    background-color: var(--colorsecond);
    border-radius: 50%;
    z-index: 2;
}

.ticket-card-pay::before {
    border-right: 2px solid lightgray;
    bottom: 40px;
    left: -14px;
}

.ticket-card-pay::after {
    border-left: 2px solid lightgray;
    bottom: 40px;
    right: -14px;
}

.check-payment-box i {
    font-size: 50px;
    color: var(--light-green);
}

.message-payment-box h4 {
    color: var(--light-green);
}

.btn-green-pay {
    background: var(--light-green);
    border-radius: 0.5rem;
    padding: 0.5rem;
    color: var(--white);
    width: 60%;
}
/* کلاس فوتر */
.footerFix {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}

/* برای دسکتاپ */
@media (min-width: 992px) {
    .footerFix {
        position: fixed;
        bottom: 0;
    }

    /* ایجاد فضای خالی خودکار در دسکتاپ */
    body::after {
        content: '';
        display: block;
        height: 100px; /* ارتفاع فوتر */
    }
}

/* برای موبایل */
@media (max-width: 991.98px) {
    .footerFix {
        position: static;
        bottom: auto;
    }

    body::after {
        display: none;
    }
}