@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700");
@import url("default.css");

@font-face {
    font-family: "Glyphicons Halflings";
    src: url("../../fonts/glyphicons-halflings-regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

/* Work orders keep the compact proportions of the legacy workshop screen. */
.theme-klasszikus #work-orders-page,
.theme-klasszikus #work-order-page,
.theme-klasszikus #work-order-form-page {
    max-width: none;
    padding: 18px 15px !important;
    font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
}

.theme-klasszikus #work-orders-page h1,
.theme-klasszikus #work-order-page h1,
.theme-klasszikus #work-order-form-page h1 {
    font-size: 28px;
    font-weight: 300 !important;
}

.theme-klasszikus #work-order-page h2,
.theme-klasszikus #work-order-form-page h2 {
    font-size: 20px;
    font-weight: 300 !important;
}

.theme-klasszikus #work-orders-page .btn,
.theme-klasszikus #work-order-page .btn,
.theme-klasszikus #work-order-form-page .btn {
    border-radius: 3px;
    font-size: 13px;
}

.theme-klasszikus #work-orders-page .table,
.theme-klasszikus #work-order-page .table {
    font-size: 13px;
}

.theme-klasszikus #work-orders-page .table > :not(caption) > * > *,
.theme-klasszikus #work-order-page .table > :not(caption) > * > * {
    padding: 8px;
    border-color: #ddd;
}

.theme-klasszikus #work-order-page .form-control,
.theme-klasszikus #work-order-page .form-select,
.theme-klasszikus #work-order-form-page .form-control,
.theme-klasszikus #work-order-form-page .form-select {
    min-height: 34px;
    border: 0;
    border-bottom: 1px solid #aaa;
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;
    font-size: 13px;
}

.theme-klasszikus #work-order-page .bg-light {
    background: #f7f7f7 !important;
}

.theme-klasszikus #work-order-page .badge,
.theme-klasszikus #work-orders-page .badge {
    border-radius: 2px;
}

.classic-glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: "Glyphicons Halflings";
    font-style: normal;
    font-weight: normal;
    line-height: 1;
}

.classic-glyphicon-refresh::before { content: "\e031"; }
.classic-glyphicon-chevron-left::before { content: "\e079"; }
.classic-glyphicon-chevron-right::before { content: "\e080"; }
.classic-glyphicon-calendar::before { content: "\e109"; }
.classic-glyphicon-fullscreen::before { content: "\e140"; }

:root {
    --bs-body-bg: #ffffff;
    --bs-border-radius: 0;
    --bs-border-radius-sm: 0;
    --bs-border-radius-lg: 0;
    --bs-box-shadow: none;
    --bs-box-shadow-sm: none;
    --bs-box-shadow-lg: none;
}

body {
    background: #ffffff;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
}

#header {
    position: static;
    box-shadow: none;
    border: 0;
    border-bottom: 4px solid #e8e8e8;
    background: #848484 !important;
    min-height: 64px;
}

#header #header-logo {
    display: flex;
    align-items: center;
    min-width: 320px;
    padding: 6px !important;
}

#header #header-menu {
    padding-right: 0 !important;
}

#header #header-menu .nav-item {
    min-width: 130px !important;
}

#header #header-menu .nav-item:hover,
#header #header-menu .nav-item.active {
    background: #949494;
}

#header #header-menu .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0 15px !important;
    font-size: 14px;
    font-weight: 300 !important;
}

.backend-company-logo {
    width: 50px;
    height: 50px;
    margin-right: 10px !important;
    object-fit: contain;
}

.backend-company-name {
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 300 !important;
}

.backend-company-subtitle {
    display: none !important;
}

.backend-page .card,
.modal-content,
.dropdown-menu {
    border: 1px solid #c8c8c8;
    box-shadow: none;
}

.backend-page .card-header,
.backend-page .table-light {
    background: #eeeeee;
}

