/*.navbar-brand {*/
/*font-family: 'Peralta', cursive;*/
/*}*/
@font-face {
    font-family: "yekan";
    src: url(../fonts/Yekan.eot);
    src: url(../fonts/Yekan.eot?#iefix) format("embedded-opentype"), url(../fonts/Yekan.woff) format("woff"), url(../fonts/Yekan.ttf) format("truetype"), url(../fonts/Yekan.svg#BYekan) format("svg");
    font-weight: normal;
    font-style: normal
}

* {
    font-family: "yekan";
    font-size: 15px;
    /*direction: rtl;*/
}

.clickable-row {
    cursor: pointer;

}

.clickable-row:hover {
    background-color: #5cabdce6;
}

thead th {
    text-align: center;
}

input.hidden {
    position: absolute;
    left: -9999px;
}

#profile-image1 {
    cursor: pointer;

    width: 100px;
    height: 100px;
    border: 2px solid #03b1ce;
}

.tital {
    font-size: 16px;
    font-weight: 500;
}

.bot-border {
    border-bottom: 1px #f8f8f8 solid;
    margin: 5px 0 5px 0
}

a {
    text-decoration: none !important;
}

.detail_box {
    margin-bottom: 20px;
}

.required:after {
    content: '*';
    color: red;
}

.edit_btn {
    margin: 10px;
}

body {
    background-size: auto;
    padding-bottom: 70px;
    background: url(../img/background_pattern.png) repeat scroll center center;
    /*background-color: #d3d5db;*/
}

.app-main-container {
    padding: 10px 12px;
}

@media (min-width: 768px) {
    .app-main-container {
        padding: 10px 30px;
    }
}

@media (min-width: 1200px) {
    .app-main-container {
        padding: 10px 50px;
    }
}

/* --- Search / filter forms (list pages) --- */
#search_field {
    margin-bottom: 10px;
    text-align: center;
}

#search_field .info_table {
    width: 100%;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 6px;
}

#search_field .info_table,
#search_field .info_table tbody,
#search_field .info_table tr,
#search_field .info_table td {
    border: none;
}

.detail_box .form-control,
.detail_box select,
.detail_box textarea {
    max-width: 100%;
}

/* موبایل/تبلت: فیلدهای جستجو زیر هم */
@media (max-width: 991.98px) {
    #search_field .info_table tbody {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    #search_field .info_table tr {
        display: contents;
    }

    #search_field .info_table td {
        flex: 1 1 100%;
        min-width: 0;
        padding: 0.35rem;
        vertical-align: top;
        display: block;
    }

    #search_field .input-group {
        flex-wrap: wrap;
        width: 100%;
    }

    #search_field .input-group .form-control {
        min-width: 0;
        flex: 1 1 auto;
    }

    .detail_box .info_table tbody {
        display: flex;
        flex-wrap: wrap;
    }

    .detail_box .info_table tr {
        display: contents;
    }

    .detail_box .info_table td {
        flex: 1 1 100%;
        min-width: 0;
        padding: 0.5rem;
        display: block;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    #search_field .info_table td {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .detail_box .info_table td {
        flex: 1 1 50%;
    }
}

/* دسکتاپ: همان چیدمان جدولی قبلی */
@media (min-width: 992px) {
    #search_field .info_table tbody {
        display: table-row-group;
    }

    #search_field .info_table tr {
        display: table-row;
    }

    #search_field .info_table td {
        display: table-cell;
    }

    #search_field .input-group {
        flex-wrap: nowrap;
    }

    .detail_box .info_table tbody {
        display: table-row-group;
    }

    .detail_box .info_table tr {
        display: table-row;
    }

    .detail_box .info_table td {
        display: table-cell;
    }
}

/* --- Pagination --- */
.app-pagination {
    margin: 1.25rem 0 3.5rem;
    clear: both;
}

.app-pagination .pagination {
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.35rem;
}

.app-pagination .page-link {
    min-width: 2.4rem;
    text-align: center;
    border-radius: 4px;
}

