/* ==========================================================================
   NELO Logistics - Refined Shipment Tracking Styles
   Brand Colors: Navy (#144261), Accent (#e04622), Surface (#f8fafc)
   ========================================================================== */

/* Main Tracking Page Container */
.nelo-tracking-page {
    background-color: #f4f7fa;
    min-height: 700px;
    padding-bottom: 60px;
    font-family: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #334155;
}

/* Page Banner */
.nelo-tracking-banner {
    background: linear-gradient(135deg, #144261 0%, #0c273a 100%);
    padding: 55px 0 85px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.nelo-tracking-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.nelo-tracking-banner .banner-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.nelo-tracking-banner .banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #ffd166;
    margin-bottom: 14px;
}

.nelo-tracking-banner h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 12px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.nelo-tracking-banner p {
    font-size: 16px;
    color: #cbd5e1;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Search Card Container */
.nelo-search-container {
    max-width: 900px;
    margin: -50px auto 40px;
    position: relative;
    z-index: 10;
    padding: 0 15px;
}

.nelo-search-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 34px 38px 28px;
    box-shadow: 0 12px 40px rgba(20, 66, 97, 0.12);
    border: 1px solid #e2e8f0;
}

.nelo-search-card-header {
    margin-bottom: 22px;
}

.nelo-search-card-header h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #144261;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nelo-search-card-header h3 i {
    color: #e04622;
}

.nelo-search-card-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Input Form Group */
.nelo-search-form {
    position: relative;
}

.nelo-search-input-group {
    display: flex;
    align-items: stretch;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nelo-search-input-group:focus-within {
    border-color: #144261;
    box-shadow: 0 0 0 4px rgba(20, 66, 97, 0.12);
}

.nelo-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 20px;
}

.nelo-search-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    height: 54px !important;
    padding: 0 18px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    color: #1e293b !important;
    text-transform: uppercase;
    background: transparent !important;
}

.nelo-search-input::placeholder {
    color: #94a3b8 !important;
    text-transform: none;
    font-weight: 400;
    font-size: 15px;
}

.nelo-btn-track {
    background: linear-gradient(135deg, #144261 0%, #1a5276 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 28px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-width: 160px;
}

.nelo-btn-track:hover {
    background: linear-gradient(135deg, #0c273a 0%, #144261 100%) !important;
    color: #ffffff !important;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.15);
}

.nelo-search-hints {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #64748b;
}

.nelo-search-hints span i {
    color: #144261;
    margin-right: 4px;
}

/* Feature Highlights Grid */
.nelo-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.nelo-feature-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nelo-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef4f9;
    color: #144261;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.nelo-feature-box:hover .nelo-feature-icon {
    background: #144261;
    color: #ffffff;
    transform: translateY(-2px);
}

.nelo-feature-text strong {
    display: block;
    font-size: 13px;
    color: #1e293b;
    font-weight: 700;
}

.nelo-feature-text span {
    display: block;
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
}

/* ==========================================================================
   Results Container
   ========================================================================== */
.nelo-results-wrap {
    max-width: 1050px;
    margin: 0 auto 30px;
    padding: 0 15px;
}

/* Status Hero Header Card */
.nelo-status-hero {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.nelo-status-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 22px;
    border-bottom: 1px solid #f1f5f9;
}

.nelo-awb-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nelo-awb-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
}

.nelo-awb-number {
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #144261;
    letter-spacing: 0.5px;
}

/* Status Badges */
.nelo-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nelo-status-pill i {
    font-size: 9px;
}

.nelo-status-pill.status-delivered {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.nelo-status-pill.status-transit {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.nelo-status-pill.status-out {
    background: #ffedd5;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.nelo-status-pill.status-booked {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* Route Visual */
.nelo-route-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 28px 0 34px;
    padding: 0 20px;
}

.nelo-route-point {
    text-align: center;
    min-width: 120px;
}

.nelo-route-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin: 0 auto 8px;
    position: relative;
}

.nelo-route-dot.origin {
    background: #144261;
    box-shadow: 0 0 0 5px rgba(20, 66, 97, 0.15);
}

.nelo-route-dot.destination {
    background: #16a34a;
    box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.18);
}

.nelo-route-city {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
}

