* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background: #fff;
    height: 100vh;
    position: relative;
}
p {
    margin: 0;
}
/* Header styles */
header {
    background: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 9;
}
header .logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
}
header .logo img {
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 50px;
}
header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}
header nav ul li {
    display: inline;
    font-size: 1.4rem;
}
header nav ul li a {
    color: #000;
    text-decoration: none;
    font-size: 1.4rem;
}
header nav ul li a:hover {
    color: #f0a500;
}
/* Banner styles */
.banner {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    max-height: calc(100vh - 279px);
}
.banner img {
    width: 100%;
    height: 100%;
    /* Default to cover */
}
.banner .fit-contain {
    object-fit: contain;
    /* If image is smaller, use contain */
}
.banner .fit-fill {
    width: 100%;
    height: 100%;
}
/* Main Content Styles */
main {
    padding: 33px 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 128px);
}
.center-content {
    text-align: center;
}
.title {
    font-size: 24px;
    margin-block: 0px 34px;
}
/* Tracking Info Styles */
.tracking-info-preview {
    display: flex;
    gap: 10px;
    width: 100%;
    max-height: 550px;
    justify-content: space-between;
    margin-top: 80px;
}
.tracking-info-preview hr {
    height: 100%;
    width: 1px;
    min-height: 524px;
    background: #000;
    border-color: transparent;
    box-shadow: 2px 4px 5px 0px rgba(0, 0, 0, 0.75);
}
.tracking-info-preview .details-container {
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 20px;
    padding-right: 20px;
    padding-top: 20px;
}
.tracking-info-preview .preview-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-inline: 20px;
    gap: 16px;
    padding: 20px;
    /* border: 1px solid #ddd; */
    /* background-color: #f9f9f9; */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
.tracking-info-preview .preview-info p {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 1.4rem;
}
.shipment-progress {
    padding: 20px;
    font-family: Arial, sans-serif;
    width: 50%;
}
.shipment-progress h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    margin-top: 0;
    font-weight: 600;
    text-align: center;
    text-decoration: underline;
}
.shipment-progress .progress-container {
    display: flex;
    flex-direction: column;
    position: relative;
    max-height: 96%;
    overflow: auto;
}
.shipment-progress .progress-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    position: relative;
    gap: 20px;
}
.shipment-progress .progress-circle {
    width: 14px;
    height: 14px;
    background-color: green;
    border-radius: 50%;
    position: relative;
    top: 5px;
}
.shipment-progress .progress-line {
    width: 2px;
    height: 100%;
    background-color: green;
    position: absolute;
    left: 6px;
    top: 18px;
}
.shipment-progress .progress-content {
    text-align: start;
    flex-basis: 100%;
}
.shipment-progress .date-time {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}
.shipment-progress .status {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
}
.shipment-progress .details {
    font-size: 14px;
    color: #888;
    margin-top: 5px;
}
.shipment-progress .progress-item:last-child .progress-line {
    display: none;
}
/* Progress Bar Styles */
.progress-bar-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 25px auto;
    position: relative;
    flex-wrap: nowrap;
    flex-direction: row;
}
.progress-bar-container .step-container {
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
    text-align: center;
    align-items: center;
}
.progress-bar-container .circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}
.progress-bar-container .completed {
    background-color: #4caf50;
    color: white;
}
.progress-bar-container .active {
    animation: blink 1s infinite;
}
@keyframes blink {
    50% {
        background-color: #4caf50;
    }
}
.progress-bar-container .step-icon {
    font-size: 1rem;
    color: #fff;
}
.progress-bar-container .line {
    height: 4px;
    width: 100%;
    background-color: #e0e0e0;
    position: absolute;
    top: 16px;
    left: 104px;
    z-index: 0;
}
.progress-bar-container.rto-order .line {
    left: 88px;
}
.progress-bar-container .completed-line {
    background-color: #4caf50;
}
.progress-bar-container .step-label {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}
.progress-bar-container .completed .step-icon {
    color: white;
}
/* Footer styles */
footer {
    background-color: #fff;
    color: #000;
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 14px;
    /* position: sticky; */
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
    bottom: 0;
    z-index: 9;
}
.support-info {
    gap: 15px;
    display: flex;
    align-items: center;
}
.powered-by {
    display: flex;
    align-items: center;
    gap: 10px;
}
footer a {
    color: inherit;
}
::-webkit-scrollbar {
    width: 5px;
}
/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: #1975C9;
    border-radius: 10px;
}
.tracking-container {
    background-color: white;
    width: 100%;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-height: 199px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tracking-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.tracking-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}
