/* === Design z sample_design (new_header.tpl) – Chiptuning Asistent === */
:root {
  --ui-bg: #f9f9f9;
  --panel: #ffffff;
  --ink: #0f172a;
  --muted: #667085;
  --line: #e6ecf3;
  --dot: #eef2f7;
  --primary-500: #2f6bff;
  --primary-600: #1f54e6;
  --radius-sm: 16px;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --shadow: 0 8px 24px rgba(15,23,42,.06);
}

body { background: var(--ui-bg); color: var(--ink); }
.app-shell { max-width: 1520px; }
.brand { font-weight: 700; }

.nav-bubble { background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 6px 18px rgba(2,6,23,.04); padding: .5rem .75rem; }
.top-nav { margin: 0 auto; }
.top-nav .nav-link,
.mobile-user .nav-link {
  background: #f9f9f9; border-radius: 2rem; color: #475569; display: block; font-weight: 600; min-width: 110px; padding: .55rem 1.1rem; text-align: center; text-decoration: none; transition: all .25s ease;
}
.top-nav .nav-link:hover,
.mobile-user .nav-link:hover { background: #f3f7ff; }
.top-nav .nav-link.active,
.mobile-user .nav-link.active { background: linear-gradient(135deg,#4f8bff 0%,#2f6bff 100%); border-color: transparent; color: #fff; }

.btn-soft {
  background: #f9f9f9; border: none; border-radius: 2rem; color: #475569; font-weight: 600; transition: all .25s ease;
}
.btn-soft:hover { background: #f3f7ff; color: #475569; }
.btn-soft.active { background: linear-gradient(135deg,#4f8bff 0%,#2f6bff 100%); color: #fff; }
.btn-gradient { background: linear-gradient(135deg,#4f8bff 0%,#2f6bff 100%); border: none; border-radius: 2rem; color: #fff; }
.btn-gradient:hover { color: #fff; opacity: .95; }
.btn-soft .bi { opacity: .85; }

.page-title { color: var(--primary-500); font-size: 2.1rem; font-weight: 600; letter-spacing: .2px; }
.page-sub { color: var(--muted); font-size: 1rem; margin-top: .35rem; }

.sidebar-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

.section-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.section-card .card-header { border: 0; padding: 1rem 1rem 0.75rem; margin-bottom: 0; }
.card .card-header { padding: 1rem 1rem 0.75rem; }
.section-title { align-items: center; display: flex; font-size: 1.1rem; font-weight: 600; gap: .6rem; letter-spacing: .2px; margin: 0; }
.title-icon { align-items: center; background: #e8efff; border: 1px solid #dbe6ff; border-radius: 50%; color: #2f6bff; display: inline-flex; flex: 0 0 32px; height: 32px; justify-content: center; width: 32px; }
.section-card .card-body { padding: 1rem; }
.tile { align-items: center; background: #f9f9f9; border-radius: 14px; color: inherit; display: flex; gap: .75rem; padding: .9rem 1rem; text-decoration: none; transition: transform .12s ease, background .12s ease, box-shadow .12s ease; }
.tile + .tile { margin-top: .6rem; }
.tile:hover { background: #f3f7ff; }
.tile .ti { align-items: center; background: #eef2f7; border: 1px solid var(--line); border-radius: 10px; color: #5b6b7b; display: inline-flex; height: 28px; justify-content: center; width: 28px; }
.tile .tx { flex: 1 1 auto; }
.tile .arrow { color: #98a2b3; }
.tile.active { background: linear-gradient(135deg,#4f8bff 0%,#2f6bff 100%); border-color: transparent; color: #fff; }
.tile.active .ti { background: #94b7fc; border: initial; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card .card-header { border: 0; padding: 1rem 1rem 0; background: initial; }
.card .title { align-items: center; display: flex; font-size: 1.1rem; font-weight: 600; gap: .6rem; letter-spacing: .2px; }
.card .title-icon { align-items: center; background: #e8efff; border: 1px solid #dbe6ff; border-radius: 50%; color: #2f6bff; display: inline-flex; flex: 0 0 32px; height: 32px; justify-content: center; width: 32px; }
.card .card-body { padding: 1rem; }

.logout { background: #fff6f6 !important; border-color: #ffe1e1 !important; color: #c01b1b !important; }
.logout:hover { background: #ffecec !important; }

.search { max-width: 520px; }
.search-wrap { position: relative; }
.search-wrap .bi { left: .9rem; opacity: .7; position: absolute; top: 50%; transform: translateY(-50%); }
.search-input { background: #fff; border: 1px solid var(--line); border-radius: 999px; height: 44px; padding-left: 2.25rem !important; }
.search-input:focus { border-color: var(--primary-500); box-shadow: 0 0 0 .2rem rgba(47,107,255,.15); }

.table thead th { background: #f8fafc; border-bottom: 1px solid var(--line); color: #334155; font-weight: 600; }
.table tr td { vertical-align: middle; }
.table-hover tbody tr { transition: background-color .12s ease; }
.table.table-hover { --bs-table-hover-bg: #f3f7ff; }
.table-actions .btn { border-radius: 999px; padding: .35rem .75rem; }
.table-wrap { overflow-x: auto; }

.pagination .page-link { border: 1px solid var(--line); border-radius: 0; color: #334155; }
.pagination .page-item:first-child .page-link { border-bottom-left-radius: 999px; border-top-left-radius: 999px; }
.pagination .page-item:last-child .page-link { border-bottom-right-radius: 999px; border-top-right-radius: 999px; }
.pagination .page-item.active .page-link { background: linear-gradient(135deg,#4f8bff 0%,#2f6bff 100%); border-color: transparent; color: #fff; }
.pagination .page-link:focus { box-shadow: 0 0 0 .2rem rgba(47,107,255,.15); }
.pagination .page-item.disabled .page-link,
.pagination .page-item.disabled .page-link:hover { background: #fff !important; background-image: none !important; border-color: var(--line) !important; color: #ccc !important; pointer-events: none; }

.app-shell .alert { border-color: var(--line); border-radius: var(--radius) !important; }

.form-control, .form-select { border: 1px solid var(--line); border-radius: 999px; background: #fff; height: 44px; box-shadow: none; padding-left: 1rem; padding-right: 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--primary-500); box-shadow: 0 0 0 .2rem rgba(47,107,255,.15); }
/* Textarea – stejný styl jako input, ale zaoblení 1.25rem a automatická výška (vzor: reservation[int_note]) */
textarea.form-control { height: auto; min-height: 120px; border-radius: var(--radius); padding: 0.75rem 1rem; resize: vertical; }
textarea.form-control:focus { border-color: var(--primary-500); box-shadow: 0 0 0 .2rem rgba(47,107,255,.15); }
.btn { border-radius: 2rem; }
.dropdown-menu { border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); padding: .35rem; }
.dropdown-item { border-radius: 999px; padding: .5rem .75rem; }
.dropdown-item:hover { background: #f3f7ff; }

@media (max-width: 767.98px) {
  .navbar .top-nav { display: none !important; }
  .page-header { text-align: center; }
  .page-header .page-title { text-align: center !important; margin: 0 auto .25rem; }
  .page-header .page-sub { margin-top: .5rem; text-align: center; }
  .table-wrap { overflow-x: auto; }
}
@media (max-width: 1100px) { .nav-link { min-width: 80px !important; } }
@media (max-width: 350px) { .brand { font-size: 16px; } }

/* --- Doplnění borderů a přepsání z style.css (SB Admin), aby design zůstal kompletní --- */
.section-card,
.app-shell .section-card,
.app-shell .card {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  background: var(--panel) !important;
}
.section-card .card-header + .card-body,
.section-card .card-header + div[class*="card-body"],
.app-shell .card .card-header + .card-body {
  border-top: 1px solid var(--line);
}
.app-shell .table,
.app-shell .table thead th,
.app-shell .table tbody td {
  border-color: var(--line) !important;
}
.app-shell .table thead th {
  border-bottom: 1px solid var(--line) !important;
}
.app-shell .table tbody td {
  border-top: 1px solid var(--line);
}
.app-shell .alert {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
}
.site-footer {
  border-top: 1px solid var(--line);
}
.site-footer .footer-nav a,
.site-footer a.link-secondary {
  color: var(--muted) !important;
}
.site-footer .footer-nav a:hover,
.site-footer a.link-secondary:hover {
  color: var(--primary-500) !important;
}
.site-footer .footer-sep {
  border-color: var(--line) !important;
}
.offcanvas {
  border-right: 1px solid var(--line);
}
.offcanvas-header {
  border-bottom: 1px solid var(--line);
}
.btn-soft {
  border: 1px solid var(--line) !important;
}
.form-control,
.form-select,
.app-shell .form-control,
.app-shell .form-select {
  border: 1px solid var(--line) !important;
}
.app-shell textarea.form-control {
  height: auto !important;
  min-height: 120px;
  border-radius: var(--radius) !important;
  padding: 0.75rem 1rem !important;
}
.dropdown-menu {
  border: 1px solid var(--line) !important;
}

/* === Původní reservomat.css (gmb.css) === */

.sidenav .sidenav-menu .nav .nav-link .nav-link-icon {
  width: 24px;
}

/* Kalendář */

.fc {
	font-size: 14px;
}
.fc-header-toolbar {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
@media (max-width: 576px) {
	.fc-header-toolbar {
		flex-direction: column-reverse;
	}
	.fc-toolbar-title {
		line-height: 50px;
	}

	.calendar2 .fc-list-event-time {
		float: left;
		width: 90%;
		border: 0;
	}
	.calendar2 .fc-list-event-graphic {
		float: left;
		width: 10%;
		border: 0;
	}
	.calendar2 .fc-list-event-title {
		float: left;
		width: 100%;
		border-top: 0;
	}
}

.fc .fc-list-empty {
  background-color: initial;
}

.card .fc .fc-header-toolbar {
  margin-left: 20px;
  margin-right: 20px;
}

/* Kalendář */



.cxm-menu-bg {
  background-color: #292D32;
}

.cxm-box-border
{
    border: 2px solid #01adeb;
    border-radius: 8px;
    background-color: #FFF;
}

.cxm-box-border-filled
{
  background-color: #01adeb;
  border-radius: 8px
}


.cxm-box-disabled
{
  background-color: #e9e9e9;
  border: 2px solid #e9e9e9;
  border-radius: 8px
}


/*
.badge {
  display: inline-block;
  width: 26px;
  height: 26px;
  background: #626c77;
  vertical-align: middle;
  margin-right: 7px;
  color: #FFF;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  line-height: 21px;
  -webkit-border-radius: 28px;
  -moz-border-radius: 28px;
  border-radius: 28px;
}

.badge_mobile {
  width: 32px;
  height: 32px;
  margin-right: 7px;
  font-size: 16px;
  line-height: 25px;
  -webkit-border-radius: 32px;
  -moz-border-radius: 32px;
  border-radius: 32px;
}
*/
.badge_left {
  float: left;
  clear: both;
  margin-left: 8px;
}

.badge_active {
  background-color: #adadad;
  color: white;
}

.menu_item {
  font-weight: 600;
  font-size: 15px;
  color: #626c77;
  float: left;
  padding-top: 2px;
  padding-bottom: 23px;
  margin-left: 2px;
}

.menu_item_active {
  color: #fff;
}

.position-fixed {
  width: initial;
  padding-right: 30px
  width: initial;
}

.miniature-foto-60 {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 50%;
  margin-right: 10px;
}

.top-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin: 0 auto;
}

.service_photo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 50%;
  margin-right: 10px;
}

.employee-photo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 50%;
  margin-bottom: 10px;
}

/* TEXTY */

.service-group-title {
  text-transform: uppercase;
  color: #737373;
  font-weight: 400;
}

.service-title {
  color: #3d3d3d;
  font-weight: 400;
}

.back {
  color: #3d3d3d;
  font-weight: 400;
  text-decoration: none;
}
.back:hover {
  text-decoration: none;
  color: #000;
}

.fw-400 {
  font-weight: 400;
}

.br-top-10 {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.map-overlay {
  width: 100%;
  height: 180px;
  position: absolute;
}

/* TLAČÍTKA */

.btn-reservomat {
  border-radius: 10px;
  color: #ffffff;
  background-color: #487CCF;
  border-color: #4271BD;
}

.btn-reservomat:hover,
.btn-reservomat:focus,
.btn-reservomat:active,
.btn-reservomat.active,
.open .dropdown-toggle.btn-reservomat {
  color: #ffffff;
  background-color: #345EA1;
  border-color: #4271BD;
}

.btn-reservomat:active,
.btn-reservomat.active,
.open .dropdown-toggle.btn-reservomat {
  background-image: none;
}

.btn-reservomat.disabled,
.btn-reservomat[disabled],
fieldset[disabled] .btn-reservomat,
.btn-reservomat.disabled:hover,
.btn-reservomat[disabled]:hover,
fieldset[disabled] .btn-reservomat:hover,
.btn-reservomat.disabled:focus,
.btn-reservomat[disabled]:focus,
fieldset[disabled] .btn-reservomat:focus,
.btn-reservomat.disabled:active,
.btn-reservomat[disabled]:active,
fieldset[disabled] .btn-reservomat:active,
.btn-reservomat.disabled.active,
.btn-reservomat[disabled].active,
fieldset[disabled] .btn-reservomat.active {
  background-color: #487CCF;
  border-color: #4271BD;
}

.btn-reservomat .badge {
  color: #487CCF;
  background-color: #ffffff;
}





.btn-reservomat-green {
  border-radius: 10px;
  color: #ffffff;
  background-color: #48CF4D;
  border-color: #42BD4A;
}

.btn-reservomat-green:hover,
.btn-reservomat-green:focus,
.btn-reservomat-green:active,
.btn-reservomat-green.active,
.open .dropdown-toggle.btn-reservomat-green {
  color: #ffffff;
  background-color: #34A13B;
  border-color: #42BD4A;
}

.btn-reservomat-green:active,
.btn-reservomat-green.active,
.open .dropdown-toggle.btn-reservomat-green {
  background-image: none;
}

.btn-reservomat-green.disabled,
.btn-reservomat-green[disabled],
fieldset[disabled] .btn-reservomat-green,
.btn-reservomat-green.disabled:hover,
.btn-reservomat-green[disabled]:hover,
fieldset[disabled] .btn-reservomat-green:hover,
.btn-reservomat-green.disabled:focus,
.btn-reservomat-green[disabled]:focus,
fieldset[disabled] .btn-reservomat-green:focus,
.btn-reservomat-green.disabled:active,
.btn-reservomat-green[disabled]:active,
fieldset[disabled] .btn-reservomat-green:active,
.btn-reservomat-green.disabled.active,
.btn-reservomat-green[disabled].active,
fieldset[disabled] .btn-reservomat-green.active {
  background-color: #48CF4D;
  border-color: #42BD4A;
}

.btn-reservomat-green .badge {
  color: #48CF4D;
  background-color: #ffffff;
}

.btn-reservomat-services {
    color: #212529;
    background-color: #e3e6e6;
    border-color: #c4c4c4;
    border-radius: 30px;
    font-weight: 300;
    font-size: 0.8rem;
}

.btn-reservomat-services:hover {
    color: #212529;
    background-color: #c8c8c8;
    border-color: #9c9b9b;
}

.btn-reservomat-services-active {
  color: #fff;
  background-color: #487CCF;
  border-color: #4271BD;
    border-radius: 30px;
    font-weight: 300;
    font-size: 0.8rem;
}

.btn-reservomat-services-active:hover {
    color: #fff;
    background-color: #487CCF;
    border-color: #4271BD;
}

.btn-reservomat-continue {
  height: 50px;
  border-radius: 10px;
}

.btn-reservomat-service {
  height: 50px;
  width: 50px;
  border-radius: 25px;
  font-weight: 400;
  line-height: 20px;
  font-size: 28px;
}

.btn-reservomat-service-checked {

}

.btn-reservomat-service {

}


/* KOŠÍK */

.cart {
  border: 1px solid #e3e6e6;
  border-radius: 10px;
  box-shadow: 0 0 0 .1rem rgba(240, 240, 240, 0.5);
}

.display-flex {
  display: flex;
  flex-direction: column;
}


/* TELEFONNI CISLO VYBER */

ul.country-list {
    top: 100% !important;
    transform: translateY(0%) !important;
}

.iti {
    position: relative;
    display: inline-block;
    width: 100%;
}

input[type=tel] {
    padding-right: 6px;
    padding-left: 52px;
    margin-left: 0;

    position: relative;
    z-index: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-right: 0;
    border: 1px solid #CCC;
    width: 100%;

    /* padding: 6px 12px; */
    border-radius: 2px;
    font-family: inherit;
    font-size: 100%;
    color: inherit;
}

.phone-label {
  display: none;
}



.fixed-top, .sb-nav-fixed #layoutSidenav #layoutSidenav_nav, .sb-nav-fixed .sb-topnav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}



.datatable-wrapper .datatable-container {
  font-size: 0.875rem;
}

.datatable-wrapper.no-header .datatable-container {
  border-top: none;
}

.datatable-wrapper.no-footer .datatable-container {
  border-bottom: none;
}

.datatable-top {
  padding: 0 0 1rem;
}

.datatable-bottom {
  padding: 0;
}

.datatable-top > nav:first-child,
.datatable-top > div:first-child,
.datatable-bottom > nav:first-child,
.datatable-bottom > div:first-child {
  float: left;
}

.datatable-top > nav:last-child,
.datatable-top > div:last-child,
.datatable-bottom > nav:last-child,
.datatable-bottom > div:last-child {
  float: right;
}

.datatable-selector {
  width: auto;
  display: inline-block;
  padding-left: 1.125rem;
  padding-right: 2.125rem;
  margin-right: 0.25rem;
}

.datatable-info {
  margin: 7px 0;
}

/* PAGER */
.datatable-pagination a:hover {
  background-color: #e9ecef;
}

.datatable-pagination .active a,
.datatable-pagination .active a:focus,
.datatable-pagination .active a:hover {
  background-color: #0d6efd;
}

.datatable-pagination .ellipsis a,
.datatable-pagination .disabled a,
.datatable-pagination .disabled a:focus,
.datatable-pagination .disabled a:hover {
  cursor: not-allowed;
}

.datatable-pagination .disabled a,
.datatable-pagination .disabled a:focus,
.datatable-pagination .disabled a:hover {
  cursor: not-allowed;
  opacity: 0.4;
}

.datatable-pagination .pager a {
  font-weight: bold;
}

/* TABLE */
.datatable-table {
  border-collapse: collapse;
}

.datatable-table > tbody > tr > td,
.datatable-table > tbody > tr > th,
.datatable-table > tfoot > tr > td,
.datatable-table > tfoot > tr > th,
.datatable-table > thead > tr > td,
.datatable-table > thead > tr > th {
  vertical-align: top;
  padding: 0.5rem 0.5rem;
}

.datatable-table > thead > tr > th {
  vertical-align: bottom;
  text-align: left;
  border-bottom: none;
}

.datatable-table > tfoot > tr > th {
  vertical-align: bottom;
  text-align: left;
}

.datatable-table th {
  vertical-align: bottom;
  text-align: left;
}

.datatable-table th a {
  text-decoration: none;
  color: inherit;
}

.datatable-sorter {
  display: inline-block;
  height: 100%;
  position: relative;
  width: 100%;
  padding-right: 1rem;
}

.datatable-sorter::before,
.datatable-sorter::after {
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  right: 4px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  opacity: 0.2;
}

.datatable-sorter::before {
  bottom: 4px;
}

.datatable-sorter::after {
  top: 0px;
}

.asc .datatable-sorter::after,
.desc .datatable-sorter::before {
  opacity: 0.6;
}

.datatables-empty {
  text-align: center;
}

.datatable-top::after,
.datatable-bottom::after {
  clear: both;
  content: " ";
  display: table;
}

.datatable-pagination li.datatable-hidden {
  visibility: visible;
}

.btn-datatable {
  height: 20px !important;
  width: 20px !important;
  font-size: 0.75rem;
  border-radius: 0.375rem !important;
}

.ui-datepicker-unselectable {
  border: 1px solid #ccc !important;
  cursor: auto;
}
.ui-datepicker td.ui-datepicker-unselectable {
  cursor: auto;
}
.ui-datepicker td.ui-state-disabled {
  cursor: auto;
}
.ui-datepicker-unselectable span{
  color: #ccc!important;
}
.ui-datepicker td {
  cursor: pointer;
}
.ui-datepicker td.highlighted-day {
  border-bottom: 5px solid green !important;
  padding-bottom: 0px !important;
}
.ui-datepicker-other-month {
    visibility: hidden;
}

thead, tbody, tfoot, tr, td, th {
  border-color: inherit;
border-style: solid;
border-width: 0;
}

.fc a {
  color: initial;
  text-decoration: initial;
  font-weight: 300;
}

/* KONEC */


/* TEST BARVY */

.sb-sidenav-light {
  background-color: #ffffff;
}

.fc-view {
  background-color: #ffffff;
}

.sb-nav-fixed {
  background-color: #f2f5f9; /* Světle šedá */
    background-image: linear-gradient(to bottom, #f2f5f9, #f1f3f6);
}

#calendar_loader {
	position: absolute; 
	top: 222px; 
	left: 0; 
	right: 0; 
	width: 100%;
	height: 100px;
	text-align: center;
	font-size: 24px;
}