/* Generated by script */
@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/Vazirmatn-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/Vazirmatn-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/Vazirmatn-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
body { font-family: 'Vazirmatn', sans-serif;background-color: aliceblue; }
.wrapper {
    display: flex;
    flex-direction: column; /* آیتم‌ها را به صورت ستونی مرتب می‌کند */
    min-height: 100vh; /* حداقل ارتفاع را برابر با ارتفاع viewport (صفحه نمایش) قرار می‌دهد */
    /* یا min-height: 100%; اگر body را به عنوان container flex تنظیم کرده‌اید */
}

.select2-container .select2-selection--single {
    height: calc(2.25rem + 2px); /* برای همخوانی با ارتفاع input بوت‌استرپ */
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem; /* پدینگ داخلی */
}
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
    top: 50%;
    transform: translateY(-50%);
    left: 0.75rem; /* موقعیت پیکان در RTL */
    right: auto;
}
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear {
    right: auto;
    left: 2rem; /* موقعیت دکمه Clear در RTL */
}
.copy-btn{
    font-size: 1.3rem;
    padding: 0;
    border: none;
}
.table-responsive {
    overflow-x: unset;
}
.datepicker-plot-area .datepicker-day-view .table-days td span, .datepicker-plot-area .datepicker-year-view .year-item, .datepicker-plot-area .datepicker-month-view .month-item,button, input, optgroup, select, textarea,.datepicker-plot-area .toolbox,.datepicker-plot-area .datepicker-navigator .pwt-btn-switch,.datepicker-plot-area .datepicker-day-view .month-grid-box .header .header-row-cell {
    font-family: 'Vazirmatn', sans-serif;
}
.table {
    text-align: center;
}
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
    padding-left: 8px;
    padding-right: 20px;
}
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear {
    left: 1rem;
}
.table>:not(caption)>*>* {
    padding: 0.1rem 0.1rem;
}
.table-bordered>:not(caption)>*>* {
    vertical-align: middle;
}
.cursor-p{
    cursor: pointer;
}
table.dataTable>thead .sorting:before, table.dataTable>thead .sorting_asc:before, table.dataTable>thead .sorting_desc:before, table.dataTable>thead .sorting_asc_disabled:before, table.dataTable>thead .sorting_desc_disabled:before {
    left: 1em;
    right: auto !important;
}
table.dataTable>thead .sorting:after, table.dataTable>thead .sorting_asc:after, table.dataTable>thead .sorting_desc:after, table.dataTable>thead .sorting_asc_disabled:after, table.dataTable>thead .sorting_desc_disabled:after {
    left: .5em;
    right: auto !important;
}
table.dataTable>thead>tr>th:not(.sorting_disabled), table.dataTable>thead>tr>td:not(.sorting_disabled) {

    padding: 0.5rem 0 0 1rem !important;
}
.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
border-radius: 5px 0 0 5px;
}
.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control, .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select, .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-radius: 0 5px 5px 0;
}
.form-check .form-check-input {
    float: right;
    margin-left: 0.5em;
}
.page-item:last-child .page-link {
    border-radius: 5px 0 0 5px;
}
.page-item:first-child .page-link {
    border-radius: 0 5px 5px 0;
}
.ticket-header{
    background: whitesmoke;
    margin: 5px;
    border: 1px solid #a3a3a3;
    border-radius: 5px;
    padding: 5px;
}
.admin-ticket{
    background: cornsilk;
}
.user-ticket{
    background: floralwhite;
}
.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating)
{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    text-align: right;
    direction: rtl;
}

.form-container {
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}
.bg-lighti{
    background-color: #e9e9e9;
}
.turnstile-container { margin-top: 1rem; margin-bottom: 1rem; }

/* Base styles */
body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}


/* Shorten Form */
.shorten-form {
    background-color: white;
    padding: 25px; /* Adjusted padding */
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    max-width: 600px; /* Adjusted max-width */
    margin: 0 auto;
}
.shorten-form .form-control {
    border-radius: 8px;
    height: 48px; /* Adjusted height */
    font-size: 1em; /* Adjusted font size */
    border: 1px solid #ddd;
}
.shorten-form .btn {
    border-radius: 8px;
    height: 48px; /* Adjusted height */
    font-size: 1em; /* Adjusted font size */
    font-weight: 600;
    background-color: #764ba2;
    border-color: #764ba2;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.shorten-form .btn:hover {
    background-color: #6a408e;
    border-color: #6a408e;
}

