.bgreport {
    background-image: url(../assets/Rectangle\ 21.png);
    background-size: cover;
    background-position: center;
    padding: 120px;
}

.hreport {
    font-family: Montserrat !important;
    color: white;
    font-weight: bold;
}

.preport {
    color: white;
    font-family: Montserrat !important;
}

.padreport {
    margin-top: 30%;
    margin-right: 250px;
}

.frm {
    padding: 15px;
    margin-left: 13px;
}

form {
    border-radius: 6px;
    margin-top: 25px;
    padding-inline: 20px;
}

.lbl {
    font-family: Montserrat !important;
    font-weight: 700;
    margin: 5px 0px;
    color: white;
}

.lbl-dark {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #131313;
    margin-bottom: 5px;
    display: block;
}

.custom-input {
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    padding: 12px 15px !important;
    transition: 0.3s ease;
    height: 50px;
}

.custom-input:focus {
    background: white !important;
    border-color: var(--maroon5) !important;
    box-shadow: 0 0 15px rgba(125, 10, 10, 0.1) !important;
}

.inpt {
    width: 95%;
    font-size: small;
    border: none;
    border-radius: 6px;
    background-color: white;
    height: 45px;
    padding: 12px 15px;
    display: inline-block;
}

.inptt {
    width: 95%;
    font-size: small;
    border: none;
    border-radius: 6px;
    background-color: white;
    height: 225px;
    padding: 12px 15px;
    padding-bottom: 180px;
    display: inline-block;
}

.btnlpr {
    border: none;
    background-color: var(--maroon5);
    color: white;
    width: 95%;
    height: 40px;
    border-radius: 6px;
    font-family: Montserrat !important;
    font-weight: 700;
    margin-top: 20px;
}

.btnlpr:hover {
    background-color: var(--burgundy);
}

.step-progress {
    display: flex;
    gap: 10px;
}

.step-bar {
    flex: 1;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    transition: 0.4s ease;
}

.step-bar.active {
    background-color: var(--maroon5);
}

textarea.auto-resize {
    resize: none;
    overflow: hidden;
    min-height: 50px;
}

.success-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 60px;
}

.success-card {
    background: white;
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(93, 42, 119, 0.12);
    max-width: 560px;
    width: 100%;
    text-align: center;
}

.success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5D2A77, #A346D3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon i {
    font-size: 42px;
    color: white;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.ticket-box {
    background: linear-gradient(135deg, #f8f0ff, #fff5e6);
    border: 2px dashed var(--high-ungu);
    border-radius: 16px;
    padding: 20px;
    margin: 24px 0;
}

.ticket-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--high-ungu);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.ticket-code {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--high-ungu);
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.copy-btn {
    background: var(--high-ungu);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    margin-top: 12px;
}

.copy-btn:hover {
    background: var(--semi-high-ungu);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(93, 42, 119, 0.3);
}

.copy-btn.copied {
    background: #27ae60;
}

.info-note {
    background: #fff8e1;
    border-left: 4px solid #f7941d;
    border-radius: 8px;
    padding: 14px 18px;
    text-align: left;
    font-size: 0.85rem;
    color: #5a4e3a;
    margin: 20px 0;
}

.info-note i {
    color: #f7941d;
    margin-right: 6px;
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.action-buttons a {
    flex: 1;
    text-decoration: none;
}

.btn-track {
    background: var(--high-ungu);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
}

.btn-track:hover {
    background: var(--semi-high-ungu);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(93, 42, 119, 0.3);
}

.btn-home {
    background: white;
    color: var(--high-ungu);
    border: 2px solid var(--high-ungu);
    border-radius: 12px;
    padding: 14px 20px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
}

.btn-home:hover {
    background: #f8f0ff;
    transform: translateY(-2px);
}

.track-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 60px;
}

.track-card {
    background: white;
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(93, 42, 119, 0.12);
    max-width: 520px;
    width: 100%;
    text-align: center;
}

.track-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--maroon5), var(--burgundy));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 25px rgba(93, 42, 119, 0.2);
}

.track-icon i {
    font-size: 36px;
    color: white;
}

.track-input-group {
    position: relative;
    margin-top: 28px;
}

