.section-awb-tracking {
    max-width: 100%;
    padding: 40px 20px;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.65) !important;
    height: 100%;
    overflow: auto;
    display: none;
}

.awb-tracking-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    max-width: 800px;
    margin:0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Header Section */
.awb-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
}

.awb-header h2 {
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 600;
}

.tracking-number,
.status {
    color: #555;
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.6;
}

.tracking-number strong,
.status strong {
    color: #2c3e50;
    font-weight: 600;
}

.status-badge {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

/* Timeline Section - Horizontal */
.awb-tracking-timeline {
    margin: 40px 0;
    position: relative;
}

.timeline-container {
    display: flex;
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
    align-items: flex-start;
}

.stage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stage Dot */
.stage-dot {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ecf0f1;
    border: 3px solid #bdc3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 2;
}

.stage-dot:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.stage-dot.completed {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    border-color: #27ae60;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.stage-dot.completed .checkmark {
    color: white;
    font-size: 24px;
    font-weight: bold;
    animation: popIn 0.5s ease-out;
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.stage-dot.active {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-color: #2980b9;
    box-shadow: 0 0 0 8px rgba(52, 152, 219, 0.1);
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
}

.current-indicator {
    display: block;
    width: 16px;
    height: 16px;
    background-color: #ecf0f1;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

/* Connecting Line - Horizontal */
.connecting-line {
    position: absolute;
    left: 25%;
    top: 25px;
    width: 100%;
    height: 3px;
    background-color: #bdc3c7;
    transition: background-color 0.3s ease;
    transform: translateX(25%);
    z-index: 1;
}

.connecting-line.completed {
    background: linear-gradient(to right, #2ecc71, #27ae60);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
}

/* Stage Details */
.stage-details {
    text-align: center;
    flex: 1;
    width: 100%;
}

.stage-label {
    margin: 0;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.stage-timestamp {
    margin: 5px 0 0 0;
    color: #7f8c8d;
    font-size: 12px;
    font-style: italic;
}

.stage-item:last-child .connecting-line {
    display: none;
}

/* Tracking Data Table */
.awb-tracking-table {
    margin: 30px 0;
    width: 100%;
}

.tracking-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tracking-table th {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tracking-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ecf0f1;
    font-size: 14px;
    color: #2c3e50;
}

.tracking-table tbody tr {
    transition: background-color 0.3s ease;
}

.tracking-table tbody tr:hover {
    background-color: #f8f9fa;
}

.tracking-table tbody tr:last-child td {
    border-bottom: none;
}

.label-column {
    font-weight: 600;
    color: #2c3e50;
    width: 30%;
}

.value-column {
    color: #555;
}

/* Search Form Section */
.awb-search-form {
    border-radius: 12px;
    padding: 0;
    margin-bottom: 30px;
    width: 700px;
}

.search-form-title {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.form-wrapper {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 200px;
}

.form-group label {
    color: #2c3e50;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 14px;
    color: #2c3e50;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:hover {
    border-color: #bdc3c7;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    background-color: #f8fbff;
}

.form-group input::placeholder {
    color: #95a5a6;
}

.form-group input[type="number"]::-webkit-outer-spin-button,
.form-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-group input[type="number"] {
    -moz-appearance: textfield;
}

.submit-btn {
    padding: 12px 35px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 140px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Modal/Popup Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

.modal-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 22px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #95a5a6;
    transition: color 0.3s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #2c3e50;
}

.modal-body {
    margin-top: 20px;
}

.modal-timeline {
    margin: 30px 0;
}

.modal-timeline .timeline-container {
    display: flex;
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-footer {
    margin-top: 0;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
    text-align: center;
}

.close-modal-btn {
    padding: 10px 30px;
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.close-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(149, 165, 166, 0.3);
}

/* Footer Section */
.awb-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.5);
}

.progress-info {
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2ecc71 0%, #27ae60 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
}

.progress-text {
    text-align: center;
    color: #555;
    font-size: 13px;
    margin: 0;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .awb-tracking-container {
        padding: 20px;
    }

    .awb-header {
        margin-bottom: 25px;
    }

    .awb-header h2 {
        font-size: 20px;
    }

    .status-badge {
        display: block;
        margin-left: 0;
        margin-top: 8px;
        width: fit-content;
    }

    .awb-tracking-timeline {
        margin: 25px 0;
    }

    .timeline-container {
        flex-direction: row;
        gap: 0;
    }

    .stage-item {
        flex-direction: column;
    }

    .stage-dot {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }

    .stage-dot.active {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .stage-label {
        font-size: 12px;
    }

    .stage-timestamp {
        font-size: 10px;
    }

    .connecting-line {
        top: 25px;
    }

    .tracking-table th,
    .tracking-table td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .label-column {
        width: 35%;
    }

    .form-wrapper {
        flex-direction: column;
    }

    .form-group {
        min-width: 100%;
    }

    .submit-btn {
        width: 100%;
        min-width: auto;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .awb-tracking-container {
        padding: 15px;
    }

    .awb-header h2 {
        font-size: 18px;
    }

    .tracking-number,
    .status {
        font-size: 13px;
    }

    .timeline-container {
        flex-direction: row;
        gap: 5px;
    }

    .stage-item {
        flex: 0 1 auto;
    }

    .stage-dot {
        width: 35px;
        height: 35px;
        min-width: 35px;
        margin-bottom: 8px;
    }

    .stage-dot.active {
        width: 40px;
        height: 40px;
        margin-bottom: 6px;
    }

    .connecting-line {
        top: 17px;
        width: calc(100% - 5px);
    }

    .stage-label {
        font-size: 10px;
    }

    .stage-timestamp {
        font-size: 9px;
        display: none;
    }

    .tracking-table th,
    .tracking-table td {
        padding: 8px 6px;
        font-size: 11px;
    }

    .label-column {
        width: 40%;
    }

    .awb-search-form {
        padding: 15px;
        margin-bottom: 20px;
    }

    .search-form-title {
        font-size: 16px;
    }

    .form-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .form-group {
        min-width: 100%;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input {
        padding: 10px 12px;
        font-size: 13px;
    }

    .submit-btn {
        width: 100%;
        min-width: auto;
        padding: 10px 20px;
        font-size: 13px;
    }

    .modal-content {
        width: 95%;
        padding: 15px;
        max-height: 95vh;
    }

    .modal-header {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .modal-header h2 {
        font-size: 16px;
    }

    .close-btn {
        font-size: 24px;
    }

    .modal-timeline .timeline-container {
        flex-direction: row;
        gap: 2px;
    }

    .modal-timeline .stage-item {
        flex: 0 1 auto;
    }

    .modal-timeline .stage-dot {
        width: 30px;
        height: 30px;
        min-width: 30px;
        margin-bottom: 6px;
    }

    .modal-timeline .stage-dot.active {
        width: 35px;
        height: 35px;
        margin-bottom: 4px;
    }

    .modal-timeline .stage-label {
        font-size: 9px;
    }

    .modal-timeline .stage-timestamp {
        display: none;
    }
}