/* 2Fit overrides on top of the Gymove template */
:root { --tf-yellow: #F5D311; --tf-ink: #0A0A0B; }

body, h1, h2, h3, h4, h5, h6, .btn, .form-control, .nav-text, .dashboard_bar, .dropdown-item, table, .swal2-popup, .toast {
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
}
.tf-brand { font-weight: 800; font-size: 1.25rem; color: var(--tf-ink); white-space: nowrap; }
[data-theme-version="dark"] .tf-brand { color: #fff; }
.nav-header .logo-abbr { max-height: 46px; width: auto; }
.tf-login { background: #111 radial-gradient(ellipse at top, #2a2a2a, #0b0b0b); }
.tf-login .authincation-content { border-top: 4px solid var(--tf-yellow); }

.deznav .metismenu > li > a i { font-size: 1.15rem; width: 1.6rem; text-align: center; }
.tf-lead-bell { position: relative; }
.tf-lead-bell .badge { position: absolute; top: 2px; left: 2px; font-size: 11px; }

.tf-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: .6rem; background: #f2f2f2; }
.tf-thumb-lg { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: .8rem; }
.tf-swatch { display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; margin-inline-end: .4rem; vertical-align: middle; }
.tf-muted { color: #8a8a8a; }
.tf-old { text-decoration: line-through; color: #9a9a9a; font-size: .85em; margin-inline-start: .35rem; }
.tf-empty { padding: 3rem 1rem; text-align: center; color: #999; }
.tf-help { font-size: .8rem; color: #8a8a8a; margin-top: .25rem; }
.tf-stat .fs-1 { font-weight: 800; }
.table td, .table th { vertical-align: middle; }
.modal-header .btn-close { margin: 0; }
.form-control[dir="ltr"] { text-align: left; }
.modal .form-select, .card-body .form-select:not(.form-select-sm) { width: 100%; }
[direction="rtl"] .form-select { background-position: left .75rem center; padding-left: 2.25rem; padding-right: .75rem; }

/* Weekly schedule */
.tf-week { display: grid; grid-template-columns: repeat(7, minmax(118px, 1fr)); gap: .6rem; overflow-x: auto; }
.tf-day { background: #fff; border-radius: .8rem; padding: .6rem; min-height: 220px; border: 1px solid #eee; }
.tf-day.is-today { border-color: var(--tf-yellow); box-shadow: 0 0 0 2px rgba(245, 211, 17, .35); }
.tf-day h6 { text-align: center; margin-bottom: .6rem; font-weight: 700; }
.tf-slot { border-radius: .6rem; padding: .45rem .55rem; margin-bottom: .45rem; cursor: pointer; background: #fafafa;
    border-inline-start: 4px solid var(--c, #ccc); transition: transform .1s; font-size: .85rem; }
.tf-slot:hover { transform: translateY(-1px); background: #f3f3f3; }
.tf-slot .t { font-weight: 700; direction: ltr; display: inline-block; }
.tf-slot.inactive { opacity: .45; }
[data-theme-version="dark"] .tf-day { background: #1e1e2d; border-color: #2c2c3c; }
[data-theme-version="dark"] .tf-slot { background: #26263a; }

/* Notification composer preview */
.tf-phone { background: #1b1b1b; border-radius: 1.4rem; padding: 1.1rem; color: #fff; }
.tf-push { background: rgba(255,255,255,.12); border-radius: .9rem; padding: .7rem .8rem; display: flex; gap: .6rem; }
.tf-push img { width: 34px; height: 34px; border-radius: .5rem; background: #000; object-fit: contain; }
.tf-push b { display: block; font-size: .9rem; }
.tf-push span { font-size: .82rem; opacity: .85; white-space: pre-wrap; }

.tf-status { font-weight: 600; }
#status-tabs { flex-wrap: nowrap; overflow-x: auto; }
#status-tabs .nav-link { white-space: nowrap; }

/*
 * RTL page offsets. The template's compiled CSS mirrors the sidebar itself but
 * not the space the content leaves for it, so the first column sat under the
 * menu. These mirror the LTR offsets for each sidebar state.
 */
[direction="rtl"] .content-body { margin-left: 0 !important; margin-right: 21.563rem; }
[direction="rtl"] .header, [direction="rtl"] .footer { padding-left: 0 !important; padding-right: 21.563rem; }
@media (max-width: 1400px) {
    [direction="rtl"] .content-body { margin-right: 17rem; }
    [direction="rtl"] .header, [direction="rtl"] .footer { padding-right: 17rem; }
}
[direction="rtl"] .menu-toggle .content-body, [direction="rtl"] .menu-toggle .footer,
[direction="rtl"][data-sidebar-style="mini"] .content-body, [direction="rtl"][data-sidebar-style="mini"] .footer { margin-right: 5rem; padding-right: 0; }
[direction="rtl"] .menu-toggle .footer, [direction="rtl"][data-sidebar-style="mini"] .footer { margin-right: 0; padding-right: 5rem; }
[direction="rtl"] .menu-toggle .header, [direction="rtl"][data-sidebar-style="mini"] .header { padding-right: 5rem; }
@media (max-width: 767px) {
    [direction="rtl"] .content-body, [direction="rtl"] .menu-toggle .content-body { margin-right: 0 !important; }
    [direction="rtl"] .header, [direction="rtl"] .footer, [direction="rtl"] .menu-toggle .header { padding-right: 5rem; }
}
.tf-hours td { padding: .25rem .4rem; }
