/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;

    background:
        linear-gradient(
            135deg,
            #103f6d 0%,
            #145b88 45%,
            #1988b8 100%
        );

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 25px;

    overflow-x: hidden;

    position: relative;
}


/* =====================================================
   BACKGROUND
===================================================== */

.background-circle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(3px);
}

.circle-1 {
    width: 450px;
    height: 450px;

    background: rgba(255,255,255,0.06);

    top: -180px;
    left: -150px;
}

.circle-2 {
    width: 500px;
    height: 500px;

    background: rgba(82,190,240,0.08);

    bottom: -220px;
    right: -150px;
}

.circle-3 {
    width: 250px;
    height: 250px;

    background: rgba(255,255,255,0.05);

    top: 35%;
    right: 10%;
}


/* =====================================================
   CONTAINER UTAMA
===================================================== */

.container {
    width: 100%;
    max-width: 500px;

    background: rgba(255,255,255,0.13);

    border: none;

    border-radius: 28px;

    padding: 28px;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 25px 60px rgba(0,0,0,0.18);

    position: relative;

    z-index: 2;
}


/* =====================================================
   LOGO
===================================================== */

.logo-utama {
    width: 105px;
    height: 105px;

    margin: 0 auto 14px;

    display: flex;

    justify-content: center;
    align-items: center;

    background: rgba(255,255,255,0.96);

    border-radius: 22px;

    padding: 6px;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.15);
}

.logo-utama img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;

    border-radius: 16px;
}


/* =====================================================
   JUDUL
===================================================== */

h1 {
    text-align: center;

    color: white;

    font-size: 27px;

    font-weight: 800;

    letter-spacing: 0.3px;

    margin-bottom: 5px;
}


/* =====================================================
   TANGGAL
===================================================== */

.tanggal {
    text-align: center;

    color: rgba(255,255,255,0.90);

    font-size: 13px;

    margin-bottom: 22px;
}


/* =====================================================
   BAGIAN PETUGAS
   TANPA BORDER
===================================================== */

.card {
    background: rgba(255,255,255,0.10);

    border: none;

    border-radius: 18px;

    padding: 20px 18px 18px;

    margin-bottom: 17px;

    box-shadow: none;
}


/* =====================================================
   JUDUL PETUGAS
===================================================== */

.card h2 {
    color: white;

    font-size: 18px;

    font-weight: 750;

    margin-bottom: 12px;
}


/* =====================================================
   LABEL NAMA PETUGAS
===================================================== */

.card label,
.card .nama-petugas {
    display: block;
    width: 100%;

    color: rgba(255,255,255,0.95);

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 8px;

    text-align: left;
}


/* =====================================================
   SELECT / PILIH NAMA PETUGAS
===================================================== */
select {
    width: 100%;
    height: 55px;

    border: none;
    outline: none;

    border-radius: 12px;

    padding: 0 15px;

    margin-top: 0;

    background: rgba(255,255,255,0.97);

    color: #234b68;

    font-size: 16px;
    font-weight: 500;
}

/* =====================================================
   RATING BINTANG
===================================================== */

.rating {
    display: flex;

    flex-direction: row-reverse;

    justify-content: center;

    align-items: center;

    gap: 4px;

    margin-top: 9px;
}

.rating input {
    display: none;
}

.rating label {
    display: inline-flex;

    justify-content: center;
    align-items: center;

    width: 42px;
    height: 42px;

    font-size: 39px;

    line-height: 1;

    color: rgba(255,255,255,0.42);

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease,
        text-shadow 0.2s ease;
}

.rating label:hover {
    transform: scale(1.10);

    color: #ffd85c;

    text-shadow:
        0 0 10px rgba(255,216,92,0.35);
}

.rating label:hover ~ label {
    color: #ffd85c;
}

.rating input:checked ~ label {
    color: #ffd85c;

    text-shadow:
        0 0 10px rgba(255,216,92,0.30);
}


/* =====================================================
   ULASAN
===================================================== */

