* {
    font-family: "Poppins", sans-serif;
}

body {
    background: linear-gradient(
        180deg,
        #0b6b45 0px,
        #0f7a4d 300px,
        #f4f7f5 300px
    );
    min-height: 100vh;
    padding: 20px;
}

/* MAIN */

.main-wrapper {
    background: white;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* HEADER */

.top-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8ece9;
}

.logo-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.system-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f2d2b;
    margin-bottom: 0;
}

.header-line {
    height: 5px;
    width: 260px;
    background: #0f8a57;
    border-radius: 20px;
    margin-top: 16px;
}

/* BUTTON */

.btn-back {
    border: 1px solid #d8e2dc;
    background: white;
    padding: 10px 20px;
    border-radius: 14px;
    font-weight: 500;
    color: #1c5c45;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
    font-size: 15px;
}

.btn-back:hover {
    background: #f5faf7;
}

/* TITLE */

.page-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #082c2a;
    margin-top: 35px;
    margin-bottom: 35px;
}

/* RESULT CARD */

.result-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    border: 1px solid #e7ece8;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

/* STATUS */

.status-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 22px;
}

.status-akurat {
    background: #e9f8ef;
    color: #0f7a4d;
}

.status-warning {
    background: #fff4e8;
    color: #d97706;
}

/* PENYAKIT */

.nama-penyakit {
    font-size: 34px;
    font-weight: 700;
    color: #0d1f1f;
    margin-bottom: 10px;
}

.persentase {
    font-size: 18px;
    font-weight: 600;
    color: #0f7a4d;
    margin-bottom: 24px;
}

/* BOT RESPONSE */

.bot-response {
    background: #f8fbf9;
    border: 1px solid #e7ece8;
    border-radius: 18px;
    padding: 22px;
    font-size: 15px;
    line-height: 1.9;
    color: #475467;
    margin-bottom: 30px;
}

/* SECTION */

.section-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #e7ece8;
    height: 100%;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title.warning {
    color: #d97706;
}

.section-title.success {
    color: #0f7a4d;
}

.section-title.info {
    color: #2563eb;
}

/* LIST */

.list-custom {
    padding-left: 18px;
    margin-bottom: 0;
}

.list-custom li {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.8;
    color: #475467;
}

/* BUTTON DETAIL */

.btn-detail {
    margin-top: 28px;
    background: linear-gradient(135deg, #11a060, #0c7c4b);

    border: none;
    padding: 16px 28px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(16, 150, 92, 0.25);
    transition: 0.3s;
}

.btn-detail:hover {
    transform: translateY(-2px);
}

/* GAMBAR PENYAKIT */

.img-penyakit {
    width: 100%;
    max-width: 420px;
    height: 260px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid #e7ece8;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* RESPONSIVE */

@media (max-width: 768px) {
    body {
        padding: 12px;
    }

    .main-wrapper {
        padding: 18px;
        border-radius: 18px;
    }

    .system-title {
        font-size: 18px;
    }

    .header-line {
        width: 170px;
    }

    .page-title {
        font-size: 24px;
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .result-card {
        padding: 20px;
    }

    .nama-penyakit {
        font-size: 26px;
    }

    .persentase {
        font-size: 16px;
    }

    .section-card {
        padding: 18px;
        border-radius: 18px;
    }

    .list-custom li {
        font-size: 14px;
    }

    .btn-detail {
        width: 100%;
        justify-content: center;
        padding: 14px;
        font-size: 15px;
    }
}