.nelo-route-caption {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.nelo-route-track {
    flex: 1;
    height: 4px;
    background: #e2e8f0;
    margin: 0 20px;
    position: relative;
    border-radius: 2px;
}

.nelo-route-track-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, #144261, #e04622);
    border-radius: 2px;
    width: 60%;
    transition: width 0.8s ease;
}

.nelo-route-truck {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e04622;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(224, 70, 34, 0.4);
    transition: left 0.8s ease;
}

/* 4-Stage Stepper */
.nelo-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

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

.nelo-step-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 2px solid #cbd5e1;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 10px;
    transition: all 0.3s ease;
}

.nelo-step.completed .nelo-step-icon {
    background: #144261;
    border-color: #144261;
    color: #ffffff;
}

.nelo-step.active .nelo-step-icon {
    background: #e04622;
    border-color: #e04622;
    color: #ffffff;
    box-shadow: 0 0 0 6px rgba(224, 70, 34, 0.2);
    animation: stepPulse 2s infinite;
}

@keyframes stepPulse {
    0% { box-shadow: 0 0 0 0 rgba(224, 70, 34, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(224, 70, 34, 0); }
    100% { box-shadow: 0 0 0 0 rgba(224, 70, 34, 0); }
}

.nelo-step-title {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 2px;
}

.nelo-step.completed .nelo-step-title,
.nelo-step.active .nelo-step-title {
    color: #1e293b;
}

.nelo-step-desc {
    font-size: 12px;
    color: #94a3b8;
}

.nelo-step.active .nelo-step-desc {
    color: #e04622;
    font-weight: 600;
}

.nelo-step-line {
    position: absolute;
    top: 38px;
    left: 12%;
    right: 12%;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

.nelo-step-line-fill {
    height: 100%;
    background: #144261;
    width: 0%;
    transition: width 0.8s ease;
}

/* Stat Cards Grid */
.nelo-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.nelo-stat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s ease;
}

.nelo-stat-card:hover {
    transform: translateY(-2px);
}

.nelo-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.nelo-stat-icon.bg-blue {
    background: #e0f2fe;
    color: #0284c7;
}

.nelo-stat-icon.bg-orange {
    background: #ffedd5;
    color: #ea580c;
}

.nelo-stat-icon.bg-green {
    background: #dcfce7;
    color: #16a34a;
}

.nelo-stat-icon.bg-purple {
    background: #f3e8ff;
    color: #9333ea;
}

.nelo-stat-info {
    overflow: hidden;
}

.nelo-stat-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 3px;
}

.nelo-stat-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   Panel Card & Modern Tables
   ========================================================================== */
.nelo-panel-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    overflow: hidden;
}

.nelo-panel-card-header {
    padding: 18px 24px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nelo-panel-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nelo-panel-card-title i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eef4f9;
    color: #144261;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.nelo-panel-card-title h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #144261;
    margin: 0;
}

.nelo-section-label {
    display: none !important; /* Managed via card header */
}

.nelo-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Table Styling Overrides */
.nelo-table {
    margin-bottom: 0 !important;
    width: 100% !important;
    border-collapse: collapse !important;
}

.nelo-table > tbody > tr > th,
.nelo-table > tbody > tr.nelo-grid-header > th {
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    padding: 14px 18px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    border-top: none !important;
    white-space: nowrap !important;
}

.nelo-table > tbody > tr > td {
    padding: 14px 18px !important;
    font-size: 14px !important;
    color: #334155 !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: none !important;
    vertical-align: middle !important;
}

.nelo-table > tbody > tr:hover > td {
    background-color: #f8fafc !important;
}

.nelo-table-history > tbody > tr:nth-of-type(even) > td {
    background-color: #fbfcfe;
}

/* Proof of Delivery (POD) Section */
.nelo-pod-panel {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    overflow: hidden;
}

.nelo-pod-body {
    padding: 24px 28px;
}

.nelo-pod-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.nelo-pod-info-block {
    flex: 1;
    min-width: 260px;
}

.nelo-pod-info-block h5 {
    font-family: 'Raleway', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #144261;
    margin: 0 0 6px;
}

.nelo-pod-info-block p {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px;
    line-height: 1.5;
}