.btn,
.form-control,
.form-select {
    min-height: 32px;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.backend-page {
    --bs-gutter-x: 1rem;
}

.theme-klasszikus .backend-page.container {
    max-width: 100% !important;
}

.theme-klasszikus .backend-page .record-details {
    display: block !important;
}

.theme-klasszikus .backend-page.editing .filter-records {
    display: block !important;
}

@media (min-width: 992px) {
    .theme-klasszikus #providers-page .filter-records,
    .theme-klasszikus #admins-page .filter-records {
        width: 18%;
    }

    .theme-klasszikus #providers-page .record-details,
    .theme-klasszikus #admins-page .record-details {
        width: 48%;
        margin-left: 1.5rem;
    }
}

/* Customers page: preserve the legacy two-column workflow. */
.theme-klasszikus #customers-page {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 15px !important;
}

.theme-klasszikus #customers-page #customers {
    align-items: flex-start;
    margin-right: -8px;
    margin-left: -8px;
}

.theme-klasszikus #customers-page .filter-records {
    width: 100%;
    max-width: 280px;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.theme-klasszikus #customers-page .record-details {
    width: 100%;
    max-width: 900px;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.theme-klasszikus #customers-page .classic-customer-extra {
    display: none !important;
}

.theme-klasszikus #customers-page h4 {
    margin-top: 20px;
    margin-bottom: 10px !important;
    color: #444;
    font-size: 34px;
    font-weight: 300 !important;
    line-height: 1.1;
}

.theme-klasszikus #customers-page .btn-toolbar {
    margin-bottom: 20px !important;
}

.theme-klasszikus #customers-page #filter-customers form {
    margin-bottom: 20px !important;
}

.theme-klasszikus #customers-page #filter-customers .input-group {
    width: 100%;
    margin-bottom: 0 !important;
}

.theme-klasszikus #customers-page #filter-customers .key {
    height: 37px;
    min-width: 0;
    margin-right: 15px;
    padding: 6px 16px;
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.theme-klasszikus #customers-page #filter-customers .input-group > .btn {
    width: 48px;
    height: 37px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    color: #333;
}

.theme-klasszikus #customers-page #filter-customers .input-group > .btn + .btn {
    margin-left: 0;
}

.theme-klasszikus #customers-page .classic-customer-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-klasszikus #customers-page .classic-customer-sort .form-label {
    flex: 0 0 auto;
    margin: 0;
    color: #555;
    font-size: 13px;
}

.theme-klasszikus #customers-page .classic-customer-sort .form-label i {
    margin-right: 4px;
}

.theme-klasszikus #customers-page .classic-customer-sort .form-select {
    height: 37px;
    min-height: 37px;
    padding: 6px 30px 6px 10px;
    border: 1px solid #ccc;
    border-radius: 0;
    background-color: #fff;
    color: #444;
    font-size: 13px;
}

.theme-klasszikus #customers-page #filter-customers .results {
    max-height: 650px !important;
    overflow-y: auto;
}

.theme-klasszikus #customers-page #filter-customers .results .entry {
    padding: 10px 7px;
}

.theme-klasszikus #customers-page #filter-customers .results .entry:hover:not(.selected) {
    background: #f3f3f3;
}

.theme-klasszikus #customers-page #filter-customers .results .entry.selected {
    border-right: 5px solid #848484;
    background: #f4f4f4;
}

.theme-klasszikus #customers-page #filter-customers .results hr {
    margin: 5px 0;
    border-color: #eee;
    opacity: 1;
}

.theme-klasszikus #customers-page .record-details .mb-3 {
    margin-bottom: 15px !important;
}

.theme-klasszikus #customers-page .record-details .form-label {
    margin-bottom: 5px;
    color: #666;
    font-size: 13px;
    font-weight: 400;
}

.theme-klasszikus #customers-page .record-details .form-control,
.theme-klasszikus #customers-page .record-details .form-select {
    min-height: 37px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #666;
    font-size: 16px;
}

.theme-klasszikus #customers-page .record-details input[readonly],
.theme-klasszikus #customers-page .record-details textarea[readonly],
.theme-klasszikus #customers-page .record-details select:disabled {
    border-bottom: 1px dotted #aaa;
    background: transparent;
    opacity: 1;
    box-shadow: none;
}

