.modal-header {
    background: #0d6efd;
    color: white;
}

.modal-content {
    border-radius: 12px;
}

.modal-dialog {
    max-width: 95%;
}

#map {
    width: 100%;
    height: 400px;
}

@media (max-width:768px) {
    #map {
        height: 300px;
    }
}

.table-responsive {
    overflow-x: auto;
    white-space: nowrap;
}


.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f6f9;
    padding: 20px;
}

.login-box {
    width: 100%;
    max-width: 420px;
}

.login-card-body {
    border-radius: 15px;
}

.login-logo {
    text-align: center;
    margin-bottom: 20px;
}

body[data-bs-theme="dark"] .login-container {
    background: #1e1e2d;
}

.app-sidebar {
    width: 260px;
    transition: all .3s;
}

.sidebar-collapse .app-sidebar {
    margin-left: -260px;
}

.app-main,
.app-header,
.app-footer {
    transition: all .3s;
}

.sidebar-collapse .app-main,
.sidebar-collapse .app-header,
.sidebar-collapse .app-footer {
    margin-left: 0;
}

#myModalLoading .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}

.modal-image {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    display: block;
    margin: auto;
}

.last-record-card {
    border-radius: 12px;
}

.last-record-card .card-header {
    cursor: pointer;
}

.last-record-card:hover {
    transform: translateY(-2px);
    transition: .2s;
}

.card.shadow-sm.mb-3 {
    border-radius: 12px;
    overflow: hidden;
}

.card.shadow-sm.mb-3:hover {
    transform: translateY(-2px);
    transition: .2s;
}

#myModalLoading .modal-dialog {
    pointer-events: none;
}

.uppercase {
    text-transform: uppercase;
}