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

.mnv-tracking-form {
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

#mnv-tracking-id {
    padding: 10px;
    width: 300px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#mnv-tracking-id::placeholder {
    color: #666;
    font-style: italic;
}

#mnv-track-btn {
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

#mnv-track-btn:hover {
    background-color: #005177;
}

#mnv-track-btn.loading {
    padding-right: 40px;
    pointer-events: none;
    opacity: 0.7;
}

#mnv-track-btn.loading::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
}

.mnv-loader {
    display: none;
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.mnv-loader.active {
    display: block;
}

.mnv-loader::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
    margin-left: 10px;
}

.mnv-loader-text {
    display: inline-block;
    vertical-align: middle;
    color: #0073aa;
    font-weight: 500;
}

#mnv-tracking-map {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 400px;
    position: relative;
}

.map-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.map-loader.active {
    display: flex;
}

.map-loader::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#mnv-tracking-details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tracking-event {
    padding: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.tracking-event.latest-event {
    background: #f0f7ff;
    border: 1px solid #cce3ff;
    margin-bottom: 20px;
}

.event-status {
    color: #0073aa;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8em;
    margin-bottom: 5px;
}

.event-date {
    color: #666;
    font-size: 0.9em;
}

.event-description {
    margin: 5px 0;
    font-weight: bold;
    color: #23282d;
}

.event-shipment {
    color: #0073aa;
    font-size: 0.9em;
    margin: 5px 0;
}

.event-comment {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
    font-style: italic;
}

.event-agent {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
}

.leaflet-popup-content {
    font-size: 14px;
    line-height: 1.4;
}

.leaflet-popup-content strong {
    color: #0073aa;
    display: block;
    margin-bottom: 5px;
} 