.theme-klasszikus #customers-page .record-details textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.theme-klasszikus #customers-page .record-details .btn-toolbar .btn-primary {
    border-color: #2e6da4;
    background: #337ab7;
    color: #fff;
}

.theme-klasszikus #customers-page .record-details .btn-toolbar .btn-primary:hover,
.theme-klasszikus #customers-page .record-details .btn-toolbar .btn-primary:focus {
    border-color: #204d74;
    background: #286090;
}

.theme-klasszikus #customers-page #customer-appointments {
    width: 100% !important;
    max-width: 330px !important;
    height: 370px;
    min-height: 370px !important;
    max-height: 370px !important;
    padding: 19px !important;
    overflow-y: auto;
    border: 1px solid #e3e3e3 !important;
    border-radius: 4px;
    background: #f5f5f5;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.theme-klasszikus #customers-page #customer-appointments .appointment-row {
    padding: 7px;
    border-bottom: 1px solid #e2e2e2;
    cursor: pointer;
}

.theme-klasszikus #customers-page #customer-appointments .appointment-row:hover:not(.selected) {
    background: #f3f3f3;
}

.theme-klasszikus #customers-page #customer-appointments .appointment-row.selected {
    background: #e2e2e2;
}

.theme-klasszikus #customers-page .classic-customer-work-order {
    color: #337ab7;
}

.theme-klasszikus #customers-page #appointment-details {
    width: 100%;
    max-width: 330px;
    margin-bottom: 20px;
    padding: 19px;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    background: #f5f5f5;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.theme-klasszikus #customers-page #appointment-details > div {
    padding: 10px;
    background: #f8f8f8;
}

@media (min-width: 768px) {
    .theme-klasszikus #customers-page #customers {
        flex-wrap: nowrap;
        gap: 0;
    }

    .theme-klasszikus #customers-page .filter-records {
        flex: 0 0 280px;
        width: 280px;
    }

    .theme-klasszikus #customers-page .record-details {
        flex: 1 1 900px;
        width: min(900px, calc(100% - 280px));
    }
}

@media (max-width: 767.98px) {
    .theme-klasszikus #customers-page #customers {
        margin-right: -8px;
        margin-left: -8px;
    }

    .theme-klasszikus #customers-page .filter-records,
    .theme-klasszikus #customers-page .record-details {
        max-width: none;
    }

    .theme-klasszikus #customers-page h4 {
        font-size: 28px;
    }
}

.theme-klasszikus .user-section-tabs {
    display: flex;
    gap: 0;
    padding: 18px 15px 0;
    background: #f2f2f2;
    border-bottom: 1px solid #dedede;
}

.theme-klasszikus .user-section-tabs a {
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    border: 1px solid transparent;
    border-bottom: 0;
}

.theme-klasszikus .user-section-tabs a.active {
    color: #337ba7;
    background: #fff;
    border-color: #b8cbd7;
}

.theme-klasszikus #calendar-toolbar {
    min-height: 58px;
    margin: 15px 0 !important;
    padding: 5px !important;
    border-bottom: 1px solid #d6d6d6;
    border-radius: 3px;
    background: #3a3a3a !important;
}

.theme-klasszikus #calendar-page {
    padding-right: 12px !important;
    padding-left: 12px !important;
}

.theme-klasszikus #calendar-filter {
    display: block !important;
}

.theme-klasszikus #calendar-filter .calendar-filter-items {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-klasszikus #calendar-filter label {
    margin: 0;
    font-size: 18px;
    font-weight: 300;
    white-space: nowrap;
}

.theme-klasszikus #classic-calendar-service {
    width: 240px;
    min-height: 38px;
    padding: 6px 12px;
    background-color: #fff;
    font-size: 16px;
}

.theme-klasszikus #calendar-actions {
    flex: 1 1 50%;
    width: auto;
}