/* Feature Section */
.features-section, .how-it-works-section, .cta-section {
    padding: 50px 0; /* Adjusted padding */
    background-color: aliceblue;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}
.section-title {
    font-size: 2.2em; /* Adjusted font size */
    font-weight: 700;
    color: #444;
    margin-bottom: 40px;
}
.feature-item {
    cursor: pointer;
    background:white;
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 25px; /* Added margin for spacing on small screens */
}
.feature-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-5px);
}
.feature-item h3 {
    font-size: 1.4em; /* Adjusted font size */
    margin-bottom: 10px;
    font-weight: 600;
}
.feature-item p {
    font-size: 0.95em;
}

/* How it works section */
.step-box {
    padding: 25px;
    border:1px solid #c5c5c5;
    border-radius: 8px;
    background-color: #fafafa;
    transition: all 0.3s ease;
    margin-bottom: 25px; /* Added margin for spacing on small screens */
}
.step-box:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.step-box .step-number {
    font-size: 2em; /* Adjusted font size */
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}
.step-box h3 {
    font-size: 1.3em; /* Adjusted font size */
    margin-bottom: 8px;
    font-weight: 600;
}
.step-box p {
    font-size: 0.9em;
}

/* CTA Section */
.cta-section {
    background-color: #343a40;
    color: white;
    padding: 60px 0;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.cta-section h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    font-weight: 700;
}
.cta-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
}
/*.cta-section .btn {
    background-color: #667eea;
    border-color: #667eea;
    font-weight: 600;
    padding: 12px 30px;
    font-size: 1.1em;
    border-radius: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.cta-section .btn:hover {
    background-color: #556cdc;
    border-color: #556cdc;
}*/
.cta-section .btn:hover{
    color: var(--bs-btn-active-color);
    background-color: var(--bs-btn-active-bg);
    border-color: var(--bs-btn-active-border-color);
}
.cta-section .btn-reg{
    background-color: #ffc107;
    border-color: #ffc107;
    color: #161616;
}
.cta-section .btn-contact{
    background-color: #28a745;
    border-color: #28a745;
    color: #ffffff;
}

/* Footer */
.footer {
    background-color: #222;
    color: #eee;
    padding: 25px 0;
    text-align: center;
    margin-top: 40px;
}
.footer p {
    font-size: 0.9em;
    margin-bottom: 0;
}




.ticket-text{
    white-space: pre-wrap;
}
.otp-input {
        width: 45px !important; /* یا هر اندازه‌ای که مناسب است */
        height: 50px;
        font-size: 1.5rem;
        border: 1px solid #ced4da;
        border-radius: .25rem;
        transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.otp-input:focus {
        border-color: #86b7fe;
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}
#countdown {
            font-size: 2.5em;
            font-weight: bold;
            color: #0d6efd;
            margin-bottom: 20px;
}
#redirectLink {
            font-size: 1.1em;
            color: #007bff;
            text-decoration: none;
}
.ad-space {
            background-color: #e9ecef;
            padding: 20px;
            margin: 30px 0;
            border-radius: 5px;
            min-height: 100px; /* فضای فرضی برای تبلیغ */
            display: flex;
            justify-content: center;
            align-items: center;
            color: #6c757d;
            font-style: italic;
}
.icon-circle {
    width: 70px;
    height: 70px;
    background-color: darkslateblue;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}
