/* ریشه فرم شورتکد */
.ctp-ticket-form-wrapper {
    max-width: 380px;
    margin: 0 auto;
    direction: rtl;
    text-align: right;
    font-family: inherit;
}

/* خود فرم */
.ctp-ticket-form {
    margin: 0;
}

/* هر فیلد (p) */
.ctp-ticket-form p {
    margin: 0 0 12px;
}

/* لیبل‌ها رو برای ظاهر پنهان می‌کنیم ولی برای دسترس‌پذیری نگه می‌داریم */
.ctp-ticket-form label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* اینپوت‌ها و سلکت‌ها: شبیه کارت سفید با گوشه گرد */
.ctp-ticket-form input[type="text"],
.ctp-ticket-form input[type="tel"],
.ctp-ticket-form input[type="number"],
.ctp-ticket-form select {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border-radius: 12px;
    border: none;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    font-size: 14px;
    color: #222;
    outline: none;
}

/* فاصله بین دو سلکت بالا کمی بیشتر برای شباهت به طرح */
.ctp-ticket-form p:first-of-type,
.ctp-ticket-form p:nth-of-type(2) {
    margin-bottom: 10px;
}

/* placeholder شبیه طرح */
.ctp-ticket-form ::placeholder {
    color: #b8b8b8;
    opacity: 1;
}

/* استایل سلکت‌ها (فلش ساده سمت چپ برای حالت RTL) */
.ctp-ticket-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #c0c0c0 50%),
                      linear-gradient(135deg, #c0c0c0 50%, transparent 50%);
    background-position: left 18px center, left 14px center;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-left: 32px;
}

/* جلوگیری از فلش پیش‌فرض فایرفاکس */
.ctp-ticket-form select::-ms-expand {
    display: none;
}

/* ردیف مبلغ */
#ctp-price-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 24px 0px;
    font-size: 14px;
    color: #222;
    justify-content: space-between;
}

/* متن مبلغ */
#ctp-total-price {
    font-weight: 600;
}

/* دکمه پرداخت شبیه تصویر: سبز، تمام عرض، گرد */
.ctp-ticket-form button[type="submit"],
.ctp-ticket-form .button-primary {
    width: 100%;
    border-radius: 10px;
    border: none;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 600;
    background-color: #007f5f; /* سبز تیره */
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0, 127, 95, 0.25);
    transition: transform 0.08s ease-out, box-shadow 0.08s ease-out, background-color 0.15s;
}

/* حالت hover دکمه */
.ctp-ticket-form button[type="submit"]:hover,
.ctp-ticket-form .button-primary:hover {
    background-color: #00674d;
    box-shadow: 0 8px 18px rgba(0, 127, 95, 0.3);
}

/* حالت active */
.ctp-ticket-form button[type="submit"]:active,
.ctp-ticket-form .button-primary:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(0, 127, 95, 0.2);
}
.ctp-ticket-form-wrapper input {
    text-align: right;
}
form.ctp-ticket-form {
    margin-top: 32px;
}
.ctp-form-row {
    margin-top: 12px;
}