.nimz-tracking-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Ubuntu', Arial, Helvetica, sans-serif;
}

/* Form Styles */
.nimz-tracking-form-container {
    background: linear-gradient(145deg, #ffffff 0%, #f5f8fa 100%);
    padding: 45px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(26, 58, 85, 0.1), 0 4px 20px rgba(0, 162, 221, 0.08);
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid rgba(0, 162, 221, 0.1);
    position: relative;
    overflow: hidden;
}

.nimz-tracking-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a3a55 0%, #00a2dd 100%);
}

.nimz-tracking-title {
    color: #1a3a55;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nimz-form-group {
    display: flex;
    gap: 16px;
    max-width: 650px;
    margin: 0 auto;
}

.nimz-tracking-input {
    flex: 1;
    padding: 20px 24px !important;
    font-size: 16px !important;
    border: 3px solid #e5eef2 !important;
    border-radius: 5px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    font-family: inherit;
}

.nimz-tracking-input:focus {
    outline: none;
    border-color: #00a2dd;
    box-shadow: 0 0 0 6px rgba(0, 162, 221, 0.12), 0 8px 30px rgba(0, 162, 221, 0.15);
}

.nimz-tracking-btn {
    padding: 10px 40px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #1a3a55 0%, #2a4a6a 50%, #00a2dd 100%);
    border: none !important;
    border-radius: 5px !important;
    
    
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(26, 58, 85, 0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: inherit;
}

.nimz-tracking-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 58, 85, 0.45);
    background: linear-gradient(135deg, #2a4a6a 0%, #00a2dd 50%, #1a3a55 100%);
}

/* Error & Loading */
.nimz-tracking-error {
    background: linear-gradient(145deg, #fff5f5 0%, #fef0f0 100%);
    color: #dc2626;
    padding: 28px;
    border-radius: 16px;
    margin: 20px 0;
    border: 2px solid #fecaca;
    text-align: center;
    font-weight: 600;
}

.nimz-tracking-loading {
    text-align: center;
    padding: 60px;
}

.nimz-spinner-large {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 162, 221, 0.15);
    border-top-color: #00a2dd;
    border-radius: 50%;
    animation: nimz-spin 0.8s linear infinite;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px rgba(0, 162, 221, 0.3);
}

@keyframes nimz-spin {
    to { transform: rotate(360deg); }
}

/* Result Container */
.nimz-tracking-result {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(26, 58, 85, 0.12), 0 8px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid rgba(0, 162, 221, 0.1);
}

/* Status Header */
.nimz-status-header {
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nimz-status-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}

.nimz-status-header.delivered {
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
}

