html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.public-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.public-page > .public-content {
    padding-top: 12px;
}

.public-header {
    width: 100%;
    height: 64px;
    flex-shrink: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.public-header-container {
    width: 100%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
}

.public-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.public-brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.public-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.public-brand-title {
    color: #000000;
    font-size: 15px;
    font-weight: 700;
}

.public-brand-subtitle {
    margin-top: 3px;
    color: #777777;
    font-size: 10px;
    font-weight: 400;
}

.cek-status-page-heading {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 25px 6px;
    box-sizing: border-box;
}

.cek-status-page-heading::after {
    position: absolute;
    right: 25px;
    bottom: 0;
    left: 25px;
    height: 1px;
    background-color: #e3e3e3;
    content: "";
}

.cek-status-page-heading h1 {
    margin: 0;
    color: #000;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.detail-back-wrapper {
    margin-bottom: 16px;
}

.public-page > .public-content .public-container {
    max-width: 1200px;
    padding-left: 25px;
    padding-right: 25px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #00923f;
    border-radius: 5px;
    background-color: #00923f;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.btn-back svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-back:hover {
    background: #007d35;
    border-color: #007d35;
}

.public-content {
    flex: 1;
    width: 100%;
    padding: 30px 0 40px;
}

.public-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 24px;
}

.public-footer {
    width: 100%;
    min-height: 58px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    background-color: #4e4e4e;
}

.public-footer-container {
    width: 100%;
    max-width: 1200px;
    min-height: 58px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.public-footer p {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    white-space: nowrap;
}

.cek-status-card {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
}

.cek-status-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.cek-status-field label {
    color: #000000;
    font-size: 14px;
    font-weight: 600;
}

.cek-status-field input {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    font: inherit;
    font-size: 14px;
    text-transform: uppercase;
}

.cek-status-field input:focus,
.cek-status-field input:focus-visible {
    outline: none;
    border-color: #00923f;
    box-shadow: 0 0 0 3px rgba(0, 146, 63, 0.12);
}

.cek-status-error {
    color: #dc3545;
    font-size: 12px;
}

.cek-status-button {
    min-height: 30px;
    padding: 10px 10px;
    border: none;
    border-radius: 5px;
    background: #00923f;
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.cek-status-button:hover {
    background: #007a35;
}

.status-alert {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.5;
}

.status-alert-error {
    border: 1px solid #f1b8bd;
    background: #fff1f2;
    color: #b42332;
}

.hasil-status {
    margin-top: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
}

.hasil-status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #f5f6f7;
    border-bottom: 1px solid #dcdcdc;
}

.hasil-status-header h2 {
    margin: 0;
    color: #333333;
    font-size: 16px;
    font-weight: 700;
}

.status-badge {
    display: inline-block;
    padding: 5px 9px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.status-badge.menunggu {
    color: #856404;
    background: #fff3cd;
    border-color: #ffe69c;
}

.status-badge.disetujui {
    color: #146c43;
    background: #d1e7dd;
    border-color: #a3cfbb;
}

.status-badge.perbaikan {
    color: #055160;
    background: #cff4fc;
    border-color: #9eeaf9;
}

.status-badge.ditolak {
    color: #842029;
    background: #f8d7da;
    border-color: #f1aeb5;
}

.hasil-status-body {
    padding: 8px 16px 16px;
}

.hasil-status-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid #eeeeee;
    font-size: 13px;
    line-height: 1.5;
}

.hasil-status-row span {
    color: #666666;
}

.hasil-status-row strong {
    color: #333333;
    font-weight: 600;
    text-align: left;
    overflow-wrap: anywhere;
}

.catatan-admin {
    margin-top: 12px;
    padding: 8px 12px;
    border-left: 3px solid #ffc107;
    border-radius: 4px;
    background: #fff8df;
}

.catatan-admin strong {
    display: block;
    color: #4e4e4e;
    font-size: 12px;
    line-height: 1.4;
}

.catatan-admin p {
    margin: 3px 0 0;
    color: #555555;
    font-size: 12px;
    line-height: 1.4;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.hasil-status .aksi-perbaikan {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    border-top: none !important;
}

.hasil-status .aksi-perbaikan .btn-perbaikan {
    margin-left: auto;
}

.aksi-perbaikan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding: 0;
    border: none;
    background: transparent;
}

.btn-perbaikan {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 9px 14px;
    border: none;
    border-radius: 5px;
    background: #00923f;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.btn-perbaikan:hover {
    background: #007d36;
}

.status-alert-success {
    margin-top: 20px;
    padding: 14px 16px;
    color: #146c43;
    background: #d1e7dd;
    border: 1px solid #a3cfbb;
    border-radius: 8px;
    line-height: 1.6;
}

.repair-success-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.repair-success-modal {
    width: 100%;
    max-width: 360px;
    padding: 24px 22px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
    text-align: center;
    box-sizing: border-box;
    animation: repairModalIn 0.22s ease-out;
}

.repair-success-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #d1e7dd;
}