.theme-klasszikus #calendar-actions .btn {
    min-width: 48px;
    min-height: 38px;
    margin: 0 1px;
    border: 0;
    border-radius: 3px;
    background: #fff;
    color: #333;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.35);
    font-size: 13px;
}

.theme-klasszikus #reload-appointments {
    min-width: 86px !important;
}

.theme-klasszikus #calendar .calendar-header {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 45px;
    padding: 0 3px 10px;
    gap: 4px;
}

.theme-klasszikus #calendar .calendar-header .filter-group {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

.theme-klasszikus #calendar .calendar-header .select-date {
    position: absolute !important;
    left: 92px;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.theme-klasszikus #calendar .calendar-header .btn {
    width: 38px;
    height: 30px;
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid #d2d2d2;
    border-radius: 3px;
    background: linear-gradient(#fff, #eee);
    color: #444;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.theme-klasszikus #calendar .calendar-header .btn.today {
    width: auto;
    margin-left: 5px;
    color: #888;
}

.theme-klasszikus .classic-calendar-date-title {
    position: absolute;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
    color: #444;
    font-size: 22px;
    font-weight: 300;
    white-space: nowrap;
}

.theme-klasszikus #calendar-page .calendar-view {
    background: #fff;
    overflow-x: hidden;
}

.theme-klasszikus #calendar .calendar-view > div,
.theme-klasszikus #calendar .calendar-view .date-column {
    width: 100%;
    min-width: 100%;
}

.theme-klasszikus #calendar .calendar-view .date-column-title {
    display: none;
}

.theme-klasszikus #calendar .calendar-view .provider-column {
    width: auto;
    min-width: 220px;
    max-width: none;
    flex: 1 1 0;
    border-right: 1px solid #d8d8d8;
}

.theme-klasszikus #calendar .calendar-view .provider-column h6 {
    height: 26px;
    margin: 0;
    padding: 5px 8px;
    background: #fff;
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

.theme-klasszikus #calendar .provider-column:first-of-type h6 {
    position: relative;
    padding-left: var(--classic-axis-width, 70px);
}

.theme-klasszikus #calendar .provider-column:first-of-type h6::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--classic-axis-width, 70px);
    background: #fff;
    border-right: 1px solid #d8d8d8;
}

.theme-klasszikus #calendar-page .provider-column:first-of-type .fc-timegrid-axis,
.theme-klasszikus #calendar-page .provider-column:first-of-type .fc-timegrid-slot-label {
    background: #fff;
}

@media (max-width: 767.98px) {
    .theme-klasszikus #calendar .calendar-view .provider-column:first-of-type h6 {
        padding-left: var(--classic-axis-width, 48px);
    }
    .theme-klasszikus #calendar .provider-column:first-of-type h6::before {
        width: var(--classic-axis-width, 48px);
    }
}

.theme-klasszikus #calendar .provider-column .fc-header-toolbar,
.theme-klasszikus #calendar .provider-column .fc-col-header {
    display: none !important;
}

.theme-klasszikus #calendar .provider-column:not(:first-of-type) .fc-timegrid-axis,
.theme-klasszikus #calendar .provider-column:not(:first-of-type) .fc-timegrid-slot-label {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-right: 0 !important;
    color: transparent !important;
}

.theme-klasszikus #calendar .provider-column:not(:first-of-type) .fc-timegrid-axis-cushion,
.theme-klasszikus #calendar .provider-column:not(:first-of-type) .fc-timegrid-slot-label-cushion {
    display: none !important;
}

.theme-klasszikus #calendar .provider-column:first-of-type .fc-timegrid-axis,
.theme-klasszikus #calendar .provider-column:first-of-type .fc-timegrid-slot-label {
    display: table-cell !important;
    width: 70px !important;
    min-width: 70px !important;
    color: #555 !important;
}

.theme-klasszikus #calendar .provider-column:first-of-type .fc-timegrid-axis-cushion,
.theme-klasszikus #calendar .provider-column:first-of-type .fc-timegrid-slot-label-cushion {
    display: inline-block !important;
    color: #555 !important;
}

