/* Set body background color */
body {
    background-color: #f0f3f8;
    font-family: Arial, sans-serif;
    margin: 0;
}

/* Grid container styles */
.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto;
    grid-gap: 20px;
    padding: 20px;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
    min-height: 100vh;
    grid-template-areas:
        'awb-section awb-section'
        'tracking-section package-section'
        'tracking-section customs-section';
}

/* Section styles */
.section {
    background: #e2edfb; /* Light gray background for sections */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 8px 5px 15px 2px rgb(86 141 215 / 62%);
    margin-bottom: 20px;
    display: grid;
}

/* AWB section styles */
.awb-section {
    grid-area: awb-section;
    text-align: center;
}

/* Tracking section styles */
.tracking-section {
    grid-area: tracking-section;
}

/* Package section styles */
.package-section {
    grid-area: package-section;
    max-height: 250px;
}

/* Customs section styles */
.customs-section {
    grid-area: customs-section;
    max-height: 250px;
}

/* Neumorphic box styles */
.neumorphic {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    margin-top: 0;
}

/* List styles */
ul {
    list-style: none;
    padding: 0;
}

/* List item styles */
ul li {
    margin-bottom: 5px;
}

/* Main status list item styles */
.mb-4.primary-status.in-transit > ul > li {
    border: 2px solid #ccc; /* Thicker border for better visibility */
    border-top: none; /* Remove the top border */
    border-radius: 5px; /* Add border radius for a 3D effect */
    padding: 10px; /* Add padding for spacing */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Add subtle shadow for depth */
    position: relative; /* Position relative for connecting line */
}

/* Style the streak connecting the main status list items */
.mb-4.primary-status.in-transit > ul > li::before {
    content: '';
    position: absolute;
    top: calc(50% - 1px); /* Adjust the position of the line */
    left: -12px; /* Adjust the position of the line */
    width: 10px; /* Adjust the width of the line */
    height: calc(100% + 2px); /* Adjust the height of the line */
    background-color: #007bff; /* Color of the streak */
    z-index: -1; /* Move the line behind the content */
}

/* Style the last main status list item to have bottom-left and bottom-right borders */
.mb-4.primary-status.in-transit > ul > li:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Style the "Show More" button */
.mb-4.primary-status.in-transit .show-more-btn {
    border: 2px solid #ccc; /* Thicker border for consistency */
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 10px 20px;
    background-color: #f0f0f0;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Add subtle shadow for depth */
}

/* Add hover effect to the "Show More" button */
.mb-4.primary-status.in-transit .show-more-btn:hover {
    background-color: #e0e0e0;
}
