.stp-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

.stp-form {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 14px;
    align-items: end;
    margin-bottom: 28px;
}

.stp-form label {
    grid-column: 1 / -1;
    font-size: 14px;
    font-weight: 600;
    color: #2e4568;
    margin-bottom: -4px;
}

.stp-form input {
    height: 52px;
    border: 1px solid #d5dbe5;
    border-radius: 14px;
    padding: 0 16px;
    font-size: 15px;
    color: #2b2b2b;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stp-form input:focus {
    outline: none;
    border-color: #e68a23;
    box-shadow: 0 0 0 4px rgba(230, 138, 35, 0.12);
}

.stp-form button {
    height: 52px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #2e4568, #3b5a86);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 24px rgba(46, 69, 104, 0.18);
}

.stp-form button:hover {
    transform: translateY(-1px);
}

.stp-dashboard {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.stp-hero-card {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(230, 138, 35, 0.18), transparent 26%),
        linear-gradient(135deg, #2e4568, #243750);
    color: #fff;
    box-shadow: 0 18px 40px rgba(46, 69, 104, 0.18);
}

.stp-hero-left {
    flex: 1;
}

.stp-section-eyebrow {
    margin: 0 0 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: rgba(255, 255, 255, 0.72);
}

.stp-receipt-number {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    word-break: break-word;
}

.stp-hero-subtitle {
    margin: 0;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    font-size: 14px;
}

.stp-hero-right {
    min-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
}

.stp-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: #e68a23;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 8px 20px rgba(230, 138, 35, 0.28);
    text-align: center;
}

.stp-status-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
    text-align: right;
}

.stp-card-grid {
    display: grid;
    gap: 22px;
}

.stp-card-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stp-card-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stp-card,
.stp-summary-card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(20, 36, 62, 0.05);
}

.stp-card {
    padding: 24px;
}

.stp-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf1f6;
}

.stp-card-header h4 {
    margin: 0;
    font-size: 18px;
    color: #2e4568;
    font-weight: 800;
}

.stp-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.stp-info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.stp-info-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #7b8797;
}

.stp-info-value {
    font-size: 15px;
    color: #213248;
    font-weight: 600;
    word-break: break-word;
    line-height: 1.5;
}

.stp-summary-card {
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.stp-summary-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2e4568, #e68a23);
}

.stp-summary-label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #7b8797;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.stp-summary-value {
    display: block;
    font-size: 28px;
    line-height: 1.1;
    color: #2e4568;
    font-weight: 800;
}

.stp-timeline {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.stp-timeline-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    align-items: start;
}

.stp-timeline-marker {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 100%;
}

.stp-timeline-marker::after {
    content: "";
    position: absolute;
    top: 22px;
    bottom: -22px;
    width: 2px;
    background: #e4eaf2;
}

.stp-timeline-item:last-child .stp-timeline-marker::after {
    display: none;
}

.stp-timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #b7c2d1;
    border: 4px solid #eef3f8;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

.stp-timeline-dot.is-latest {
    background: #e68a23;
    border-color: rgba(230, 138, 35, 0.18);
    box-shadow: 0 0 0 6px rgba(230, 138, 35, 0.10);
}

.stp-timeline-content {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 16px 18px;
}

.stp-timeline-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.stp-timeline-label {
    font-size: 15px;
    font-weight: 800;
    color: #2e4568;
}

.stp-timeline-date {
    font-size: 13px;
    color: #7b8797;
}

.stp-timeline-desc {
    font-size: 14px;
    color: #425468;
    line-height: 1.6;
    margin-bottom: 8px;
}

.stp-timeline-user {
    font-size: 12px;
    color: #8894a4;
    font-weight: 600;
}

.stp-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.stp-mini-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
}

.stp-proof-remarks {
    grid-column: span 3;
}

.stp-mini-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #7b8797;
}

.stp-mini-value {
    font-size: 15px;
    font-weight: 600;
    color: #24364e;
    line-height: 1.6;
    word-break: break-word;
}

.stp-empty-state {
    padding: 18px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px dashed #dbe4ee;
    color: #6f7d90;
    font-size: 14px;
}

.stp-loading-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e7edf5;
    color: #425468;
}

.stp-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid #dce5ef;
    border-top-color: #e68a23;
    border-radius: 50%;
    animation: stp-spin 0.8s linear infinite;
}

@keyframes stp-spin {
    to {
        transform: rotate(360deg);
    }
}

.stp-error {
    margin-top: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff4f2;
    border: 1px solid #f2c4be;
    color: #b42318;
    font-weight: 700;
}

@media (max-width: 991px) {
    .stp-card-grid-2,
    .stp-card-grid-3,
    .stp-proof-grid {
        grid-template-columns: 1fr;
    }

    .stp-proof-remarks {
        grid-column: span 1;
    }

    .stp-hero-card {
        flex-direction: column;
    }

    .stp-hero-right {
        align-items: flex-start;
    }

    .stp-status-date {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .stp-form {
        grid-template-columns: 1fr;
    }

    .stp-card,
    .stp-summary-card {
        padding: 18px;
    }

    .stp-receipt-number {
        font-size: 26px;
    }

    .stp-info-grid {
        grid-template-columns: 1fr;
    }

    .stp-timeline-top {
        flex-direction: column;
        align-items: flex-start;
    }
}