/* =========================
   RESET
========================= */

body {
    margin: 0;
    background: #f6f9f7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
   BODY
========================= */

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    background: #f6f9f7;
    color: #131c17;

    font-family: "Inter", Arial, sans-serif;
}


/* =========================
   APP
========================= */

.app {
    width: 100%;
    max-width: 390px;
    min-height: 100vh;

    margin: 0 auto;

    background: #f6f9f7;
}


/* =========================
   HEADER
========================= */

.header {
    width: 100%;
    height: 92px;

    background: #29436b;
}

.header-content {
    padding-left: 24px;
    padding-top: 20px;
}

.government {
    color: white;

    font-size: 15px;
    font-weight: 400;

    line-height: normal;
}

.header h1 {
    margin-top: 5px;

    color: white;

    font-family: "Inter", Arial, sans-serif;
    font-size: 23px;
    font-weight: 400;

    line-height: normal;
}


/* =========================
   MAIN CONTENT
========================= */

.content {
    position: relative;

    width: 100%;
    min-height: 752px;

    padding-top: 30px;
}


/* =========================
   LOGO DESA
========================= */

.desa-logo {
    width: 90px;
    height: 90px;

    margin: 0 auto;

    border-radius: 50%;

    background: #e0f0f2;

    display: flex;
    align-items: center;
    justify-content: center;
}

.desa-logo span {
    font-family: "Inter", Arial, sans-serif;

    font-size: 17px;
    font-weight: 400;

    color: #000;
}


/* =========================
   TITLE
========================= */

.page-title {
    margin-top: 20px;

    width: 100%;

    text-align: center;

    font-family: "Kaisei Decol", Georgia, serif;

    font-size: 28px;
    font-weight: 400;

    line-height: 1.45;

    color: #131c17;
}


/* =========================
   DESCRIPTION
========================= */

.description {
    width: 326px;

    margin: 2px auto 0;

    color: #616e66;

    font-family: "Inter", Arial, sans-serif;

    font-size: 16px;
    font-weight: 400;

    line-height: 1.2;
}


/* =========================
   BUTTONS
========================= */

.button-container {
    width: 326px;

    margin: 23px auto 0;

    display: flex;
    flex-direction: column;

    gap: 16px;
}

.btn {
    width: 326px;
    height: 58px;

    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-family: "Inter", Arial, sans-serif;

    font-size: 17px;
    font-weight: 400;

    transition: 0.2s ease;
}


/* BUTTON PRIMARY */

.btn-primary {
    background: #1d3f72;

    color: white;
}

.btn-primary:hover {
    background: #17335d;
}


/* BUTTON SECONDARY */

.btn-secondary {
    background: white;

    color: #000;

    border: 1px solid #161616;
}

.btn-secondary:hover {
    background: #f1f1f1;
}


/* =========================
   INFORMATION
========================= */

.information {
    width: 326px;

    margin: 89px auto 0;
}


/* OFFICIAL */

.official {
    width: 250px;

    color: #616e66;

    font-family: "Inter", Arial, sans-serif;

    font-size: 13px;
    font-weight: 400;

    line-height: 1.25;
}


/* PRIVACY */

.privacy {
    margin-top: 12px;

    width: 270px;

    color: #616e66;

    font-family: "Inter", Arial, sans-serif;

    font-size: 12px;
    font-weight: 400;

    line-height: 1.3;
}


/* DIVIDER */

.divider {
    width: 326px;
    height: 1px;

    margin-top: 7px;

    background: #e0e8e3;
}


/* HELP */

.help-title {
    margin-top: 30px;

    color: #131c17;

    font-family: "Inter", Arial, sans-serif;

    font-size: 13px;
    font-weight: 400;
}

.help-link {
    display: inline-block;

    margin-top: 8px;

    color: #677fc9;

    font-family: "Inter", Arial, sans-serif;

    font-size: 14px;
    font-weight: 400;

    text-decoration: none;
}

.help-link:hover {
    text-decoration: underline;
}


/* =========================
   DESKTOP
========================= */

@media (min-width: 600px) {

    body {
        padding: 20px 0;
    }

    .app {
        min-height: 844px;

        box-shadow:
            0 0 30px rgba(0, 0, 0, 0.08);
    }

}


/* =====================================
   FORM PENGADUAN
===================================== */

.form-page {
    width: 100%;
    max-width: 390px;

    min-height: 100vh;

    margin: 0 auto;

    background: #f6f9f7;

    color: #131c17;

    font-family: "Inter", Arial, sans-serif;
}


