Reset and base styles */ .main-new-create-style * {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.main-new-create-style {
    font-size: none !important;
}

.main-new-create-style html,
body {
    height: 100% !important;
    overflow-y: auto !important;
    font-family: 'Segoe UI', Arial, sans-serif !important;
}

.main-new-create-style body {
    background: #f8f9fa !important;
    color: #222 !important;
    font-size: 15px !important;
}

/* --- NAVBAR --- */
.update-custom-navbar {
    background: linear-gradient(90deg, #0099ff 0%, #00c6ff 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    position: fixed !important;
    width: 100%;
    top: 0 !important;
    z-index: 100 !important;
    min-height: 56px;
    max-width: 1200px;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto;
}

.update-navbar-content {
    width: 100% !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.7rem 2rem !important;
    max-width: 1200px !important;
}

.send-car-logo {
    margin-top: 5vh;
    width: 100%;
}

.update-navbar-brand {
    color: #fff !important;
    font-weight: bold;
    font-size: 2.4rem !important;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none !important;
    margin-left: 3vw;
}

.update-navbar-actions {
    display: flex;
    align-items: center;
    gap: 1em;
}

.update-register-btn {
    background: transparent !important;
    border: 2px solid #fff;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 1.2rem !important;
    border-radius: 6px !important;
    transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.gpsBtn {
    width: 30px;
    cursor: pointer;
}

.update-register-btn:hover {
    background: #fff;
    color: #0099ff;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 153, 255, 0.15);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.new-dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.new-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.new-dashboard-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.new-dashboard-logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #555;
}

.new-dashboard-logo-text .new-dashboard-logo-c {
    color: #ff6b9d;
    position: relative;
}

.new-dashboard-logo-text .new-dashboard-logo-c::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #ff6b9d;
}

.new-dashboard-logo-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.new-dashboard-truck {
    width: 18px;
    height: 12px;
    background: white;
    border-radius: 2px;
    position: relative;
}

.new-dashboard-truck::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 4px;
    height: 6px;
    background: white;
    border-radius: 1px;
}

.new-dashboard-truck::after {
    content: '';
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 8px;
    height: 4px;
    background: white;
    border-radius: 1px;
}

.new-dashboard-wheels {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
}

.new-dashboard-wheel {
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
}

.new-dashboard-shortcuts {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.new-dashboard-shortcut {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.new-dashboard-shortcut:hover {
    transform: scale(1.05);
}

.new-dashboard-shortcut.active {
    background-color: #0099ff;
    color: white;
}

.new-dashboard-shortcut:not(.active) {
    background-color: transparent;
    color: #0099ff;
}


.new-dashboard-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.new-dashboard-grid-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.new-dashboard-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.new-dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.new-dashboard-metric {
    text-align: center;
}

.new-dashboard-metric-number {
    font-size: 3rem;
    font-weight: bold;
    color: #0099ff;
    margin-bottom: 5px;
}

.new-dashboard-metric-label {
    font-size: 14px;
    color: #383737;
    margin-bottom: 10px;
}

.new-dasboard-title {
    font-size: 3rem;
    font-weight: 600;
    color: #0099ff;
}

.new-dashboard-metric-change {
    font-size: 12px;
    color: #27ae60;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.new-dashboard-satisfaction {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 15px;
}

.new-dashboard-emoji-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.new-dashboard-emoji-group:hover {
    transform: scale(1.1);
}

.new-dashboard-emoji {
    font-size: 24px;
}

.new-dashboard-emoji-count {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.new-dashboard-bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.new-dashboard-deliveries-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.new-dashboard-delivery-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0099ff;
    transition: all 0.3s ease;
}

.new-dashboard-delivery-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.new-dashboard-delivery-info {
    flex: 1;
}

.new-dashboard-delivery-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.new-dashboard-delivery-address {
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
}

.new-dashboard-delivery-driver {
    font-size: 12px;
    color: #0099ff;
}

.new-dashboard-delivery-status {
    text-align: right;
}

.new-dashboard-status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 3px;
    display: inline-block;
}

.new-dashboard-status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.new-dashboard-status-delivered {
    background-color: #d4edda;
    color: #155724;
}

.new-dashboard-status-time {
    font-size: 11px;
    color: #666;
}

.new-dashboard-remaining {
    color: #e74c3c;
}

.new-dashboard-completed {
    color: #27ae60;
}

/* Responsive Design */
@media (max-width: 768px) {
    .new-dashboard-container {
        padding: 15px;
    }

    .new-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .new-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .new-dashboard-grid-bottom {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .new-dashboard-bottom-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .new-dashboard-metric-number {
        font-size: 2rem;
    }

    .new-dashboard-satisfaction {
        flex-direction: column;
        gap: 10px;
    }

    .new-dashboard-shortcuts {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .new-dashboard-container {
        padding: 10px;
    }

    .new-dashboard-card {
        padding: 15px;
    }

    .new-dashboard-metric-number {
        font-size: 1.8rem;
    }

    .new-dashboard-delivery-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .new-dashboard-delivery-status {
        text-align: left;
        width: 100%;
    }
}

/* RESPONSIVE */
@media (max-width: 1200px) {

    .update-dashboard-container,
    .update-custom-navbar {
        max-width: 98vw;
    }
}


@media (max-width: 900px) {
    .update-main-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .update-sidebar {
        flex-direction: column;
        gap: 1.5rem;
    }

    .update-card {
        flex: 1 1 0;
    }

    .update-dashboard-title {
        font-size: 1.5rem;
    }

    .update-dashboard-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 700px) {

    .update-dashboard-container,
    .update-custom-navbar {
        max-width: 100vw;
        padding-left: 0.2rem;
        padding-right: 0.2rem;
    }

    .update-navbar-content {
        flex-direction: column;
        align-items: center;
        padding: 0.5rem 0.5rem;
    }

    .update-navbar-brand {
        font-size: 1.1rem;
        margin-left: 0;
        margin-bottom: 0.5rem;
    }

    .update-navbar-actions {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 0.3em;
    }

    .update-dashboard-title {
        font-size: 1.1rem;
    }

    .update-stats-row {
        flex-direction: column;
        gap: 1rem;
    }

    .update-stat-card {
        min-width: 0;
        width: 100%;
        padding: 1rem 0.7rem;
    }

    .update-main-row {
        gap: 0.5rem;
    }

    .update-sidebar {
        flex-direction: column;
        gap: 1rem;
    }

    .update-register-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.7rem;
        margin-left: 0.2em;
        flex: 1 1 40%;
        min-width: 90px;
        max-width: 48%;
        margin-bottom: 0.3em;
    }

    .header-nav-list {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 0.3em;
    }

    .header-nav-list li a {
        font-size: 1.6rem !important;
        padding: 0;
        flex: 1 1 40%;
        min-width: 90px;
        max-width: 48%;
        margin-bottom: 0.3em;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .update-navbar-content {
        padding: 0.3rem 0.2rem;
    }

    .update-navbar-brand {
        font-size: 0.9rem;
        margin-left: 0;
        margin-bottom: 0.4rem;
    }

    .update-navbar-actions {
        gap: 0.2em;
    }

    .update-dashboard-title {
        font-size: 0.95rem;
    }

    .update-dashboard-container {
        padding: 0.3rem 0.05rem 0.5rem 0.05rem;
        margin-top: 70px;
    }

    .update-stat-card {
        padding: 0.7rem 0.3rem;
    }

    .update-delivery-status,
    .update-card {
        padding: 0.7rem 0.2rem 1rem 0.2rem;
    }

    .update-register-btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
        min-width: unset;
        flex: unset;
        max-width: 100%;
        width: 100%;
    }

    .header-nav-list {
        gap: 0.1em;
        flex-direction: column;
        width: 100%;
    }

    .header-nav-list li a {
        font-size: 1.6rem;
        padding: 0.3rem 0.5rem;
        min-width: unset;
        flex: unset;
        max-width: 100%;
        margin-bottom: 0.2em;
        text-align: center;
        width: 100%;
    }
}

.update-action-btn,
.update-register-btn {
    transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.update-action-btn:hover,
.update-register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 153, 255, 0.15);
}

.update-stat-card,
.update-card {
    transition: box-shadow 0.25s, transform 0.25s;
}

.update-stat-card:hover,
.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 153, 255, 0.13);
}