.theme-klasszikus #calendar-page .fc-timegrid-slot,
.theme-klasszikus #calendar-page .fc-scrollgrid-section-body td {
    background-color: #fffbed;
}

.theme-klasszikus #calendar-page .fc-event {
    border-color: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    font-size: 11px;
    line-height: 1.25;
}

.theme-klasszikus #calendar-page .fc-event-time {
    font-size: 10px;
    font-weight: 500;
}

.theme-klasszikus #calendar-page .fc-event-title {
    overflow: hidden;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
    white-space: pre-line;
}

.theme-klasszikus #work-order-modal .modal-dialog {
    max-width: 900px;
}

.theme-klasszikus #work-order-modal .modal-header {
    position: relative;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.theme-klasszikus #work-order-modal .modal-title {
    font-size: 20px;
    font-weight: 300;
}

.theme-klasszikus #work-order-modal .btn-close {
    position: absolute;
    top: 50%;
    right: 15px;
    margin: 0;
    transform: translateY(-50%);
}

.theme-klasszikus #work-order-modal .modal-body {
    padding: 20px 15px;
}

.theme-klasszikus #work-order-modal fieldset legend {
    width: 100%;
    margin-bottom: 15px;
    padding-bottom: 7px;
    border-bottom: 1px solid #e5e5e5;
    color: #555;
    font-size: 18px;
    font-weight: 300;
}

.theme-klasszikus #work-order-modal .mb-3 {
    margin-bottom: 15px !important;
}

.theme-klasszikus #work-order-modal .form-label {
    margin-bottom: 5px;
    color: #555;
    font-size: 13px;
}

.theme-klasszikus #work-order-modal .form-control {
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    font-size: 14px;
}

.theme-klasszikus #work-order-modal .modal-footer .btn {
    min-width: 74px;
    border-radius: 4px;
    font-size: 14px;
}

.theme-klasszikus #calendar-page .fc-timegrid-slot-label-cushion,
.theme-klasszikus #calendar-page .fc-timegrid-axis-cushion {
    font-size: 10px;
}

.theme-klasszikus #calendar-page .fc-scrollgrid,
.theme-klasszikus #calendar-page .fc-scrollgrid td,
.theme-klasszikus #calendar-page .fc-scrollgrid th {
    border-color: #d8d8d8;
}

.theme-klasszikus #calendar .popover {
    width: 290px;
    max-width: 290px;
    border-radius: 2px;
    font-size: 12px;
}

.theme-klasszikus #calendar .popover-header {
    padding: 9px 14px;
    background: #f5f5f5;
    color: #555;
    font-size: 13px;
    font-weight: 400;
}

.theme-klasszikus #calendar .popover-body {
    padding: 9px;
    color: #666;
}

.theme-klasszikus .classic-popover-row {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 4px;
    margin-bottom: 4px;
    line-height: 1.35;
}

.theme-klasszikus .classic-popover-row strong {
    color: #555;
    font-weight: 600;
}

.theme-klasszikus .classic-popover-row span {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.theme-klasszikus .classic-popover-notes {
    margin-top: 2px;
}

.theme-klasszikus .classic-appointment-popover hr {
    margin: 10px 0;
}

.theme-klasszikus .classic-popover-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.theme-klasszikus .classic-popover-actions .btn {
    min-height: 30px;
    padding: 5px 9px;
    border-radius: 3px;
    font-size: 12px;
}

.theme-klasszikus .classic-popover-actions .btn i {
    margin-right: 5px;
}

.theme-klasszikus .classic-popover-actions .delete-popover i {
    margin-right: 0;
}

.theme-klasszikus .classic-popover-actions .edit-popover,
.theme-klasszikus .classic-popover-actions .work-order-popover {
    border-color: #46b8da;
    background: #5bc0de;
    color: #fff;
}

.theme-klasszikus .classic-popover-actions .delete-popover {
    border-color: #d43f3a;
    background: #d9534f;
    color: #fff;
}

.theme-klasszikus .classic-popover-actions .close-popover,
.theme-klasszikus .classic-popover-actions .copy-popover {
    border-color: #ccc;
    background: #fff;
    color: #444;
}

.theme-klasszikus .classic-popover-actions .copy-popover i {
    margin-right: 0;
}

.theme-klasszikus #appointments-modal .modal-dialog {
    max-width: 900px;
}

