* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff;
    background:
        radial-gradient(circle at top left, rgba(45, 199, 171, 0.25), transparent 30%),
        radial-gradient(circle at right center, rgba(255, 195, 71, 0.15), transparent 24%),
        linear-gradient(135deg, #0d2730 0%, #16373d 45%, #123133 100%);
    position: relative;
    overflow-x: hidden;
}

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
}

.orb-1 {
    width: 240px;
    height: 240px;
    background: #24d7b3;
    top: -80px;
    left: -60px;
}

.orb-2 {
    width: 260px;
    height: 260px;
    background: #f7b733;
    right: -110px;
    bottom: 60px;
}

.container {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 24px 16px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel {
    width: 100%;
    border-radius: 28px;
    padding: 36px 24px 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: center;
}

.panel-result {
    max-width: 760px;
}

.logo-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

.logo-wrap.green {
    background: linear-gradient(135deg, #29dfb0, #14b89c);
}

.logo-wrap.gold {
    background: linear-gradient(135deg, #ffd447, #f3a916);
    box-shadow: 0 0 28px rgba(255, 200, 61, 0.25), 0 16px 36px rgba(0, 0, 0, 0.32);
}

.logo-icon {
    font-size: 46px;
    line-height: 1;
}

.title-area h1,
.school-name {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: bold;
}

.title-area h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.subtitle {
    margin: 0;
    color: #6ef2c7;
    font-size: 18px;
    font-weight: bold;
}

.tahun,
.kelas,
.school-year {
    color: rgba(255, 255, 255, 0.70);
}

.tahun {
    margin: 8px 0 28px;
    font-size: 16px;
}

.search-box {
    text-align: left;
    max-width: 620px;
    margin: 0 auto;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    margin-bottom: 9px;
    font-weight: bold;
    color: #ebfffa;
    font-size: 16px;
}

.field input {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    border-radius: 16px;
    padding: 16px 18px;
    font-size: 17px;
    outline: none;
}

.field input::placeholder {
    color: rgba(255,255,255,0.50);
}

.message {
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 15px;
    margin: 14px 0 18px;
}

.message.error {
    background: rgba(255, 77, 77, 0.16);
    border: 1px solid rgba(255, 109, 109, 0.35);
    color: #ffe0e0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
    border-radius: 16px;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, #18d4a6, #0ba68f);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(5, 111, 100, 0.28);
}

.btn-secondary {
    margin-top: 26px;
    background: rgba(255, 255, 255, 0.10);
    color: #e9fff9;
    border: 1px solid rgba(255,255,255,0.16);
}

.kelas {
    margin: 28px 0 0;
    font-size: 15px;
}

.result-header {
    margin-bottom: 24px;
}

.result-kicker {
    margin: 0 0 10px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 1px;
}

.result-kicker.passed {
    color: #f5c84d;
}

.result-kicker.failed {
    color: #ff9f9f;
}

.result-title {
    margin: 0;
    font-size: 22px;
    color: #75f3ca;
}

.result-card {
    max-width: 640px;
    margin: 0 auto 26px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 22px;
    padding: 18px;
    text-align: left;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr + tr td {
    border-top: 1px solid rgba(255,255,255,0.06);
}

.info-table td {
    padding: 14px 10px;
    vertical-align: top;
    font-size: 18px;
}

.info-table .label {
    width: 34%;
    color: rgba(255,255,255,0.68);
}

.info-table .value {
    font-weight: bold;
    color: #ffffff;
}

.status.passed {
    color: #61f0b1;
}

.status.failed {
    color: #ffa0a0;
}

.score {
    color: #ffd34f !important;
    font-size: 28px !important;
}

.school-box {
    margin-bottom: 24px;
}

.school-name {
    font-size: 24px;
    margin-bottom: 6px;
}

.school-year {
    font-size: 17px;
}

.warning-box {
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
    border: 1px solid rgba(255, 204, 82, 0.45);
    background: rgba(255, 198, 59, 0.09);
    color: #ffefb3;
    border-radius: 18px;
    padding: 18px 20px;
    line-height: 1.7;
    font-size: 16px;
}

@media (max-width: 600px) {
    .panel {
        padding: 28px 16px 22px;
        border-radius: 22px;
    }

    .logo-wrap {
        width: 96px;
        height: 96px;
        margin-bottom: 18px;
    }

    .logo-icon {
        font-size: 40px;
    }

    .title-area h1 {
        font-size: 24px;
    }

    .subtitle,
    .result-title {
        font-size: 16px;
    }

    .result-kicker {
        font-size: 34px;
    }

    .result-card {
        padding: 14px;
    }

    .info-table td {
        display: block;
        width: 100% !important;
        padding: 8px 6px;
        font-size: 16px;
    }

    .info-table .label {
        padding-bottom: 2px;
    }

    .info-table tr + tr td {
        border-top: none;
    }

    .info-table tr {
        display: block;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }

    .info-table tr:last-child {
        border-bottom: none;
    }

    .score {
        font-size: 24px !important;
    }

    .school-name {
        font-size: 22px;
    }

    .warning-box {
        font-size: 15px;
        padding: 16px;
    }
}


.logo-image {
    width: 86%;
    height: 86%;
    object-fit: contain;
    display: block;
}

.logo-wrap {
    overflow: hidden;
    padding: 8px;
}


/* ===== PENGATURAN UKURAN LOGO FINAL =====
   Ubah angka di bawah ini jika ingin logo lebih besar/kecil.
   --logo-box = ukuran bulatan/tempat logo
   --logo-img = ukuran gambar logo di dalamnya
*/
:root {
    --logo-box: 90px;
    --logo-img: 62px;
}

.logo-wrap {
    width: var(--logo-box) !important;
    height: var(--logo-box) !important;
    padding: 0 !important;
}

.logo-image {
    width: var(--logo-img) !important;
    height: var(--logo-img) !important;
    object-fit: contain !important;
}

@media (max-width: 600px) {
    .logo-wrap {
        width: var(--logo-box) !important;
        height: var(--logo-box) !important;
    }

    .logo-image {
        width: var(--logo-img) !important;
        height: var(--logo-img) !important;
    }
}


/* ===== TOMBOL CETAK SKL DI SAMPING STATUS ===== */
.status-line {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.skl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd34f, #f0a51a);
    color: #173033;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.skl-button:hover {
    filter: brightness(1.06);
}

@media (max-width: 600px) {
    .status-line {
        align-items: flex-start;
        gap: 10px;
    }

    .skl-button {
        font-size: 13px;
        padding: 8px 12px;
    }
}


/* ===== INFO PENGUMUMAN BELUM DIBUKA ===== */
.open-time {
    display: inline-block;
    margin: 0 0 26px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 211, 79, 0.10);
    border: 1px solid rgba(255, 211, 79, 0.28);
    color: #ffe59b;
    font-size: 14px;
    font-weight: bold;
}

.message.locked {
    background: rgba(255, 211, 79, 0.12);
    border: 1px solid rgba(255, 211, 79, 0.38);
    color: #fff0b8;
    text-align: center;
    line-height: 1.55;
}

.locked-title {
    font-weight: bold;
    color: #ffd34f;
    margin-bottom: 5px;
}
