@font-face {
    font-family: 'IRANSans';
    src: url('/epersianhotel/assets/fonts/iransans/ttf/IRANSansWeb(FaNum).ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* فونت همگانی */
.tbf-form,
.tbf-form * {
    font-family: 'IRANSans' !important;
    box-sizing: border-box;
}

/* استایل کلی فرم */
.tbf-form {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #e5e5e5;
}

/* لیبل‌ها */
.tbf-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    text-align: right;
}

/* فیلدها */
.tbf-form input,
.tbf-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    background: #fafafa;
    font-size: 15px !important;
    outline: none;
    transition: 0.2s;
    margin-bottom: 2% !important;
}

.tbf-form input:focus,
.tbf-form select:focus {
    border-color: #0088ff;
    background: #fff;
}

/* چیدمان دو ستونه */
.tbf-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

/* یک ستون */
.tbf-row-1 {
    margin-top: 10px;
}

/* دکمه */
.tbf-btn {
    width: 100%;
    background: #FF515B;
    color: #fff;
    padding: 14px;
    margin-top: 25px;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    cursor: pointer;
    transition: 0.2s;
}

.tbf-btn:hover {
    background: #006cd4;
}

/* پیام موفقیت */
.tbf-success {
    background: #e7ffe8;
    border: 1px solid #a5d6a7;
    padding: 14px;
    margin-bottom: 20px;
    border-radius: 10px;
    color: #2e7d32;
    font-size: 15px;
    text-align: right;
}

/* موبایل */
@media (max-width: 767px){

    /* همچنان دو ستونه بماند */
    .tbf-form .tbf-2col{
        display:grid;
        grid-template-columns: 1fr 1fr;
        gap:16px;
    }

    /* فقط کمی جمع‌تر شود */
    .tbf-form{
        padding:18px;
    }

}



/* اجبار دو ستونه در موبایل */
@media (max-width: 767px){

.tbf-2col{
    display:grid !important;
    grid-template-columns: repeat(2,1fr) !important;
    gap:20px !important;
}

/* هر آیتم داخل گرید نصف عرض */
.tbf-2col > div{
    width:100% !important;
    grid-column:auto !important;
}

/* جلوگیری از استایل‌های ریسپانسیو المنتور */
.elementor-column,
.elementor-col-100,
.elementor-col-50{
    width:auto !important;
}

}



