/* ========== SECTION LAYOUT ========== */
/* .tracking-section {
    margin: 4rem 0;
} */
.tracking-section h1 {
    font-size: 2rem;
}
.tracking-section h2 {
    font-size: 1.5rem;
}
.tracking-section .text-red {
    color: red;
}
.content-center {
    display: flex;
    justify-content: center;
    margin: 2rem auto 0;
}
.hidden {
    display: none !important;
}
.bold{
    font-weight: bold;
}
.owl-carousel .owl-item img{
    /* height: 350px; */
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* ========== FORM ========== */
.tracking-section .tracking-form {
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tracking-section .form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: auto;
}
.tracking-section .form-group label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 1rem;
}
.tracking-section .form-group input[type="text"] {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    width: 100%;
}
.tracking-section .btn-submit {
    background-color: #1976d2;
    color: white;
    padding: 10px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.tracking-section .btn-submit:hover {
    background-color: #1259a5;
}
.tracking-section .form-group .send-otp{
    margin-top: 10px;
    text-align: center;
    font-size: 1rem;
    font-weight: normal;
    color: #000000;
}
.tracking-section .form-group .send-otp span {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
}


/* ========== PROGRESS CONTAINER ========== */
.progress-container {
    width: 100%;
    max-width: 800px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
}

.text-xl {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #000000;
}


/* ========== INFO TABLE ========== */
.info-table {
    width: 100%;
    margin-bottom: 30px;
    color: #000000;
    font-size: 0.95em;
}
.info-row {
    display: flex;
    padding: 5px 0;
}
.info-label {
    width: 30%;
    font-weight: normal;
}
.info-value {
    width: 20%;
    font-weight: bold;
    text-align: left;
    color: #000000;
}
.info-value a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}


/* ========== PROGRESS STEPPER ========== */
.progress-step {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    height: 140px;
}
.stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
    position: relative;
    padding-bottom: 50px;
}
.stage.last .connector {
    display: none;
}

/* Connector line */
.connector {
    position: absolute;
    top: 20px;
    left: 50%;
    height: 3px;
    width: calc(100% - 40px);
    transform: translateX(20px);
    z-index: 0;
}
.connector.upcoming {
    background-color: #ccc;
}
.connector.complete {
    background-color: #1e63e6;
}
.connector.current {
    background: linear-gradient(to right, #f8c92a);
}

/* Circle */
.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: white;
    position: relative;
    z-index: 1;
    border: 3px solid;
    background-color: white;
}

/* Status styling */
.stage.completed .circle {
    background-color: #1e63e6;
    border-color: #1e63e6;
    color: white;
    font-size: 20px;
}
.stage.current.warning .circle {
    background-color: #f8c92a;
    border-color: #f8c92a;
    color: black;
    font-size: 20px;
}
.stage.upcoming.next-active .circle {
    border-color: #ccc;
    background-color: white;
}
.stage.upcoming.next-active .circle::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #888;
}
.stage.upcoming:not(.next-active) .circle {
    border-color: #ccc;
    background-color: white;
}

/* Detail text */
.details {
    position: absolute;
    top: 55px;
    white-space: nowrap;
    text-wrap: wrap;
}
.label {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}
.date-info {
    font-size: 12px;
    color: #555;
    line-height: 1.4;
}
.date-info .actual {
    font-weight: bold;
}
.date-info .status {
    color: #e61e1e;
    font-weight: bold;
}


/* ========== FOTO DOKUMENTASI ========== */
.dokumentasi {
    margin-top: 25px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 990px) {
    .dokumentasi{
        margin-top: 230px;
    }
    .tracking-section h1 {
        font-size: 1.5rem;
    }
    .tracking-section h2 {
        font-size: 1.2rem;
    }
    .tracking-section .form-group label {
        font-size: 0.875rem;
    }
    .text-xl{
        font-size: 1.2rem;
    }

    .info-label,
    .info-value {
        width: 50%;
        font-size: 0.875rem;
    }

    .progress-step {
        flex-direction: column;
        align-items: flex-start;
    }

    .stage {
        flex-direction: row;
        align-items: center;
        padding-bottom: 20px;
        width: 100%;
    }

    .circle {
        margin-right: 15px;
    }

    .connector {
        top: 40px;
        left: 20px;
        width: 3px;
        height: 100%;
        transform: none;
    }

    .stage.last .connector {
        height: 0;
    }

    .details {
        position: static;
        text-align: left;
    }
}