.nimz-status-header.in-transit {
    background: linear-gradient(135deg, #1a3a55 0%, #2a4a6a 50%, #00a2dd 100%);
}

.nimz-status-header.at-destination {
    background: linear-gradient(135deg, #00a2dd 0%, #0891b2 50%, #06b6d4 100%);
}

.nimz-status-header.pending {
    background: linear-gradient(135deg, #1a3a55 0%, #00a2dd 50%, #0891b2 100%);
}

.nimz-status-header.error {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
}

.nimz-status-icon {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    position: relative;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
    50% { transform: scale(1.05); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
}

.nimz-status-icon svg {
    width: 50px;
    height: 50px;
}

.nimz-status-text {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    letter-spacing: -0.5px;
}

.nimz-status-subtext {
    color: rgba(255,255,255,0.95);
    font-size: 18px;
    font-weight: 500;
}

/* Progress Bar */
.nimz-progress-container {
    padding: 40px;
    background: linear-gradient(180deg, #f5f8fa 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 162, 221, 0.1);
}

.nimz-progressbar {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.nimz-progressbar::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 50px;
    right: 50px;
    height: 6px;
    background: linear-gradient(90deg, #e5eef2 0%, #d0e8f0 100%);
    z-index: 0;
    border-radius: 3px;
}

.nimz-progressbar .nimz-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

.nimz-step-icon {
    width: 64px;
    height: 64px;
    background: #fff;
    border: 4px solid #e5eef2;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(26, 58, 85, 0.08);
}

.nimz-step-icon svg {
    width: 28px;
    height: 28px;
    fill: #b8cdd6;
    transition: all 0.3s ease;
}

.nimz-step.completed .nimz-step-icon {
    border-color: #1a3a55;
    background: linear-gradient(135deg, #1a3a55 0%, #00a2dd 100%);
    box-shadow: 0 8px 25px rgba(26, 58, 85, 0.25);
}

.nimz-step.completed .nimz-step-icon svg {
    fill: #fff;
}

.nimz-step.active .nimz-step-icon {
    border-color: #00a2dd;
    background: linear-gradient(135deg, #00a2dd 0%, #0891b2 100%);
    box-shadow: 0 8px 30px rgba(0, 162, 221, 0.4);
    transform: scale(1.15);
    animation: step-pulse 1.5s ease-in-out infinite;
}

@keyframes step-pulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(0, 162, 221, 0.4); }
    50% { box-shadow: 0 8px 40px rgba(0, 162, 221, 0.6); }
}

.nimz-step.active .nimz-step-icon svg {
    fill: #fff;
}

.nimz-step.completed.active .nimz-step-icon {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border-color: #059669;
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.4);
}

.nimz-step-label {
    font-size: 11px;
    font-weight: 700;
    color: #8aa8b5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nimz-step.completed .nimz-step-label {
    color: #1a3a55;
}

.nimz-step.active .nimz-step-label {
    color: #00a2dd;
}

.nimz-step-date {
    display: block;
    font-size: 11px;
    color: #6b8290;
    margin-top: 6px;
    font-weight: 600;
    background: #f0f4f6;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Details Section */
.nimz-details-section {
    padding: 40px;
}

.nimz-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a3a55;
    margin: 0 0 28px;
    padding-bottom: 16px;
    border-bottom: 3px solid #00a2dd;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nimz-section-title::before {
    content: '';
    width: 6px;
    height: 28px;
    background: linear-gradient(180deg, #1a3a55, #00a2dd);
    border-radius: 3px;
}

/* Info Cards */
.nimz-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}

.nimz-info-card {
    background: linear-gradient(145deg, #ffffff 0%, #f5f8fa 100%);
    padding: 28px 24px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #e5eef2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nimz-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a3a55, #00a2dd);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nimz-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26, 58, 85, 0.12);
    border-color: #00a2dd;
}

.nimz-info-card:hover::before {
    transform: scaleX(1);
}

.nimz-info-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a3a55 0%, #00a2dd 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(26, 58, 85, 0.2);
}

.nimz-info-card-icon svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.nimz-info-card-label {
    font-size: 11px;
    color: #6b8290;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-weight: 700;
}

.nimz-info-card-value {
    font-size: 20px;
    font-weight: 700;
    color: #1a3a55;
    word-break: break-all;
}

/* Timeline */
.nimz-timeline-container {
    background: linear-gradient(145deg, #f5f8fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 36px;
    border: 2px solid #e5eef2;
}

.nimz-timeline {
    position: relative;
    padding-left: 50px;
}

.nimz-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 10px;
    bottom: 10px;
    width: 4px;
    background: linear-gradient(180deg, #1a3a55 0%, #00a2dd 100%);
    border-radius: 2px;
}

.nimz-timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.nimz-timeline-item:last-child {
    padding-bottom: 0;
}

.nimz-timeline-item::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 8px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #1a3a55 0%, #00a2dd 100%);
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(26, 58, 85, 0.25);
}

.nimz-timeline-content {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    border: 2px solid #e5eef2;
    transition: all 0.3s ease;
    position: relative;
}

.nimz-timeline-content:hover {
    border-color: #00a2dd;
    box-shadow: 0 8px 30px rgba(0, 162, 221, 0.12);
    transform: translateX(8px);
}

.nimz-timeline-content::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #e5eef2;
}

.nimz-timeline-content:hover::before {
    border-right-color: #00a2dd;
}

.nimz-timeline-status {
    font-size: 17px;
    font-weight: 700;
    color: #1a3a55;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nimz-timeline-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #00a2dd, #1a3a55);
    border-radius: 50%;
}

.nimz-timeline-date {
    font-size: 15px;
    color: #00a2dd;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nimz-timeline-date::before {
    content: '📅';
    font-size: 14px;
}

/* Remarks */
.nimz-additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.nimz-remarks-box {
    background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #fcd34d;
    border-left: 6px solid #00a2dd;
    padding: 24px;
    border-radius: 16px;
    margin-top: 20px;
}

.nimz-remarks-label {
    font-size: 13px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nimz-remarks-text {
    font-size: 15px;
    color: #78350f;
    line-height: 1.6;
}

/* Back Link */
.nimz-back-link {
    text-align: center;
    padding: 35px;
}

.nimz-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 16px 32px;
    background: linear-gradient(135deg, #1a3a55 0%, #00a2dd 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(26, 58, 85, 0.25);
    font-family: inherit;
}

.nimz-back-link a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 58, 85, 0.35);
}

/* Form Footer */
.nimz-tracking-form-footer {
    margin-top: 20px;
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #e5eef2;
}

.nimz-current-tracking {
    font-size: 14px;
    color: #6b8290;
}

.nimz-current-tracking strong {
    color: #1a3a55;
    font-size: 16px;
}

/* Tracking Result Inner */
.nimz-tracking-result-inner {
    position: relative;
}

/* Responsive */
@media (max-width: 768px) {
    .nimz-form-group {
        flex-direction: column;
    }
    
    .nimz-tracking-btn {
        width: 100%;
    }
    
    .nimz-tracking-title {
        font-size: 26px;
    }
    
    .nimz-status-header {
        padding: 40px 24px;
    }
    
    .nimz-status-text {
        font-size: 28px;
    }
    
    .nimz-progress-container {
        padding: 24px;
    }
    
    .nimz-progressbar {
        flex-direction: column;
        gap: 20px;
        padding-left: 30px;
    }
    
    .nimz-progressbar::before {
        display: none;
    }
    
    .nimz-step {
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
    }
    
    .nimz-step-icon {
        margin: 0;
        flex-shrink: 0;
        width: 52px;
        height: 52px;
    }
    
    .nimz-step-content {
        text-align: left;
    }
    
    .nimz-details-section {
        padding: 24px;
    }
    
    .nimz-info-cards {
        grid-template-columns: 1fr;
    }
    
    .nimz-timeline {
        padding-left: 30px;
    }
    
    .nimz-timeline-content {
        padding: 18px;
    }
    
    .nimz-timeline-content::before {
        display: none;
    }
}