.repair-success-icon svg {
    width: 29px;
    height: 29px;
    stroke: #00923f;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.repair-success-modal h3 {
    margin: 0 0 9px;
    color: #4e4e4e;
    font-size: 19px;
    line-height: 1.4;
}

.repair-success-modal p {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

.repair-success-modal button {
    display: inline-block;
    width: auto;
    min-width: 80px;
    min-height: 38px;
    margin-top: 18px;
    padding: 9px 24px;
    border: none;
    outline: none;
    border-radius: 6px;
    background: #00923f;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
}

.repair-success-modal button:hover {
    background: #007d36;
}

.repair-success-modal button:focus,
.repair-success-modal button:focus-visible,
.repair-success-modal button:active {
    outline: none;
    box-shadow: none;
}

.form-control.is-invalid {
    border: 1px solid #dc3545;
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.12);
}

.status-error-text {
    margin: 6px 0 12px;
    color: #dc3545;
    font-size: 13px;
    line-height: 1.4;
}

.aksi-ajukan-kembali {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 16px;
}

.hasil-status {
    margin-top: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d9e1dc;
    border-radius: 5px;
}

.hasil-status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: #f5f7f6;
    border-bottom: 1px solid #dfe5e1;
}

.hasil-status-title h2 {
    margin: 0;
    color: #27352c;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.hasil-status-header .status-badge {
    flex-shrink: 0;
    padding: 4px 9px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.hasil-status-body {
    padding: 16px;
}

.hasil-kode {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 0 0 14px;
    padding: 0 0 13px;
    border: 0;
    border-bottom: 1px solid #e5e9e6;
    border-radius: 0;
    background: transparent;
}

.hasil-kode span {
    color: #69766e;
    font-size: 12px;
    font-weight: 500;
}

.hasil-kode strong {
    color: #087a39;
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.hasil-status-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.hasil-status-info {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid #edf0ee;
    border-radius: 0;
    background: transparent;
}

.hasil-status-info:first-child {
    padding-top: 2px;
}

.hasil-status-info:last-child {
    border-bottom: 0;
    padding-bottom: 4px;
}

.hasil-status-info span {
    color: #69766e;
    font-size: 12px;
    line-height: 1.5;
}

.hasil-status-info strong {
    color: #303b34;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.hasil-status .status-description {
    margin: 14px 0 0;
    padding: 0;
    color: #46534a;
    font-size: 12px;
    line-height: 1.65;
}

.hasil-status .catatan-admin {
    margin-top: 12px;
    padding: 10px 12px;
    border: 0;
    border-radius: 2px;
    background: #faf6e9;
}

.hasil-status .catatan-admin strong {
    display: block;
    margin: 0 0 4px;
    color: #68551e;
    font-size: 11px;
    font-weight: 700;
}

.hasil-status .catatan-admin p {
    margin: 0;
    color: #514b3c;
    font-size: 12px;
    line-height: 1.6;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.hasil-status .aksi-perbaikan {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e7ebe8;
}

.hasil-status .aksi-perbaikan > p {
    margin: 0 0 10px;
    color: #4b5a50;
    font-size: 12px;
    line-height: 1.6;
}

.hasil-status .aksi-ajukan-kembali {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
    padding-top: 12px;
}

.hasil-status .btn-perbaikan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

@keyframes repairModalIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .hasil-status-header,
    .hasil-status-body {
        padding: 12px;
    }

    .hasil-status-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hasil-status-info {
        gap: 4px;
        padding: 10px 11px;
    }

    .hasil-status .aksi-perbaikan {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .hasil-status .aksi-perbaikan .btn-perbaikan,
    .hasil-status .aksi-ajukan-kembali .btn-perbaikan {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 600px) {
    .public-content,
    .public-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .public-container,
    .public-page > .public-content .public-container {
        padding-right: 25x;
        padding-left: 25px;
    }

    .cek-status-page-heading {
        margin-top: 16px;
        padding: 0 25px 8px;
    }

    .cek-status-page-heading::after {
        right: 25px;
        left: 25px;
    }

    .cek-status-card,
    .hasil-status {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .cek-status-card {
        padding: 25px;
        overflow-wrap: anywhere;
    }

    .cek-status-field,
    .cek-status-field input {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .hasil-status-header {
        min-width: 0;
        flex-wrap: wrap;
        gap: 8px;
    }

    .hasil-status-title h2 {
        font-size: 14px;
    }

    .hasil-status-title p {
        font-size: 11px;
    }

    .hasil-kode {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .hasil-kode span {
        flex: 0 0 auto;
        font-size: 11px;
    }

    .hasil-kode strong {
        flex: 1;
        min-width: 0;
        font-size: 12px;
        text-align: right;
        overflow-wrap: anywhere;
    }

    .hasil-status-info {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 10px;
        padding: 9px 0;
    }

    .hasil-status-info span,
    .hasil-status-info strong,
    .hasil-status .status-description {
        font-size: 11px;
    }

    .hasil-status .status-description {
        margin-top: 12px;
    }

    .hasil-status .catatan-admin {
        margin-top: 10px;
        padding: 9px 10px;
    }

    .hasil-status .aksi-ajukan-kembali {
        margin-top: 12px;
        padding-top: 10px;
    }

    .hasil-status-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        min-width: 0;
    }

    .hasil-status-row strong,
    .hasil-status-row span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .aksi-perbaikan {
        min-width: 0;
        flex-wrap: wrap;
    }

    .aksi-perbaikan p {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .public-footer {
        min-height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .public-footer-container {
        width: 100%;
        min-height: 58px;
        padding: 12px 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .public-footer p {
        width: 100%;
        margin: 0;
        line-height: 1.5;
        font-size: 10px;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 480px) {
    .repair-success-overlay {
        padding: 16px;
    }

    .repair-success-modal {
        max-width: 320px;
        padding: 22px 18px;
        border-radius: 11px;
    }

    .repair-success-modal h3 {
        font-size: 17px;
    }

    .repair-success-modal p {
        font-size: 12px;
    }

    .repair-success-modal button {
        min-height: 36px;
        margin-top: 16px;
        padding: 8px 22px;
    }
}

@media (max-width: 420px) {
    .hasil-status-header {
        align-items: flex-start;
    }

    .hasil-status-title {
        gap: 8px;
    }

    .hasil-status-header .status-badge {
        max-width: 145px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media (min-width: 401px) and (max-width: 600px) {
    .public-footer {
        min-height: 64px;
    }

    .public-footer-container {
        min-height: 64px;
        padding: 0 14px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
    }

    .public-footer p {
        font-size: 13px;
        white-space: nowrap;
        text-align: left;
    }
}

@media (max-width: 360px) {
    .hasil-status-info {
        grid-template-columns: 95px minmax(0, 1fr);
        gap: 8px;
    }

    .hasil-status-header .status-badge {
        max-width: 120px;
        text-align: center;
    }
}