/* HEADER */

.form-header {
    width: 100%;
    height: 78px;

    background: white;

    border-bottom: 1px solid #dbe3de;

    display: flex;
    align-items: center;

    position: relative;
}

.back-button {
    position: absolute;

    left: 22px;
    top: 20px;

    width: 25px;
    height: 40px;

    display: flex;
    align-items: center;

    text-decoration: none;

    color: #131c17;

    font-size: 30px;

    line-height: 1;
}

.form-header h1 {
    margin-left: 60px;

    font-size: 20px;
    font-weight: 400;

    color: #131c17;
}


/* CONTENT */

.form-content {
    padding: 22px 24px 16px;
}

.form-content h2 {
    margin: 0;

    font-size: 22px;
    font-weight: 400;

    line-height: 1.25;
}

.form-description {
    margin: 5px 0 0;

    color: #616e66;

    font-size: 13px;

    line-height: 1.25;
}


/* FORM */

.form-content form {
    margin-top: 24px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;

    margin-bottom: 9px;

    color: #131c17;

    font-size: 13px;
    font-weight: 400;
}


/* INPUT */

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;

    border: none;

    outline: none;

    background: white;

    border-radius: 10px;

    color: #131c17;

    font-family: "Inter", Arial, sans-serif;

    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
    height: 46px;

    padding: 0 14px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #616e66;

    opacity: 1;
}


/* SELECT */

.select-wrapper {
    position: relative;
}

.form-group select {
    appearance: none;

    -webkit-appearance: none;

    cursor: pointer;
}

.select-wrapper::after {
    content: "⌄";

    position: absolute;

    right: 22px;
    top: 13px;

    color: #616e66;

    font-size: 14px;

    pointer-events: none;
}


/* TEXTAREA */

.form-group textarea {
    height: 92px;

    padding: 14px;

    resize: none;

    line-height: 1.4;
}


/* UPLOAD */

.upload-box {
    width: 100%;

    height: 58px;

    margin: 0;

    border-radius: 10px;

    background: #cceafd;

    display: flex;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    color: #0e146b;

    font-size: 14px;
}

.upload-box input {
    display: none;
}


/* SUBMIT */

.submit-button {
    width: 100%;

    height: 52px;

    margin-top: 47px;

    border: none;

    border-radius: 12px;

    background: #1d3f72;

    color: white;

    font-family: "Inter", Arial, sans-serif;

    font-size: 16px;

    cursor: pointer;
}

.submit-button:hover {
    background: #17335d;
}


/* DESKTOP */

@media (min-width: 600px) {

    body {
        padding: 20px 0;
    }

    .form-page {
        min-height: 844px;

        box-shadow:
            0 0 30px rgba(0, 0, 0, 0.08);
    }

}


/* =====================================
   PENGADUAN BERHASIL
===================================== */

.success-page {
    width: 100%;
    max-width: 390px;
    min-height: 100vh;

    margin: 0 auto;

    padding: 90px 24px 30px;

    background: #f6f9f7;

    text-align: center;

    font-family: "Inter", Arial, sans-serif;
}


.success-icon {
    width: 76px;
    height: 76px;

    margin: 0 auto 24px;

    border-radius: 50%;

    background: #dcefe4;

    color: #237044;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 38px;
}


.success-page h1 {
    margin: 0;

    color: #131c17;

    font-size: 25px;
    font-weight: 500;
}


.success-description {
    width: 300px;

    margin: 12px auto 0;

    color: #616e66;

    font-size: 14px;

    line-height: 1.5;
}


.ticket-card {
    width: 100%;

    margin-top: 32px;

    padding: 22px 16px;

    border-radius: 14px;

    background: white;
}


.ticket-label {
    margin: 0;

    color: #616e66;

    font-size: 13px;
}


.ticket-number {
    margin: 10px 0;

    color: #1d3f72;

    font-size: 22px;
    font-weight: 500;

    letter-spacing: 1px;
}


.ticket-info {
    margin: 0;

    color: #616e66;

    font-size: 12px;

    line-height: 1.4;
}


.success-button {
    width: 100%;
    height: 52px;

    margin-top: 24px;

    border-radius: 12px;

    background: #1d3f72;

    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-size: 15px;
}


.back-home {
    display: block;

    margin-top: 20px;

    color: #677fc9;

    font-size: 14px;

    text-decoration: none;
}


