﻿
@font-face {
    font-family: 'iransansweb';
    src: url('/fonts/IRANSansWeb.woff2') format('woff2'), url('/fonts/IRANSansWeb.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'bnazanin';
    src: url('../fonts/bnazanin.ttf') format('truetype');
}
@font-face {
    font-family: 'bnazaninbold';
    src: url('../fonts/bnazaninbold.ttf') format('truetype');
}
@font-face {
    font-family: 'vazir';
    src: url('../fonts/vazir.ttf') format('truetype');
}
@font-face {
    font-family: 'iransans';
    src: url('../fonts/iransans.ttf') format('truetype');
}
html, body, footer {
    font-family: 'iransans', Tahoma, sans-serif;
    font-size: 16px;
    direction: rtl;
}
h1, h2, h3 {
    text-align: center !important;
    font-family: 'vazir', Tahoma, sans-serif;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 4px;
    overflow-x: hidden;
}
.alert p { 
    direction: rtl;
}
.alert-danger {
    direction: rtl;
}
.form-label.rtl {
    direction: rtl;
    float:right;
}
.table,.pb-3 {
    direction: rtl;
}
.modal-title {
    width: 95%;
}
.modal-xl {
    max-width: 95% !important; /* تقریباً تمام عرض صفحه */
}

    .modal-xl .modal-body {
        max-height: 80vh; /* تا 80 درصد ارتفاع صفحه */
        overflow-y: auto; /* اسکرول عمودی در صورت نیاز */
    }
.progress-bar {
    padding: 2px;
    height:30px
}
.progress {
    font-size: 15px;
    height: 30px
}
.me-2 {
    margin-left: .5rem !important;
}
.Boxrtl
{
    direction:rtl!important;
}
footer {
    font-size: 12px !important;
    line-height: 0px !important;
}
footer.footer {
    direction: rtl; /* راست‌چین کردن فوتر */
    text-align: right;
    color: #00796b !important; /* سبز-فیروزه‌ای برای برند */
}

    footer.footer a {
        color: #00796b !important; /* سبز-فیروزه‌ای برای برند */
    }

        footer.footer a:hover {
            text-decoration: underline;
        }
.accordion-button {
    background-color: #e9f2ff;
    color: #258cfb;
}

    .accordion-button:focus {
        box-shadow: 0 0 0 0.2rem rgba(37,140,251,.25);
    }

.accordion-item {
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card {
    border-radius: 10px;
}

a {
    color: #258cfb;
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }
.navbar-nav {
    direction: rtl;
   
}


.nav-link:hover {
    color: #0d6efd !important;
    text-decoration: none;
}
  
.nav-link {
    font-size: 15px;
    transition: all 0.2s;
    color: #00bcd4 !important; /* رنگ فیروزه‌ای */
}

th {
    text-align:center ; 
    font-size: 16px;
}

td {
    text-align: center !important;
    font-size: 14px;
}
.navbar {
    background-color: #f0f8ff; /* آبی خیلی روشن */
}

/* لوگو و برند */
.navbar-brand { 
    font-size: 18px;
    color: #00796b !important; /* سبز-فیروزه‌ای برای برند */
} 

/* دکمه خروج */
.btn-outline-danger {
    font-weight: bold;
}
@media (max-width: 992px) {
    .navbar-nav {
        text-align: right;
    }
}
#LicenseTable tbody tr:hover {
    background-color: #b2ebf2;
    transition: 0.3s;
}
.pb-3
{
    min-height:400px
}
#LicenseTable img {
    object-fit: cover;
}

#LicenseTable td span {
    font-size: 0.85rem;
}
#frontPreview, #backPreview {
    max-width: 100%;
    max-height: 250px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

    #frontPreview:hover, #backPreview:hover {
        transform: scale(1.05);
    }

.navbar-nav .active-menu {
    color: #008B8B !important; /* فیروزه‌ای */
    background-color: #E0F7FA; /* پس‌زمینه روشن */
    border-radius: 5px;
}

.navbar-nav .nav-link:hover {
    color: #007BFF !important; /* آبی روشن هنگام هاور */
}
