/* =========================================
   HALAMAN BUAT PENGADUAN
   KELURAHAN PLAJU ULU
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;

    background:
        linear-gradient(
            rgba(0, 25, 88, 0.48),
            rgba(0, 15, 60, 0.60)
        ),
        url("images/background.png");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    color: white;
}


/* =========================================
   HALAMAN
========================================= */

.page {
    width: 100%;

    /* DIKECILKAN LAGI AGAR TIDAK TERLALU LEBAR */
    max-width: 820px;

    margin: 0 auto;

    padding: 18px 20px 32px;

    position: relative;

    /* JANGAN PAKAI ZOOM */
}


/* =========================================
   KEMBALI
========================================= */

.back-button {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: white;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 4px;

    transition: 0.3s;
}

.back-button span {
    font-size: 22px;

    line-height: 18px;
}

.back-button:hover {
    color: #ffd45a;

    transform: translateX(-3px);
}


/* =========================================
   ORNAMEN ATAS
========================================= */

.ornament {
    text-align: center;

    color: #f5c542;

    font-size: 12px;

    letter-spacing: 3px;

    margin-bottom: 4px;

    text-shadow:
        0 0 7px rgba(255, 203, 67, 0.75);
}


/* =========================================
   HEADER
========================================= */

.header {
    text-align: center;

    margin-bottom: 15px;
}

.header h1 {
    font-size: 35px;

    font-weight: 800;

    letter-spacing: 0.5px;

    line-height: 1.15;

    text-shadow:
        0 3px 8px rgba(0, 0, 0, 0.45);

    margin-bottom: 6px;
}

.subtitle {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 11px;

    font-size: 15px;

    font-weight: 600;

    color: white;
}

.subtitle span {
    width: 62px;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #f5c542
        );

    box-shadow:
        0 0 7px #f5c542;
}

.subtitle span:last-child {
    background:
        linear-gradient(
            90deg,
            #f5c542,
            transparent
        );
}


/* =========================================
   FORM ROW
========================================= */

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 13px;

    margin-bottom: 9px;
}


/* =========================================
   FORM CARD
========================================= */

.form-card {
    position: relative;

    padding: 13px 14px 12px;

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            rgba(11, 64, 174, 0.82),
            rgba(1, 26, 91, 0.88)
        );

    border:
        1.3px solid rgba(241, 185, 42, 0.85);

    box-shadow:
        inset 0 0 14px
        rgba(70, 150, 255, 0.16),

        0 4px 14px
        rgba(0, 0, 0, 0.22);

    transition: 0.3s;

    margin-bottom: 9px;
}

.form-card:hover {
    border-color: #ffd65c;

    box-shadow:
        inset 0 0 20px
        rgba(90, 170, 255, 0.20),

        0 0 14px
        rgba(255, 204, 60, 0.20);
}

.form-card.full {
    width: 100%;
}


/* =========================================
   LABEL
========================================= */

.form-card label {
    display: flex;

    align-items: center;

    gap: 7px;

    font-size: 14px;

    font-weight: 700;

    margin-bottom: 7px;

    color: white;
}

.label-icon {
    color: #ffd044;

    font-size: 18px;

    width: 21px;

    text-align: center;

    text-shadow:
        0 0 7px
        rgba(255, 205, 65, 0.75);
}


/* =========================================
   INPUT
========================================= */

input,
select,
textarea {
    width: 100%;

    padding: 9px 12px;

    border-radius: 9px;

    border:
        1px solid
        rgba(83, 155, 255, 0.55);

    background:
        rgba(0, 20, 75, 0.72);

    color: white;

    font-family: 'Poppins', sans-serif;

    font-size: 12px;

    outline: none;

    transition: 0.3s;
}

input,
select {
    height: 37px;
}

input::placeholder,
textarea::placeholder {
    color:
        rgba(225, 235, 255, 0.72);
}

input:focus,
select:focus,
textarea:focus {
    border-color: #ffd044;

    box-shadow:
        0 0 10px
        rgba(255, 208, 68, 0.25);
}


/* =========================================
   SELECT
========================================= */

select {
    cursor: pointer;
}

select option {
    background: #06286d;

    color: white;
}


/* =========================================
   TEXTAREA
========================================= */

textarea {
    min-height: 78px;

    resize: vertical;

    line-height: 1.45;
}