@media (min-width: 600px) {

    body {
        padding: 20px 0;
    }

    .success-page {
        min-height: 844px;

        box-shadow:
            0 0 30px rgba(0, 0, 0, 0.08);
    }

}

.status-form select,
.status-form textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 14px;

    border: none;
    outline: none;

    border-radius: 10px;

    background: white;

    font-family: "Inter", Arial, sans-serif;

    font-size: 13px;

    color: #131c17;
}

.status-form select {
    height: 50px;
}

.status-form textarea {
    min-height: 130px;

    resize: vertical;

    line-height: 1.5;
}

.status-form label {
    margin-top: 18px;
}

.status-form label:first-child {
    margin-top: 0;
}

/* =====================================
   HALAMAN BUAT PENGADUAN
===================================== */

.status-page {
    width: 100%;
    max-width: 390px;
    min-height: 100vh;
    margin: 0 auto;

    background: #f6f9f7;

    font-family: "Inter", Arial, sans-serif;
    color: #131c17;
}


/* =====================================
   HEADER
===================================== */

.status-header {
    width: 100%;
    height: 78px;

    background: #ffffff;

    border-bottom: 1px solid #dbe3de;

    display: flex;
    align-items: center;

    position: relative;
}

.status-header h1 {
    margin: 0 0 0 60px;

    font-size: 19px;
    font-weight: 400;
}

.back-button {
    position: absolute;

    left: 22px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    color: #131c17;

    font-size: 32px;
    line-height: 1;

    border-radius: 50%;
}

.back-button:hover {
    background: #f0f3f1;
}


/* =====================================
   CONTENT
===================================== */

.status-content {
    padding: 28px 24px 40px;
}

.status-content h2 {
    margin: 0;

    font-size: 23px;
    font-weight: 400;
}

.status-description {
    margin-top: 8px;
    margin-bottom: 0;

    color: #616e66;

    font-size: 13px;

    line-height: 1.5;
}


/* =====================================
   FORM
===================================== */

.status-form {
    margin-top: 30px;
}

.status-form label {
    display: block;

    margin-top: 20px;
    margin-bottom: 9px;

    font-size: 13px;
    font-weight: 500;
}

.status-form label:first-child {
    margin-top: 0;
}


/* INPUT */

.status-form input[type="text"],
.status-form input[type="tel"],
.status-form input[type="file"],
.status-form select,
.status-form textarea {
    width: 100%;

    box-sizing: border-box;

    border: none;
    outline: none;

    border-radius: 10px;

    background: #ffffff;

    font-family: "Inter", Arial, sans-serif;

    font-size: 13px;

    color: #131c17;
}


/* TEXT INPUT */

.status-form input[type="text"],
.status-form input[type="tel"] {
    height: 50px;

    padding: 0 14px;
}


/* SELECT */

.status-form select {
    height: 50px;

    padding: 0 14px;

    cursor: pointer;
}


/* TEXTAREA */

.status-form textarea {
    min-height: 130px;

    padding: 14px;

    resize: vertical;

    line-height: 1.5;
}


/* PLACEHOLDER */

.status-form input::placeholder,
.status-form textarea::placeholder {
    color: #89928d;
}


/* FILE */

.status-form input[type="file"] {
    height: auto;

    padding: 14px;

    cursor: pointer;
}


/* =====================================
   BUTTON
===================================== */

.status-button {
    width: 100%;
    height: 52px;

    margin-top: 25px;

    border: none;
    border-radius: 12px;

    background: #1d3f72;

    color: #ffffff;

    font-family: "Inter", Arial, sans-serif;

    font-size: 15px;
    font-weight: 500;

    cursor: pointer;

    transition: 0.2s;
}

.status-button:hover {
    background: #16325c;
}

.status-button:active {
    transform: scale(0.98);
}


/* =====================================
   RESPONSIVE
===================================== */

@media (min-width: 600px) {

    body {
        margin: 0;
        padding: 20px 0;

        background: #eeeeee;
    }

    .status-page {
        min-height: 844px;

        border-radius: 4px;

        overflow: hidden;

        box-shadow:
            0 0 30px rgba(0, 0, 0, 0.08);
    }

}

/* =====================================
   DETAIL STATUS PENGADUAN
===================================== */

.detail-page {
    width: 100%;
    max-width: 390px;
    min-height: 100vh;

    margin: 0 auto;

    background: #f6f9f7;

    font-family: "Inter", Arial, sans-serif;

    color: #131c17;
}