.track-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0d4e8;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-align: center;
    font-family: 'Courier New', monospace;
    transition: all 0.3s;
    outline: none;
}

.track-input:focus {
    border-color: var(--high-ungu);
    box-shadow: 0 0 20px rgba(93, 42, 119, 0.12);
}

.track-input::placeholder {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    font-size: 0.9rem;
    color: #b0a3b8;
}

.btn-search {
    width: 100%;
    background: linear-gradient(135deg, var(--maroon5), var(--burgundy));
    color: white;
    border: none;
    border-radius: 14px;
    padding: 16px;
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 20px;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(93, 42, 119, 0.3);
}

.btn-search:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(93, 42, 119, 0.5);
    background: linear-gradient(135deg, var(--burgundy), var(--medium-ungu));
}

.error-alert {
    background: #fff0f0;
    border-left: 4px solid #e74c3c;
    border-radius: 8px;
    padding: 14px 18px;
    text-align: left;
    font-size: 0.85rem;
    color: #7a3030;
    margin-top: 20px;
}

.error-alert i {
    color: #e74c3c;
    margin-right: 6px;
}

.help-text {
    font-size: 0.82rem;
    color: #999;
    margin-top: 16px;
}

.track-decor {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob-1 {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(93, 42, 119, 0.08) 0%, rgba(163, 70, 211, 0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: floatBlob 12s infinite alternate ease-in-out;
}

.blob-2 {
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(247, 148, 29, 0.06) 0%, rgba(254, 172, 74, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: floatBlob 15s infinite alternate-reverse ease-in-out;
}

.blob-3 {
    position: absolute;
    top: 40%;
    right: 15%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(163, 70, 211, 0.05) 0%, rgba(232, 189, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(30px);
    animation: floatBlob 10s infinite alternate ease-in-out;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, -40px) scale(1.1);
    }
}

.status-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(93, 42, 119, 0.10);
    max-width: 700px;
    margin: 0 auto;
}

.status-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f3ecf7;
}

.case-code {
    display: inline-block;
    background: linear-gradient(135deg, #5D2A77, #A346D3);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    font-family: 'Courier New', monospace;
    margin-bottom: 12px;
}

.timeline {
    position: relative;
    padding: 20px 0;
    margin: 30px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e8d5f5;
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 28px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid #d4bde4;
    background: white;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dot.active {
    background: linear-gradient(135deg, #5D2A77, #A346D3);
    border-color: #5D2A77;
    box-shadow: 0 0 15px rgba(93, 42, 119, 0.35);
}

.timeline-dot.active i,
.timeline-dot.completed i {
    color: white;
    font-size: 10px;
}

.timeline-dot.completed {
    background: #27ae60;
    border-color: #27ae60;
}

.timeline-content h6 {
    font-weight: 700;
    color: #131313;
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 0.82rem;
    color: #888;
    margin: 0;
}

.timeline-item.inactive .timeline-content h6 {
    color: #c0b0cd;
}

.timeline-item.inactive .timeline-content p {
    color: #d4c5de;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.detail-item {
    background: #faf7fc;
    border-radius: 14px;
    padding: 16px 20px;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.report-detail-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--high-ungu);
    margin-bottom: 4px;
}

.report-detail-value {
    font-weight: 600;
    color: #2d2d2d;
    font-size: 0.95rem;
}

.status-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

.badge-terkirim {
    background: #e8f4fd;
    color: #2980b9;
}

.badge-diproses {
    background: #fff8e1;
    color: #f39c12;
}

.badge-investigasi {
    background: #fce4ec;
    color: #e74c3c;
}

.badge-selesai {
    background: #e8f5e9;
    color: #27ae60;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--high-ungu);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 28px;
    transition: all 0.3s;
}

.back-link:hover {
    color: var(--semi-high-ungu);
    transform: translateX(-4px);
}

.privacy-note {
    background: #f0f8ff;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.8rem;
    color: #556b82;
    text-align: center;
    margin-top: 20px;
}

.privacy-note i {
    color: #4a90d9;
}

@media (max-width: 576px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .status-card {
        padding: 24px 20px;
    }
}

@media (max-width: 575.98px) {
    .bgreport {
        padding: 40px 15px;
    }
}