h2 {
    font-size: 18px;
    color: #333;
}
hr {
    border: none;
    border-bottom: 1px solid #ddd;
    margin: 20px 0;
}
.tracking-form {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    gap: 11px;
    justify-content: center;
}
.radio-group {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 15px;
    gap: 21px;
}
.radio-group label {
    /* margin-right: 20px; */
    font-size: 14px;
    color: #333;
}
.radio-group input[type="radio"] {
    margin-right: 5px;
}
.input-button {
    display: flex;
    gap: 10px;
    align-items: center;
}
.tracking-input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    /* margin-bottom: 20px; */
    font-size: 14px;
    width: 100%;
    min-width: 380px;
}
.submit-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.submit-btn:hover {
    background-color: #0056b3;
}
.table-container {
    overflow: auto;
}
::-webkit-scrollbar {
    height: 2px;
}
.tracking-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 50px;
    background: #fff;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* .tracking-table td */
.tracking-table th {
    font-weight: bold;
    text-align: left;
}
.tracking-table th,
.tracking-table td {
    padding: 20px 10px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
.tracking-table tr:last-of-type td {
    border-bottom: none;
}
.tracking-table tr th:last-of-type,
.tracking-table tr td:last-of-type {
    border-right: none;
}
.tracking-table tr td:last-of-type {
    text-align: center;
}
.tracking-table a {
    text-decoration: none;
    color: #1975C9;
    display: flex;
    align-items: center;
    gap: 5px;
}
.tracking-table a img {
    width: 35px;
    height: auto;
}
.feedback-form {
    width: 100%;
    padding: 20px;
    /* border: 1px solid #ddd; */
    border-radius: 8px;
    /* background-color: #f9f9f9; */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.feedback-form h2 {
    text-align: center;
    margin-bottom: 15px;
}
.feedback-form label {
    font-size: 1.4rem;
}
.rating-scale {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
    flex-direction: column;
}
.rating-options {
    display: flex;
    gap: 5px;
    justify-content: space-between;
    width: 100%;
}
.rating-options input[type="radio"] {
    display: none;
    accent-color: red;
}
.rating-options label {
    width: 30px;
    display: flex;
    height: 30px;
    border: 1px solid #1975c9;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.rating-options input[type="radio"]:checked+label {
    background-color: #1975C9;
    color: #fff;
}
.rating-options-comment {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
}
.remarks {
    margin-top: 15px;
}
.remarks label {
    display: block;
    margin-bottom: 5px;
}
.remarks textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    font-size: 1.4rem;
}
.submit-button {
    text-align: end;
    margin-top: 4px;
}
.submit-button button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.4rem;
}
.submit-button button:hover {
    background-color: #0056b3;
}
.timestamp {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}
.carousel-container {
    position: relative;
    width: 100%;
    height: 490px;
    overflow: hidden;
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-block: 120px;
}
.carousel-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-top: 20px;
}
.carousel-items {
    position: relative;
    width: 100%;
    height: 82%;
}
.carousel-item {
    position: absolute;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #e9ecef;
    font-size: 24px;
    font-weight: bold;
    color: #495057;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    overflow: hidden;
}
.carousel-item img {
    width: fit-content;
    height: 158px;
    /* -webkit-box-reflect: below 0px linear-gradient(transparent, rgba(0, 0, 0, 0.5)); */
}
.product-details {
    padding: 15px;
    text-align: center;
}
.product-name {
    font-size: 1.2em;
    margin-bottom: 5px;
}
.product-price {
    color: #d9534f;
    font-weight: bold;
    margin-bottom: 10px;
}
.btn.add-to-cart {
    background-color: #007bff;
    color: #fff;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn.add-to-cart:hover {
    background-color: #0056b3;
}
.btn.add-to-cart i {
    margin-right: 10px;
}
.carousel-nav {
    position: absolute;
    bottom: 13px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    width: 167px;
    justify-content: space-between;
    min-width: 200px;
}
.carousel-nav button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 2px 8px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.carousel-nav button:hover {
    background-color: #0056b3;
}
.carousel-dots {
    position: absolute;
    bottom: 17px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    z-index: 10;
}
.carousel-dots span {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ced4da;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}
.carousel-dots span.active {
    background-color: #007bff;
}