/* HEADER */

.detail-header {
    width: 100%;
    height: 78px;

    background: white;

    border-bottom: 1px solid #dbe3de;

    display: flex;
    align-items: center;

    position: relative;
}

.detail-header h1 {
    margin-left: 60px;

    font-size: 19px;
    font-weight: 400;
}

.detail-header .back-button {
    position: absolute;

    left: 18px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #131c17;

    text-decoration: none;

    font-size: 30px;

    border-radius: 50%;
}

.detail-header .back-button:hover {
    background: #f0f3f1;
}


/* CONTENT */

.detail-content {
    padding: 28px 24px 45px;
}

.detail-content .page-title {
    margin: 0;

    font-size: 23px;
    font-weight: 400;

    line-height: 1.3;
}

.detail-content .page-description {
    margin-top: 8px;

    color: #616e66;

    font-size: 13px;

    line-height: 1.5;
}


/* NOMOR PENGADUAN */

.nomor-card {
    margin-top: 26px;

    padding: 18px;

    background: white;

    border-radius: 14px;
}

.nomor-label {
    margin: 0;

    color: #616e66;

    font-size: 12px;
}

.nomor-value {
    margin-top: 8px;

    color: #1d3f72;

    font-size: 14px;

    font-weight: 500;

    word-break: break-word;
}


/* STATUS */

.status-card {
    margin-top: 14px;

    padding: 20px 18px;

    background: white;

    border-radius: 14px;
}

.status-card-title {
    margin: 0;

    color: #131c17;

    font-size: 13px;

    font-weight: 500;
}

.status-badge {
    display: inline-flex;

    margin-top: 10px;

    padding: 7px 14px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 500;
}


/* STATUS BARU */

.status-baru {
    background: #fff0c7;

    color: #806000;
}


/* STATUS DIPROSES */

.status-diproses {
    background: #e5efff;

    color: #1d3f72;
}


/* STATUS SELESAI */

.status-selesai {
    background: #e3f3e8;

    color: #287044;
}


/* STATUS DITOLAK */

.status-ditolak {
    background: #fde8e8;

    color: #a33a3a;
}


/* DETAIL PENGADUAN */

.detail-card {
    margin-top: 14px;

    padding: 20px 18px;

    background: white;

    border-radius: 14px;
}

.detail-card-title {
    margin: 0 0 20px;

    font-size: 15px;

    font-weight: 500;
}

.detail-item {
    margin-bottom: 17px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    margin: 0 0 6px;

    color: #89928d;

    font-size: 11px;
}

.detail-value {
    margin: 0;

    color: #131c17;

    font-size: 13px;

    line-height: 1.5;

    word-break: break-word;
}


/* FOTO */

.foto-card {
    margin-top: 14px;

    padding: 20px 18px;

    background: white;

    border-radius: 14px;
}

.foto-card-title {
    margin: 0 0 14px;

    font-size: 15px;

    font-weight: 500;
}

.foto-pengaduan {
    width: 100%;

    max-height: 250px;

    object-fit: cover;

    display: block;

    border-radius: 10px;
}


/* TANGGAL */

.tanggal {
    margin-top: 18px;

    color: #89928d;

    font-size: 11px;

    text-align: center;

    line-height: 1.5;
}


/* BUTTON */

.detail-content .button {
    width: 100%;
    height: 50px;

    margin-top: 24px;

    border-radius: 11px;

    background: #1d3f72;

    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;
}

.detail-content .button:hover {
    background: #16325c;
}


/* BUTTON SECONDARY */

.detail-content .button-secondary {
    margin-top: 12px;

    background: white;

    color: #1d3f72;

    border: 1px solid #dbe3de;
}

.detail-content .button-secondary:hover {
    background: #f5f7f6;
}


/* DESKTOP */

@media (min-width: 600px) {

    body {
        padding: 20px 0;
    }

    .detail-page {
        min-height: 844px;

        box-shadow:
            0 0 30px rgba(0, 0, 0, 0.08);
    }

}

/* =====================================
   DARURAT
===================================== */

.row-darurat {
    background: #fff5f5 !important;
}

.row-darurat:hover td {
    background: #ffecec !important;
}

.badge-darurat {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #b84b4b;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.notif-darurat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: #b84b4b;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.notif-darurat strong {
    font-size: 15px;
}

.notif-darurat a {
    margin-left: auto;
    padding: 7px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}