textarea {
    width: 100%;

    min-height: 105px;

    resize: none;

    border: none;

    outline: none;

    border-radius: 15px;

    padding: 15px;

    background: rgba(255,255,255,0.95);

    color: #214f70;

    font-family: "Segoe UI", Arial, sans-serif;

    font-size: 14px;

    line-height: 1.5;

    display: block;
}

textarea::placeholder {
    color: #8299aa;
}


/* =====================================================
   TOMBOL SELESAI
===================================================== */

.selesai {
    width: 100%;

    border: none;

    border-radius: 14px;

    padding: 15px;

    margin-top: 2px;

    background:
        linear-gradient(
            90deg,
            #0967b5,
            #199bd0
        );

    color: white;

    font-size: 15px;

    font-weight: 800;

    letter-spacing: 0.5px;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.15);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.selesai:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(0,0,0,0.20);
}

.selesai:disabled {
    opacity: 0.7;

    cursor: wait;

    transform: none;
}


/* =====================================================
   OVERLAY TERIMA KASIH
===================================================== */

.overlay {
    position: fixed;

    inset: 0;

    display: none;

    justify-content: center;
    align-items: center;

    background: rgba(8,48,82,0.72);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    z-index: 100;
}

.terima-kasih {
    width: min(90%, 420px);

    background: rgba(255,255,255,0.96);

    border-radius: 25px;

    padding: 35px 28px;

    text-align: center;

    box-shadow:
        0 25px 70px rgba(0,0,0,0.25);

    animation: muncul 0.3s ease;
}

.check-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 15px;

    border-radius: 50%;

    display: flex;

    justify-content: center;
    align-items: center;

    background: #1596c7;

    color: white;

    font-size: 34px;

    font-weight: bold;
}

.terima-kasih h2 {
    color: #18577c;

    margin-bottom: 10px;
}

.terima-kasih p {
    color: #648197;

    font-size: 14px;

    line-height: 1.6;
}


/* =====================================================
   ANIMASI
===================================================== */

@keyframes muncul {

    from {
        opacity: 0;

        transform: scale(0.94);
    }

    to {
        opacity: 1;

        transform: scale(1);
    }
}


/* =====================================================
   TABLET
===================================================== */

@media screen and (max-width: 900px) and (min-width: 601px) {

    body {
        padding: 25px;
    }

    .container {
        max-width: 520px;

        padding: 30px;
    }

    .card {
        padding: 22px 20px 19px;
    }

    .card h2 {
        font-size: 19px;
    }

    select {
        height: 52px;

        font-size: 15px;
    }

    .rating label {
        width: 45px;
        height: 45px;

        font-size: 42px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media screen and (max-width: 600px) {

    body {
        padding: 15px;
    }

    .container {
        max-width: 100%;

        padding: 22px 17px;

        border-radius: 24px;
    }

    .logo-utama {
        width: 90px;
        height: 90px;

        margin-bottom: 12px;
    }

    h1 {
        font-size: 23px;
    }

    .tanggal {
        font-size: 13px;

        margin-bottom: 18px;
    }

    .card {
        padding: 19px 16px 17px;

        border-radius: 17px;

        margin-bottom: 15px;
    }

    .card h2 {
        font-size: 17px;

        margin-bottom: 11px;
    }

    select {
        height: 48px;

        font-size: 14px;

        padding: 0 13px;
    }

    .rating {
        gap: 4px;

        min-height: 48px;

        margin-top: 8px;
    }

    .rating label {
        width: 40px;
        height: 40px;

        font-size: 37px;
    }

    textarea {
        min-height: 100px;
    }

    .selesai {
        padding: 14px;
    }
}


/* =====================================================
   HP KECIL
===================================================== */

@media screen and (max-width: 380px) {

    body {
        padding: 10px;
    }

    .container {
        padding: 18px 14px;
    }

    .logo-utama {
        width: 82px;
        height: 82px;
    }

    h1 {
        font-size: 21px;
    }

    .card {
        padding: 17px 14px 15px;
    }

    .card h2 {
        font-size: 16px;
    }

    select {
        height: 46px;

        font-size: 13px;
    }

    .rating {
        gap: 2px;
    }

    .rating label {
        width: 37px;
        height: 37px;

        font-size: 34px;
    }
}