
/* Rajved courier tracking — original green and gold design */

.rajved-stc-wrap {
    width: 100%;
    max-width: 900px;
    margin: 35px auto;
    padding: 15px;
    color: #202b27;
    font-family: inherit;
}

.rajved-stc-wrap,
.rajved-stc-wrap * {
    box-sizing: border-box;
}

.rajved-stc-card {
    width: 100%;
    padding: 36px;
    background: #fff;
    border: 1px solid #e6ece8;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(24,55,39,.07);
}

.rajved-stc-heading {
    margin-bottom: 30px;
    text-align: center;
}

.rajved-stc-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #218653;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.5;
}

.rajved-stc-heading h1 {
    margin: 0 0 12px;
    padding: 0;
    color: #183e2c;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
}

.rajved-stc-heading p {
    margin: 0;
    color: #66736b;
    font-size: 15px;
    line-height: 1.7;
}

/* AWB form */

.rajved-stc-form {
    width: 100%;
    margin: 0;
    padding: 24px;
    background: #f7faf7;
    border: 1px solid #e8efe9;
    border-radius: 14px;
}

.rajved-stc-form label {
    display: block;
    margin: 0 0 10px;
    color: #26382d;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.rajved-stc-input-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 12px;
    width: 100%;
    margin: 0;
}

.rajved-stc-wrap .rajved-stc-input-row input[type="text"] {
    display: block !important;
    flex: 1 1 0% !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 54px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    color: #26382d !important;
    background: #fff !important;
    border: 1px solid #d6e0d8 !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 16px !important;
    line-height: normal;
}

.rajved-stc-wrap .rajved-stc-input-row input[type="text"]:focus {
    border-color: #218653 !important;
    outline: 2px solid rgba(33,134,83,.12);
}

.rajved-stc-wrap .rajved-stc-input-row button[type="submit"] {
    display: inline-flex !important;
    flex: 0 0 120px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 120px !important;
    min-width: 120px !important;
    height: 54px !important;
    margin: 0 !important;
    padding: 0 15px !important;
    color: #fff !important;
    background: #218653 !important;
    border: 1px solid #218653 !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-transform: none !important;
    cursor: pointer;
    transition: background .2s ease;
}

.rajved-stc-wrap .rajved-stc-input-row button[type="submit"]:hover {
    color: #fff !important;
    background: #176b40 !important;
    border-color: #176b40 !important;
}

.rajved-stc-help {
    margin: 10px 0 0;
    color: #748078;
    font-size: 12px;
    line-height: 1.6;
}

/* Errors */

.rajved-stc-error {
    margin-top: 20px;
    padding: 15px 16px;
    color: #9d3026;
    background: #fff2f0;
    border: 1px solid #ffd7d2;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
}

/* Tracking result */

.rajved-stc-result {
    width: 100%;
    margin-top: 30px;
}

.rajved-stc-result-head {
    padding-bottom: 20px;
    border-bottom: 1px solid #e8eee9;
}

.rajved-stc-result-head h2 {
    margin: 0 0 12px;
    color: #183e2c;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.rajved-stc-status {
    display: inline-block;
    padding: 8px 13px;
    color: #176b40;
    background: #e5f6eb;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.rajved-stc-summary {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
    margin: 0;
    padding: 24px 0;
}

.rajved-stc-summary > div {
    min-width: 0;
}

.rajved-stc-summary span,
.rajved-stc-route span {
    display: block;
    margin-bottom: 7px;
    color: #748078;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .7px;
    line-height: 1.5;
}

.rajved-stc-summary strong,
.rajved-stc-route strong {
    display: block;
    color: #23362b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.rajved-stc-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    background: #f7faf7;
    border-radius: 12px;
}

.rajved-stc-route > div {
    flex: 1 1 0;
    min-width: 0;
}

.rajved-stc-route-arrow {
    flex: 0 0 auto;
    color: #b18a3a;
    font-size: 24px;
    font-weight: 700;
}

/* Shipment timeline */

.rajved-stc-timeline-title,
.rajved-stc-location h3 {
    margin: 28px 0 18px;
    color: #183e2c;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.rajved-stc-timeline {
    margin: 0;
    padding: 0 0 0 8px;
    list-style: none;
}

.rajved-stc-timeline .rajved-stc-event {
    position: relative;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0 0 24px;
    list-style: none;
}

.rajved-stc-event:not(:last-child)::before {
    position: absolute;
    top: 15px;
    bottom: -2px;
    left: 6px;
    width: 2px;
    background: #dcebe0;
    content: "";
}

.rajved-stc-dot {
    position: relative;
    z-index: 1;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin-top: 4px;
    background: #218653;
    border: 3px solid #e0f2e6;
    border-radius: 50%;
}

.rajved-stc-event-content {
    flex: 1 1 auto;
    min-width: 0;
}

.rajved-stc-event-content > strong {
    display: block;
    color: #263c2e;
    font-size: 15px;
    line-height: 1.5;
}

.rajved-stc-event-content p {
    margin: 5px 0;
    color: #5d6b62;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.rajved-stc-event-date,
.rajved-stc-receiver {
    display: block;
    margin-top: 5px;
    color: #78837c;
    font-size: 12px;
    line-height: 1.6;
}

/* Last location */

.rajved-stc-location {
    margin-top: 12px;
    padding: 20px;
    background: #f7faf7;
    border-radius: 12px;
}

.rajved-stc-location h3 {
    margin-top: 0;
}

.rajved-stc-location p {
    margin: 5px 0;
    color: #536258;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.rajved-stc-note {
    margin-top: 18px;
    color: #68756c;
    font-size: 14px;
    line-height: 1.7;
}

/* Mobile */

@media (max-width: 600px) {
    .rajved-stc-wrap {
        margin: 18px auto;
        padding: 10px;
    }

    .rajved-stc-card {
        padding: 20px 15px;
        border-radius: 14px;
    }

    .rajved-stc-heading h1 {
        font-size: 27px;
    }

    .rajved-stc-form {
        padding: 16px;
    }

    .rajved-stc-wrap .rajved-stc-input-row {
        flex-direction: column !important;
    }

    .rajved-stc-wrap .rajved-stc-input-row input[type="text"] {
        flex: 0 0 54px !important;
        width: 100% !important;
    }

    .rajved-stc-wrap .rajved-stc-input-row button[type="submit"] {
        flex: 0 0 54px !important;
        width: 100% !important;
    }

    .rajved-stc-summary {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 18px 12px;
    }

    .rajved-stc-route {
        gap: 10px;
        padding: 15px;
    }

    .rajved-stc-route-arrow {
        font-size: 18px;
    }
}