.app-pagination .pagination-summary {
    font-size: 13px;
    margin: 0;
}
@media (max-width: 767px) {
    .breadcrumb .btn {
        margin-bottom: 0.35rem;
    }

    .today_date {
        display: none;
    }
}

select {
    /*overflow: visible;*/
    /*height: 35px !important;*/
    padding: 0 !important;
}

.horizontal_separator {
    border-top: 2px solid #8c8b8b;
    border-bottom: 2px solid #fff;
}

.info_table tr, .info_table tr td {
    padding-top: 5px;
    padding-bottom: 5px;
    border-top: none !important;
}

.box_padding {
    padding: 0 20px 10px 20px;
}

.circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    font-size: 20px;
    color: #fff;
    line-height: 200px;
    text-align: center;
    background: #53a7ea;
}

.circle:hover {
    background: darkblue;
    box-shadow: 1px 1px #53a7ea,
    2px 2px #53a7ea,
    3px 3px #53a7ea;
    -webkit-transform: translateX(-10px);
    transform: translateX(-10px);
}

.visit_num {
    font-size: 20px;
}

#userMenu {
    color: white;
}

.progressbar_statistics {
    margin: 5px 2px;
}

.card-block, .box-body {
    background: whitesmoke;
}

.last_td {
    font-weight: bold;
    background-color: darkkhaki;
}

.last_tr {
    font-weight: bold;
    background-color: lightgreen !important;
}

input::-webkit-calendar-picker-indicator {
    opacity: 100;
}

#accounting_summary tr td {
    font-size: 20px;

}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #343a40;
    color: white !important;
    text-align: center;
    /*bottom:0;*/
    /*position:absolute;*/
}

.routerlink {
    font-size: 50px !important;
}

/* --- Consultations dashboard (/consultations/) --- */
.consultations-dashboard {
    max-width: 1100px;
    margin: 0 auto;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.dashboard-header-title {
    font-size: 1.5rem;
    margin: 0 0 0.35rem;
    color: #343a40;
}

.dashboard-header-subtitle {
    margin: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

.dashboard-section {
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.dashboard-section-title {
    font-size: 1.05rem;
    margin: 0 0 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
    color: #495057;
}

.dashboard-section-title .fa {
    margin-left: 0.35rem;
    color: #6c757d;
}

.dashboard-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 118px;
    padding: 0.85rem 0.5rem;
    text-align: center;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    height: 100%;
}

.dashboard-tile:hover,
.dashboard-tile:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none !important;
}

.dashboard-tile-icon {
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 0.45rem;
}

.dashboard-tile-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #343a40;
    line-height: 1.35;
}

.dashboard-tile-meta {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: #6c757d;
}

.dashboard-tile.tile-primary {
    border-color: #b8daff;
}

.dashboard-tile.tile-primary .dashboard-tile-icon {
    color: #007bff;
}

.dashboard-tile.tile-success {
    border-color: #c3e6cb;
}

.dashboard-tile.tile-success .dashboard-tile-icon {
    color: #28a745;
}

.dashboard-tile.tile-danger {
    border-color: #f5c6cb;
}

.dashboard-tile.tile-danger .dashboard-tile-icon {
    color: #dc3545;
}

.dashboard-tile.tile-info {
    border-color: #bee5eb;
}

.dashboard-tile.tile-info .dashboard-tile-icon {
    color: #17a2b8;
}

.dashboard-tile.tile-warning {
    border-color: #ffeeba;
}

.dashboard-tile.tile-warning .dashboard-tile-icon {
    color: #e0a800;
}

@media (max-width: 575.98px) {
    .dashboard-header-title {
        font-size: 1.25rem;
    }

    .dashboard-tile {
        min-height: 100px;
        padding: 0.65rem 0.35rem;
    }

    .dashboard-tile-icon {
        font-size: 1.45rem;
    }

    .dashboard-tile-label {
        font-size: 0.82rem;
    }
}

.no_result_div {
    margin: auto;
    text-align: center;
    color: red;
    font-size: 30px;
}

.object-counter {
    font-size: 14px;
}

#schedule_table td:nth-child(even) {
    background-color: #f0ffef;
}

/*#schedule_table td:hover { background-color: #eee; }*/


