body {
    background: #f4f7f9;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}
.car-image {
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}
.container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.card {
    border-radius: 12px;
    background-color: #ffffff;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}
.card-maint {
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.card-header {
    background-color: rgb(255 145 77) !important;
}
.card img.login-logo {
    display: block;
    margin: 0 auto 1rem;
    max-width: 100%;
    height: auto;
}
.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}
.btn-primary {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 500;
    border: none;
    transition: background 0.2s ease, transform 0.1s ease;
}
.btn-primary:hover {
    background: #3b88ba;
    transform: translateY(-1px);
}
a {
    text-decoration: none;
    color: #ff914d;
    font-weight: 500;
}
a:hover {
    text-decoration: underline;
}
.form-check-label {
    user-select: none;
}
.card-title {
    color: #2EC4B6;
    text-align: center;
    margin-bottom: 1.5rem;
}
a.nav-link.text-white:hover {
    color: #ff914d !important;
}
a.nav-link.text-white:hover {
    text-decoration: unset !important;
}
nav#sidebar {
    z-index: 999;
}
.d-flex.flex-column.main-website-page {
    margin-left: 250px;
}
.copyright-container {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.background-app {
    --bs-bg-opacity: 1;
    background: url(../img/background.png) no-repeat center center fixed;
    background-size: cover;
}
@media (max-width: 992px) {
    .logo-sidebar {
        width: 200px !important;
    }
    .card {
        max-width: unset !important;
        padding: 1.8rem;
    }
    .d-flex.flex-column.main-website-page {
        margin-left: 0px;
    }
    nav#sidebar {
        transform: translateX(-100%);
    }
    .d-md-none {
        display: block !important;
    }
    .card.shadow-sm.p-3 {
        width: 100%;
    }
}
body {
    padding-top: 50px;
}
.selected {
    color: #2EC4B6 !important;
}
@media (max-width: 576px) {
    span.me-3.text-muted.small {
        display: none;
    }
    .card.shadow-sm.p-3 {
        width: 100%;
    }
    .d-flex.flex-column.main-website-page {
        margin-left: 0px;
    }
    nav#sidebar {
        width: 100% !important;
    }
    .detail-footer {
        display: block;
    }
    .card {
        width: 100%;
        max-width: none;
        padding: 1.5rem;
        border-radius: 0.75rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    .btn-primary {
        padding: 0.75rem;
        font-size: 1rem;
    }
    body {
        padding: 0;
    }
    .container {
        padding: 0.5rem;
    }
    .sidemenu {
        zoom: 1.4;
    }
}
@media (max-width: 596px) {
    span.me-3.text-muted.small {
        display: none;
    }
}
@media (max-width: 993px) {
    body {
        padding-top: 80px;
    }
}
@media (min-width: 993px) {
    .navbar-brand {
        display: none;
    }
}
.menulist {
    text-align: center;
}
body,
html {
    height: 100%;
    margin: 0;
}
.sep {
    border-color: #595656 !important;
    border: 1px solid;
    width: 80%;
    opacity: 1;
}
.dashbackground {
    background: linear-gradient(180deg, #ff914d 0%, rgb(234 245 245) 100%);
    background-attachment: fixed;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    padding: 1rem;
}
img.disclaimer-logo {
    width: 50px;
}
.disclaimer {
    margin-bottom: 0;
}
#sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background-color: #212529;
    color: white;
    z-index: 1050;
    transition: left 0.3s ease;
    overflow-y: auto;
}
#sidebar.active {
    left: 0;
}
#sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}
#sidebar .nav-link {
    color: #ccc;
    transition: color 0.2s;
    font-weight: bold;
}
#sidebar .nav-link:hover {
    color: #fff;
}
@media (min-width: 768px) {
    #sidebar {
        left: 0;
    }
    .main-website-page {
        margin-left: 250px;
    }
}
.vehicle-main-img {
    max-height: 400px;
}
.delete-vehicle-btn {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.delete-vehicle-btn:hover {
    opacity: 1;
}
.main-title {
    color: #ffffff;
    background: #21212147;
    padding: 20px;
    border-radius: 16px;
    font-weight: bold;
}
.btn-success {
    --bs-btn-bg: #2EC4B6;
    --bs-btn-border-color: #2EC4B6;
    font-weight: bold !important;
}
.btn-info,
.btn-danger,
.btn-warning,
.btn-outline-secondary {
    font-weight: bold !important;
}
.bg-success {
    background-color: #ff914d !important;
}
.btn-success:hover {
    --bs-btn-hover-bg: #289389 !important;
    --bs-btn-hover-border-color: #289389 !important;
}
.btn:focus-visible {
    --bs-btn-hover-bg: #289389 !important;
    --bs-btn-hover-border-color: #289389 !important;
}
.btn:active {
    --bs-btn-active-bg: #289389 !important;
    --bs-btn-active-border-color: #289389 !important;
}
i.discl-model {
    font-size: 10px;
}
.g_id_signin {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.exp-ul {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}
.bg-expok {
    background: #0f9a0f;
}
.text-highlight {
    color: #ff914d;
}
.icon-maint {
    color: #ff914d;
    font-size: 36px;
}
.qrlogo_panel {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}
.logo_panel {
    max-width: 200px;
    max-height: max-content;
}
.required::after {
    content: " *";
    color: red;
}
@media only screen and (max-width: 1300px) {
    .qrlogo_panel {
        display: block !important;
    }
}
.vehicle-card.locked-vehicle {
    position: relative;
    overflow: hidden;
    border: 1px solid #dee2e6;
}
.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    text-align: center;
}
.lock-message-box {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
    max-width: 90%;
}
.vehicle-card.locked-vehicle .delete-wrapper {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 0 15px;
}
.vehicle-card.locked-vehicle .original-buttons {
    opacity: 0;
    pointer-events: none;
}
@media (max-width: 1500px) {
    .edit-vehicle-btn,
    .delete-vehicle-btn,
    .btn-set-price {
        font-size: 0;
    }
    .edit-vehicle-btn i,
    .delete-vehicle-btn i,
    .btn-set-price i {
        font-size: 1rem;
    }
}
.nav-box {
    background: #fff;
    border-radius: 15px;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.nav-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.nav-box.active {
    background: #d0e3e1;
    color: #2ec4b6;
}
.nav-box i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #6c757d;
    transition: color 0.3s;
}
.nav-box.active i {
    color: #2ec4b6;
}
.nav-box h6 {
    font-weight: 700;
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tab-section {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}
.tab-section.active {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
a {
    text-decoration: none !important;
}
a:hover {
    text-decoration: none !important;
}
i.bi.bi-currency-euro {
    font-size: 19px;
}
@media all and (min-width: 500px) and (max-width: 800px) {
    .modal-dialog {
        max-width: 800px;
        margin-left: 10px;
        margin-right: 10px;
    }
}
@media all and (min-width: 800px) and (max-width: 992px) {
    .modal-dialog {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
}
.modal-header {
    background-color: #2EC4B6;
    color: white !important;
}
label.form-label {
    font-weight: 600 !important;
}
.vehicle-card-modern {
    border: none;
    border-radius: 16px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    height: 100%;
}
.vehicle-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}
.vehicle-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.vehicle-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}
.vehicle-plate {
    font-size: 0.85rem;
    color: #95a5a6;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: monospace;
    letter-spacing: 1px;
    border: 1px solid #e9ecef;
}
.exp-grid {
    display: flex;
    flex-direction: column;
    padding: 10px;
}
.exp-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 12px;
    background-color: #fff;
    border: 1px solid #f0f0f0;
    transition: all 0.2s;
}
.exp-item:last-child {
    margin-bottom: 0;
}
.exp-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}
.status-expok {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #c8e6c9;
}
.status-icon-expok {
    background: #fff;
    color: #2e7d32;
}
.status-warning {
    background: #fff3e0;
    color: #ef6c00;
    border-color: #ffe0b2;
}
.status-icon-warning {
    background: #fff;
    color: #ef6c00;
}
.status-danger {
    background: #ffebee;
    color: #c62828;
    border-color: #ffcdd2;
}
.status-icon-danger {
    background: #fff;
    color: #c62828;
}
.status-secondary {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #e9ecef;
}
.status-icon-secondary {
    background: #e9ecef;
    color: #6c757d;
}
.exp-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 2px;
    display: block;
}
.exp-date {
    font-size: 0.95rem;
    font-weight: 700;
    display: block;
}
.exp-days-left {
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
}
.exp-locked {
    background: repeating-linear-gradient(45deg,
            #f8f9fa,
            #f8f9fa 10px,
            #f1f3f5 10px,
            #f1f3f5 20px);
    color: #adb5bd;
    border: 1px dashed #dee2e6;
}
.exp-locked .exp-icon-box {
    background: #e9ecef;
    color: #adb5bd;
}
.card-footer-custom {
    padding: 15px 20px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}
.appt-card {
    border: none;
    border-radius: 16px;
    background: #fff;
    border-left: 5px solid #0d6efd;
    transition: transform 0.2s, box-shadow 0.2s;
}
.appt-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06) !important;
}
.appt-border-danger {
    border-left-color: #c62828 !important;
}
.appt-border-warning {
    border-left-color: #ef6c00 !important;
}
.appt-border-success {
    border-left-color: #2e7d32 !important;
}
.appt-border-secondary {
    border-left-color: #6c757d !important;
}
.appt-date-box {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 12px;
    min-width: 70px;
    margin-right: 15px;
}
.appt-day {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    display: block;
    color: #2c3e50;
}
.appt-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #95a5a6;
    display: block;
    margin-top: 3px;
}
.appt-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #2c3e50;
    margin-bottom: 4px;
}
.appt-vehicle-badge {
    display: inline-flex;
    align-items: center;
    background: #eef2f5;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #546e7a;
    font-weight: 600;
    margin-bottom: 10px;
}
.appt-vehicle-badge i {
    margin-right: 6px;
    font-size: 0.9rem;
}
.appt-actions {
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.maint-stat-row {
    display: flex;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.maint-stat-item {
    flex: 1;
    display: flex;
    align-items: center;
}
.maint-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #e3f2fd;
    color: #1976d2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.1rem;
}
.maint-stat-label {
    font-size: 0.75rem;
    color: #95a5a6;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    line-height: 1.2;
}
.maint-stat-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c3e50;
}
.maint-tasks {
    list-style: none;
    padding: 0;
    margin: 0;
}
.maint-task-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
    font-size: 0.9rem;
    color: #495057;
}
.maint-task-item:last-child {
    border-bottom: none;
}
.maint-task-icon {
    color: #ff914d;
    margin-right: 10px;
    font-size: 1.1rem;
}
.maint-note-box {
    background: #fff8e1;
    border-left: 3px solid #ffc107;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #5d4037;
    margin-top: 10px;
}
@media (max-width: 384px) {
    .logo-sidebar {
        width: 125px !important;
    }
}
    .title-header {
        background: linear-gradient(135deg, #11a0cb 0%, #25c196 100%);
        color: white;
        padding: 30px 20px;
        border-radius: 15px;
        margin-bottom: 30px;
        box-shadow: 0 4px 15px rgba(37, 117, 252, 0.2);
    }
    .text-libretto{
        color: #2EC4B6
    }
    .border-success{
        border-color: #2EC4B6 !important;
    }
    .bg-libretto{
        background: #2EC4B6 !important;
    }
    .btn.disabled, .btn:disabled, fieldset:disabled .btn {
    color: var(--bs-btn-disabled-color);
    pointer-events: none;
    background-color: #2EC4B6;
    border-color: #2EC4B6;
    opacity: var(--bs-btn-disabled-opacity);
}