.nelo-pod-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.nelo-btn-download {
    background: linear-gradient(135deg, #144261 0%, #1a5276 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 11px 22px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(20, 66, 97, 0.2) !important;
}

.nelo-btn-download:hover {
    background: linear-gradient(135deg, #0c273a 0%, #144261 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(20, 66, 97, 0.3) !important;
}

.nelo-btn-view-pod {
    background: #eef4f9 !important;
    color: #144261 !important;
    border: 1px solid #cbd5e1 !important;
    padding: 11px 20px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.25s ease !important;
}

.nelo-btn-view-pod:hover {
    background: #144261 !important;
    color: #ffffff !important;
    border-color: #144261 !important;
}

.nelo-pod-preview-block {
    flex-shrink: 0;
}

.nelo-pod-thumb-card {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #cbd5e1;
    background: #f8fafc;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.nelo-pod-thumb-card:hover {
    border-color: #144261;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 66, 97, 0.18);
}

.nelo-pod-thumb-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.nelo-pod-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 66, 97, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nelo-pod-zoom-overlay i {
    font-size: 18px;
}

.nelo-pod-zoom-overlay span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nelo-pod-thumb-card:hover .nelo-pod-zoom-overlay {
    opacity: 1;
}

/* POD Pending State */
.nelo-pod-empty {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 8px 0;
}

.nelo-pod-empty-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.nelo-pod-empty-text h5 {
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #334155;
    margin: 0 0 4px;
}

.nelo-pod-empty-text p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Support Help Section */
.nelo-support-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 24px 30px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.nelo-support-text h5 {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #144261;
    margin: 0 0 4px;
}

.nelo-support-text p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.nelo-support-channels {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nelo-support-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #144261;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.nelo-support-link i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eef4f9;
    color: #144261;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.nelo-support-link:hover {
    color: #e04622;
}

.nelo-support-link:hover i {
    background: #e04622;
    color: #ffffff;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .nelo-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .nelo-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 767px) {
    .nelo-tracking-banner {
        padding: 40px 0 70px;
    }

    .nelo-tracking-banner h1 {
        font-size: 28px;
    }

    .nelo-search-container {
        margin-top: -35px;
    }

    .nelo-search-card {
        padding: 24px 20px;
    }

    .nelo-search-input-group {
        flex-direction: column;
    }

    .nelo-input-icon {
        display: none;
    }

    .nelo-search-input {
        height: 50px !important;
        font-size: 15px !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .nelo-btn-track {
        width: 100% !important;
        height: 48px !important;
    }

    .nelo-features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nelo-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nelo-route-visual {
        flex-direction: column;
        gap: 16px;
        padding: 0;
    }

    .nelo-route-track {
        display: none;
    }

    .nelo-stepper {
        flex-wrap: wrap;
        gap: 15px;
    }

    .nelo-step {
        flex: 1 1 45%;
    }

    .nelo-step-line {
        display: none;
    }

    .nelo-pod-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .nelo-support-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   POD Modal Popup & Print Styles
   ========================================================================== */
body.modal-open {
    overflow: hidden !important;
}

.nelo-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 39, 58, 0.82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.nelo-modal-dialog {
    background: #ffffff;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideUp 0.25s ease-out;
}

@keyframes modalSlideUp {
    from { transform: translateY(20px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.nelo-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.nelo-modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nelo-modal-title i {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eef4f9;
    color: #144261;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.nelo-modal-title h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #144261;
    margin: 0 0 2px;
}

.nelo-modal-awb {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.nelo-modal-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nelo-modal-btn-print {
    background: linear-gradient(135deg, #144261 0%, #1a5276 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 3px 10px rgba(20, 66, 97, 0.2) !important;
}

.nelo-modal-btn-print:hover {
    background: linear-gradient(135deg, #0c273a 0%, #144261 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(20, 66, 97, 0.3) !important;
}

.nelo-modal-btn-close {
    background: transparent;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 6px;
    transition: color 0.2s ease;
}

.nelo-modal-btn-close:hover {
    color: #1e293b;
}

.nelo-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background: #f8fafc;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nelo-modal-img-container {
    display: inline-block;
    max-width: 100%;
}

.nelo-modal-img-container img {
    max-width: 100%;
    max-height: 62vh;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.nelo-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 12px;
}

.nelo-modal-footer-note {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nelo-modal-footer-note i {
    color: #16a34a;
}

.nelo-modal-footer-btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nelo-modal-btn-secondary {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

.nelo-modal-btn-secondary:hover {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}