.theme-klasszikus #appointments-modal .modal-content {
    border-radius: 3px;
    background: #fff;
    font-size: 13px;
}

.theme-klasszikus #appointments-modal .modal-header {
    position: relative;
    min-height: 58px;
    padding: 15px 52px 15px 15px;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    background: #8b8b8b;
}

.theme-klasszikus #appointments-modal .modal-footer {
    padding: 12px 15px;
    border-top: 0;
    background: #fff;
}

.theme-klasszikus #appointments-modal .modal-body {
    padding: 15px;
}

.theme-klasszikus #appointments-modal .modal-title {
    color: #fff;
    font-size: 22px;
    font-weight: 300;
}

.theme-klasszikus #appointments-modal .btn-close {
    position: absolute;
    top: 50%;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    background: none;
    filter: none;
    opacity: 0.55;
}

.theme-klasszikus #appointments-modal .classic-close-symbol {
    display: block;
    color: #12482a;
    font-size: 28px;
    font-weight: 300;
    line-height: 20px;
}

.theme-klasszikus #appointments-modal fieldset > h5 {
    padding-bottom: 5px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 18px;
    font-weight: 300 !important;
}

.theme-klasszikus #appointments-modal .mb-3 {
    margin-bottom: 10px !important;
}

.theme-klasszikus #appointments-modal .form-label {
    margin-bottom: 4px;
    font-size: 13px;
}

.theme-klasszikus #appointments-modal .form-control,
.theme-klasszikus #appointments-modal .form-select {
    min-height: 34px;
    padding: 6px 0;
    border: 0;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    background-color: #fff;
    box-shadow: none;
    font-size: 13px;
}

.theme-klasszikus #appointments-modal textarea.form-control {
    resize: vertical;
}

.theme-klasszikus #appointments-modal #new-customer,
.theme-klasszikus #appointments-modal #select-customer {
    padding: 3px 7px;
    border-radius: 2px;
    font-size: 11px;
}

.theme-klasszikus #appointments-modal #new-customer i,
.theme-klasszikus #appointments-modal #select-customer i,
.theme-klasszikus #appointments-modal #save-appointment i {
    display: none;
}

.theme-klasszikus #appointments-modal #select-customer,
.theme-klasszikus #appointments-modal #save-appointment {
    border-color: #2e6da4;
    background: #337ab7;
    color: #fff;
}

.theme-klasszikus #appointments-modal #select-customer:hover,
.theme-klasszikus #appointments-modal #select-customer:focus,
.theme-klasszikus #appointments-modal #save-appointment:hover,
.theme-klasszikus #appointments-modal #save-appointment:focus {
    border-color: #204d74;
    background: #286090;
}

.theme-klasszikus #appointments-modal .modal-footer .btn {
    min-width: 74px;
    border-radius: 4px;
    font-size: 14px;
}

.theme-klasszikus #appointments-modal .customer-name-search {
    position: relative;
}

.theme-klasszikus #appointments-modal .customer-name-search-results {
    position: absolute;
    z-index: 1080;
    top: 100%;
    right: 0;
    left: 0;
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-top: 0;
    border-radius: 0 0 3px 3px;
    background: #fff;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.18);
}

.theme-klasszikus #appointments-modal .customer-name-search-result {
    display: block;
    width: 100%;
    padding: 7px 9px;
    border: 0;
    border-bottom: 1px solid #eee;
    background: #fff;
    color: #444;
    text-align: left;
}

.theme-klasszikus #appointments-modal .customer-name-search-result:last-child {
    border-bottom: 0;
}

.theme-klasszikus #appointments-modal .customer-name-search-result:hover,
.theme-klasszikus #appointments-modal .customer-name-search-result.active {
    background: #f0f7fa;
}

