.page-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background-color: #f8f9fa;
    border-left: 8px solid #2E37A4;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.page-header-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #343a40;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-header-title img {
    width: 24px;
    height: 24px;
}

.page-header-actions {
    display: flex;
    gap: 10px;
}
.tox-promotion{display: none !important;}

.step-title {
    background-color: #3f4079;
    background-color: #3f4079;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
    padding: 10px;
    position: relative;
    margin-bottom: 20px;
}
@media (max-width: 991px) {
    .step-title {
        /* For less than 991px */
        margin-bottom: 30px;
    }
}
.step-title h3 {
    font-size: 16px;
    font-size: 1rem;
    text-transform: uppercase;
    margin: 5px 0 0 0;
    position: relative;
    color: #fff;
}
.step-title h3 strong {
    background-color: #e74e84;
    color: #fff;
    text-align: center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    line-height: 24px;
    display: inline-block;
    width: 24px;
    height: 24px;
    font-size: 14px;
    font-size: 0.875rem;
    margin-right: 10px;
    position: relative;
    top: -2px;
}
.step-title h3:before, .step-title h3:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 54px;
    bottom: -42px;
    display: block;
    z-index: 9;
}
@media (max-width: 991px) {
    .step-title h3:before, .step-title h3:after {
        /* For less than 991px */
        display: none;
    }
}

input[type=checkbox].css-checkbox {
    position: absolute;
    z-index: -1000;
    left: -1000px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

input[type=checkbox].css-checkbox + label.css-label {
    padding-left: 35px;
    height: 25px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: 0 0;
    vertical-align: middle;
    cursor: pointer;
    padding-top: 3px;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

input[type=checkbox].css-checkbox:hover + label.css-label {
    background-position: 0 -28px;
}

input[type=checkbox].css-checkbox:checked + label.css-label {
    background-position: 0 -56px;
}

label.css-label {
    background-image: url(../img/checkbox.png);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
    display: block;
}
label.css-label strong {
    float: right;
}
#selectService>ul, .time_select {
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
}
#selectService>ul>li {
    padding: 7px;
}

#calendar {
    padding: 0;
    margin-bottom: 30px;
}
#calendar .datepicker.datepicker-inline,
#calendar .datepicker.datepicker-inline table {
    width: 100%;
}

.datepicker thead tr th.prev:hover,
.datepicker thead tr th.next:hover {
    color: #e74e84;
}

.datepicker .disabled.disabled-date.day,
.datepicker .disabled.disabled-date.day:hover {
    background-color: #eb525b !important;
    color: #fff !important;
}

.datepicker .day:hover {
    background: #8ec549 !important;
    color: #fff;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.datepicker .active.day:hover {
    background: #333 !important;
    color: #fff;
}

ul.legend li {
    display: inline-block;
    position: relative;
    margin-right: 15px;
    padding-left: 30px;
}
ul.legend li strong {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}
ul.legend li:first-child strong {
    background-color: #8ec549;
}
ul.legend li:last-child strong {
    background-color: #76787338;
}

ul.time_select.version_2 li {
    float: left;
    width: 50%;
}
ul.time_select li input[type="radio"] {
    display: none;
    cursor: pointer;
}
ul.time_select li input[type="radio"]:checked + label {
    background-color: #333;
    color: #fff;
}
ul.time_select li label {
    display: inline-block;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #f8f8f8;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    padding: 8px 10px 6px 10px;
    line-height: 1;
    min-width: 100px;
    margin: 5px;
    text-align: center;
    cursor: pointer;
}
ul.time_select li label:hover {
    background-color: #e74e84;
    color: #fff;
}

/*Driver*/
.driver-popover-next-btn {
    background-color: #2E37A4 !important;
    color: #fff !important;
    border: none !important;
    text-shadow: 0 0 0 !important;
}


.h1, h1 {
    font-size: 1.5rem;
}
.h2, h2 {
    font-size: 1.25rem;
}
.h3, h3 {
    font-size: 1rem;
}

/* Chat Unread Badge in Sidebar */
.chat-unread-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    margin-left: auto;
    line-height: 1.3;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* ==================== NOTIFICATION SYSTEM ==================== */

/* Notification Bell Icon Container */
.notification-bell-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.notification-bell-icon i {
    font-size: 20px;
    color: #6c757d;
}

.notification-bell-icon:hover i {
    color: #495057;
}

/* Notification Bell Badge */
.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 8px;
    min-width: 14px;
    text-align: center;
    line-height: 1.3;
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.4);
    border: 1px solid #fff;
}

/* Notification Dropdown */
.notification-dropdown {
    padding: 0 !important;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
}

.notification-header {
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.notification-header h6 {
    font-weight: 600;
    color: #1f2937;
}

.notification-footer {
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.notification-footer a {
    color: #0d6efd;
    text-decoration: none;
}

.notification-footer a:hover {
    text-decoration: underline;
}

/* Notification Items */
.notification-list .notification-item {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.notification-list a.notification-item:hover {
    text-decoration: none;
    color: inherit;
}

.notification-list .notification-item:last-child {
    border-bottom: none;
}

.notification-list .notification-item:hover {
    background: #f8f9fa;
}

.notification-list .notification-item.unread {
    background: #fff7ed;
    border-left: 3px solid #f59e0b;
}

.notification-list .notification-item.unread:hover {
    background: #ffedd5;
}

.notification-item-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #1f2937;
}

.notification-item-content {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-item-time {
    font-size: 11px;
    color: #9ca3af;
}

/* Notification Type Badges */
.notification-type-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.notification-type-feature {
    background: #d1fae5;
    color: #047857;
}

.notification-type-event {
    background: #dbeafe;
    color: #1d4ed8;
}

.notification-type-announcement {
    background: #fef3c7;
    color: #b45309;
}

/* Full Page Notification Cards */
.notification-card-full {
    display: block;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    text-decoration: none;
    color: inherit;
}

.notification-card-full:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
}

.notification-card-full.unread {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
}

.notification-card-full.unread:hover {
    background: #fef3c7;
}

.notification-card-title {
    font-weight: 600;
    color: #1f2937;
}

.notification-card-content {
    line-height: 1.5;
}

/* Notification Detail Page */
.notification-detail-content {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
    padding: 1rem;
}

.notification-detail-content p {
    margin-bottom: 1rem;
}

.notification-detail-content p:last-child {
    margin-bottom: 0;
}

.notification-detail-content ul,
.notification-detail-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.notification-detail-content h1 {
    font-size: 1.75rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.notification-detail-content h2 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.notification-detail-content h3 {
    font-size: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.notification-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.notification-detail-content a {
    color: #2563eb;
    text-decoration: underline;
}

.notification-detail-content a:hover {
    color: #1d4ed8;
}

.notification-detail-content table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
}

.notification-detail-content table th,
.notification-detail-content table td {
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
}

.notification-detail-content table th {
    background: #f8f9fa;
    font-weight: 600;
}

.notification-detail-content blockquote {
    border-left: 4px solid #2E37A4;
    padding-left: 1rem;
    margin: 1rem 0;
    color: #6b7280;
    font-style: italic;
}