.update-modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.25);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.update-modal-bg.show {
    opacity: 1;
    pointer-events: auto;
}

.show {
    display: block;
}

.update-modal-content {
    background: #fff;
    border-radius: 1rem;
    padding: 0;
    min-width: 320px;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 153, 255, 0.13);
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.2s, opacity 0.2s;
    overflow: hidden;
}

.update-modal-bg.show .update-modal-content {
    transform: scale(1);
    opacity: 1;
}

.update-modal-header {
    background-color: #e0f2f7;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
}

.update-modal-title {
    color: #007bff;
    font-weight: bold;
    font-size: 1.25rem;
}

.update-modal-close {
    position: static;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.2em;
    line-height: 1;
    transition: color 0.2s;
}

.update-modal-close:hover {
    color: #333;
}

.update-modal-body {
    padding: 1.5rem;
}

.update-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
    margin-left: 1.5vw;

}

#update-reg-password {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    font-size: 2rem !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#update-reg-password:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

.update-modal-body .update-action-btn.primary {
    width: 100%;
    margin-top: 0;
}

@media (max-width: 500px) {
    .update-modal-content {
        padding: 0;
        min-width: unset;
        max-width: 95vw;
    }

    .update-modal-header {
        padding: 0.8rem 1rem;
    }

    .update-modal-body {
        padding: 1rem;
    }

    .update-modal-title {
        font-size: 1.1rem;
    }

    #update-reg-password {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}

.header-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1em;
}

.header-nav-list li a {
    color: #e0f7fa;
    text-decoration: none !important;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 0;
    border-radius: 0;
    transition: background 0.25s, color 0.25s;
    display: block;
}

.header-nav-list li a:hover {
    background-color: transparent;
    text-decoration: none !important;
}

.align-item-center {
    display: flex;
    align-items: center;
}

.align-item-center a {
    font-size: 1.44rem !important;
}