.theme-klasszikus #appointments-modal .customer-name-search-result strong,
.theme-klasszikus #appointments-modal .customer-name-search-result small {
    display: block;
}

.theme-klasszikus #appointments-modal .customer-name-search-result small {
    margin-top: 2px;
    color: #777;
    font-size: 11px;
}

.theme-klasszikus #appointments-modal .customer-name-search-empty {
    padding: 9px;
    color: #777;
    font-size: 12px;
    font-style: italic;
}

/* Legacy account pages. */
body.account-page.theme-klasszikus {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background: #caedf3;
    color: #666;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
}

.account-page.theme-klasszikus .account-shell {
    display: flex !important;
    min-height: 100vh;
    padding: 0;
}

.account-page.theme-klasszikus .account-frame {
    width: 630px !important;
    max-width: 100% !important;
    min-height: 0;
    margin: auto;
    border: 1px solid #dddada;
    border-radius: 0;
    background: #fff;
    box-shadow: none !important;
}

.account-page.theme-klasszikus .account-frame .card-body {
    padding: 70px !important;
}

.account-page.theme-klasszikus .account-frame .text-center {
    text-align: left !important;
}

.account-page.theme-klasszikus .account-frame .text-center.mb-4 {
    margin-bottom: 0 !important;
}

.account-page.theme-klasszikus .account-frame img[width="72"] {
    display: none;
}

.account-page.theme-klasszikus .account-frame h4 {
    margin: 20px 0 10px;
    color: #444 !important;
    font-size: 30px;
    font-weight: 300 !important;
    line-height: 1.1;
}

.account-page.theme-klasszikus .classic-account-divider {
    display: block !important;
    height: 0;
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #eee;
    opacity: 1;
}

.account-page.theme-klasszikus .account-frame .mb-3,
.account-page.theme-klasszikus .account-frame .mb-4 {
    margin-bottom: 15px !important;
}

.account-page.theme-klasszikus .account-frame .form-label {
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
    font-weight: 700 !important;
}

.account-page.theme-klasszikus .account-frame .input-group {
    display: block;
}

.account-page.theme-klasszikus .account-frame .input-group-text {
    display: none;
}

.account-page.theme-klasszikus .account-frame .form-control {
    display: block;
    width: 100%;
    min-height: 34px;
    padding: 6px 12px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    background: #fff;
    color: #555;
    font-size: 14px;
    line-height: 1.42857143;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.account-page.theme-klasszikus .account-frame .form-control:focus {
    border-color: #66afe9 !important;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.account-page.theme-klasszikus .account-frame .d-grid {
    display: block !important;
    margin: 25px 0 20px !important;
}

.account-page.theme-klasszikus .account-frame .btn {
    width: auto;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.42857143;
}

.account-page.theme-klasszikus .account-frame form .btn i,
.account-page.theme-klasszikus .account-frame form + .text-center i {
    display: none;
}

.account-page.theme-klasszikus .account-frame .btn-primary {
    border-color: #2e6da4;
    background: #337ab7;
    color: #fff;
}

.account-page.theme-klasszikus .account-frame a {
    color: #337ab7;
}

@media (max-width: 640px) {
    .account-page.theme-klasszikus .account-frame {
        width: 100% !important;
        border-right: 0;
        border-left: 0;
    }

    .account-page.theme-klasszikus .account-frame .card-body {
        padding: 20px !important;
    }

    .account-page.theme-klasszikus .account-frame .btn {
        max-width: 100%;
        white-space: normal;
    }
}


.classic-footer {
    min-height: 42px;
    font-size: 11px;
}

.backend-page h1,
.backend-page .h1,
.backend-page h2,
.backend-page .h2,
.backend-page h3,
.backend-page .h3 {
    font-weight: 400;
}

@media (max-width: 991.98px) {
    #header-logo {
        max-width: calc(100% - 64px);
    }

    .backend-company-name {
        max-width: calc(100vw - 142px);
    }
}