.feature-item:hover .icon-circle {
    background-color: blueviolet;
    box-shadow: 3px 3px 3px #8146b3;
}
tbody tr {
    text-align: center;
}

    /* هیرو سکشن (بخش بالایی) */
    .hero-section {
        background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%); /* تم رنگی متناسب با لوگوی احتمالی و جدیت کار */
        color: white;
        padding: 100px 0 60px 0;
        border-radius: 0 0 50px 50px;
        margin-bottom: 60px;
        position: relative;
        overflow: hidden;
    }
    
    .hero-bg-shape {
        position: absolute;
        top: -50px;
        left: -50px;
        width: 300px;
        height: 300px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        filter: blur(50px);
    }

    .hero-title {
        font-weight: 900;
        font-size: 2.8rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .hero-text {
        font-size: 1.1rem;
        opacity: 0.9;
        margin-bottom: 30px;
        line-height: 1.8;
    }

    .btn-custom-primary {
        background-color: #ffc107;
        color: #333;
        font-weight: bold;
        padding: 12px 30px;
        border-radius: 30px;
        transition: all 0.3s ease;
        border: none;
    }

    .btn-custom-primary:hover {
        background-color: #ffca2c;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .btn-custom-outline {
        background-color: transparent;
        border: 2px solid rgba(255,255,255,0.8);
        color: white;
        font-weight: bold;
        padding: 12px 30px;
        border-radius: 30px;
        transition: all 0.3s ease;
        margin-right: 10px;
    }

    .btn-custom-outline:hover {
        background-color: white;
        color: #2c3e50;
    }

    /* بخش ویژگی‌ها */
    .feature-card {
        background: white;
        padding: 30px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
        height: 100%;
        border: 1px solid #eee;
        text-align: center;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        border-color: #4ca1af;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        line-height: 70px;
        border-radius: 50%;
        background: #eef2f5;
        color: #2c3e50;
        font-size: 30px;
        margin: 0 auto 20px auto;
        transition: all 0.3s;
    }

    .feature-card:hover .feature-icon {
        background: #2c3e50;
        color: #fff;
    }

    .feature-title {
        font-weight: bold;
        margin-bottom: 15px;
        color: #333;
    }

    .feature-desc {
        color: #666;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* بخش نمایش تصویر */
    .dashboard-preview {
        box-shadow: 0 20px 50px rgba(0,0,0,0.2);
        border-radius: 15px;
        overflow: hidden;
        border: 5px solid rgba(255,255,255,0.2);
        transition: transform 0.5s;
    }
    
    .dashboard-preview:hover {
        transform: scale(1.02);
    }

    /* بخش آمار */
    .stats-section {
        background-color: #fff;
        padding: 60px 0;
        margin-top: 80px;
    }
    .stat-item h3 {
        font-size: 2.5rem;
        font-weight: bold;
        color: #2c3e50;
    }
    .stat-item p {
        color: #777;
    }

    /* بخش فراخوان نهایی */
    .cta-section {
        background: #2c3e50;
        color: white;
        padding: 60px 0;
        text-align: center;
        border-radius: 20px;
        margin: 80px 0;
    }

    /* انیمیشن ساده */
    @keyframes float {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-15px); }
        100% { transform: translateY(0px); }
    }
    .floating-img {
        animation: float 6s ease-in-out infinite;
    }
      /* استایل بخش هیرو (زمینه آبی/تیره) */
        .hero-section {
            background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%);
            color: white;
            padding: 100px 0 80px 0;
            border-radius: 0 0 50px 50px;
            margin-bottom: 60px;
            position: relative;
        }

        /* دکمه طلایی (عضویت رایگان) */
        .btn-custom-primary {
            background-color: #ffc107 !important; /* رنگ زرد طلایی */
            color: #000 !important;       /* متن مشکی */
            border: none !important;
            font-weight: bold;
            padding: 12px 30px;
            border-radius: 30px;
            box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
            transition: all 0.3s ease;
        }

        .btn-custom-primary:hover {
            background-color: #ffca2c !important;
            transform: translateY(-3px);
        }

        /* دکمه توخالی (امکانات سامانه) */
        .btn-custom-outline {
            background-color: transparent !important;
            border: 2px solid #ffffff !important; /* خط سفید */
            color: #ffffff !important;            /* متن سفید */
            font-weight: bold;
            padding: 12px 30px;
            border-radius: 30px;
            transition: all 0.3s ease;
            text-decoration: none; /* حذف خط زیر لینک */
        }

        .btn-custom-outline:hover {
            background-color: #ffffff !important;
            color: #2c3e50 !important;
        }

        /* استایل کارت‌های ویژگی */
        .feature-card {
            background: white;
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            height: 100%;
            border: 1px solid #eee;
            text-align: center;
        }
        .feature-card:hover {
            transform: translateY(-10px);
            border-color: #4ca1af;
        }
        .feature-icon {
            width: 70px;
            height: 70px;
            line-height: 70px;
            border-radius: 50%;
            background: #eef2f5;
            color: #2c3e50;
            font-size: 30px;
            margin: 0 auto 20px auto;
        }
        .feature-card:hover .feature-icon {
            background: #2c3e50;
            color: #fff;
        }

        /* استایل اعداد آمار */
        .stats-section {
            background-color: #f8f9fa;
            padding: 60px 0;
            margin-top: 50px;
        }
        .stat-item h3 {
            font-size: 2.5rem;
            font-weight: bold;
            color: #2c3e50;
        }

        /* استایل دکمه CTA پایین صفحه */
        .cta-section {
            background: #2c3e50;
            color: white;
            padding: 60px 0;
            text-align: center;
            border-radius: 20px;
            margin: 80px 0;
        }
.direct{
    direction:rtl;
}