/* =========================================
   UPLOAD
========================================= */

.upload-box {
    border:
        1.5px dashed
        rgba(244, 188, 46, 0.85);

    border-radius: 10px;

    min-height: 82px;

    background:
        rgba(0, 23, 82, 0.45);

    transition: 0.3s;
}

.upload-box:hover {
    background:
        rgba(15, 65, 150, 0.50);

    border-color: #ffd044;

    box-shadow:
        0 0 13px
        rgba(255, 204, 60, 0.16);
}

.upload-box input[type="file"] {
    display: none;
}

.upload-content {
    min-height: 82px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    cursor: pointer;

    margin: 0 !important;
}

.camera {
    width: 43px;

    height: 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #1265df,
            #001e78
        );

    border:
        1px solid #6eb0ff;

    box-shadow:
        0 0 12px
        rgba(75, 155, 255, 0.42);

    font-size: 20px;
}

.upload-text {
    display: flex;

    flex-direction: column;

    gap: 1px;
}

.upload-text strong {
    font-size: 13px;

    color: white;
}

.upload-text small {
    font-size: 10px;

    color:
        rgba(230, 238, 255, 0.75);
}


/* =========================================
   TOMBOL KIRIM
========================================= */

.submit-button {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 9px;

    width: 250px;

    height: 43px;

    margin: 14px auto 0;

    padding: 10px 20px;

    border-radius: 25px;

    border:
        1.5px solid #f5c542;

    background:
        linear-gradient(
            135deg,
            #1471ff,
            #0034a8,
            #071e70
        );

    color: white;

    font-family: 'Poppins', sans-serif;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 0 15px
        rgba(38, 125, 255, 0.48),

        0 0 6px
        rgba(255, 205, 61, 0.38);

    transition: 0.3s;
}

.submit-button span {
    color: #ffd044;

    font-size: 18px;
}

.submit-button:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            135deg,
            #2780ff,
            #0649d5,
            #09258a
        );

    box-shadow:
        0 0 20px
        rgba(38, 140, 255, 0.65),

        0 0 10px
        rgba(255, 205, 61, 0.55);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .page {
        max-width: 760px;

        padding:
            17px 18px 30px;
    }

    .header h1 {
        font-size: 32px;
    }

    .subtitle {
        font-size: 14px;
    }

    .form-card label {
        font-size: 13px;
    }
}


/* =========================================
   HP
========================================= */

@media (max-width: 650px) {

    body {
        background-attachment: scroll;
    }

    .page {
        width: 100%;

        padding:
            15px 13px 28px;
    }

    .back-button {
        font-size: 13px;
    }

    .back-button span {
        font-size: 21px;
    }

    .ornament {
        font-size: 10px;

        letter-spacing: 1px;
    }

    .header {
        margin-bottom: 14px;
    }

    .header h1 {
        font-size: 27px;

        line-height: 1.2;
    }

    .subtitle {
        font-size: 13px;

        gap: 7px;
    }

    .subtitle span {
        width: 42px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;

        margin-bottom: 0;
    }

    .form-card {
        padding:
            12px 13px 11px;

        margin-bottom: 10px;

        border-radius: 12px;
    }

    .form-card label {
        font-size: 13px;

        margin-bottom: 6px;
    }

    .label-icon {
        font-size: 17px;
    }

    input,
    select,
    textarea {
        font-size: 12px;

        padding:
            9px 11px;
    }

    input,
    select {
        height: 37px;
    }

    textarea {
        min-height: 78px;
    }

    .upload-content {
        flex-direction: column;

        gap: 5px;

        padding: 10px;
    }

    .camera {
        width: 42px;

        height: 42px;

        font-size: 19px;
    }

    .upload-text {
        text-align: center;
    }

    .upload-text strong {
        font-size: 12px;
    }

    .upload-text small {
        font-size: 9px;
    }

    .submit-button {
        width: 100%;

        max-width: 260px;

        height: 42px;

        font-size: 13px;

        padding: 10px;
    }
}


/* =========================================
   HP KECIL
========================================= */

@media (max-width: 400px) {

    .header h1 {
        font-size: 23px;
    }

    .subtitle {
        font-size: 11px;
    }

    .form-card label {
        font-size: 12px;
    }

    input,
    select,
    textarea {
        font-size: 11px;
    }
}