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

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

/* CONTAINER */

.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 BACK */

.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: 24px;
    font-weight: 700;
    color: #082c2a;
    margin-top: 35px;
    margin-bottom: 10px;
}

.page-desc {
    text-align: center;
    font-size: 15px;
    color: #667085;
    margin-bottom: 28px;
}

/* SEARCH */

.search-box {
    margin-bottom: 22px;
}

.search-box input {
    height: 50px;
    border-radius: 14px;
    border: 1px solid #dfe7e2;
    padding-left: 18px;
    font-size: 15px;
    box-shadow: none;
}

.search-box input:focus {
    border-color: #0f8a57;
    box-shadow: none;
}

/* CARD PENYAKIT */

.penyakit-card {
    background: white;
    border-radius: 22px;
    padding: 18px;
    border: 1px solid #edf1ee;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    margin-bottom: 18px;
    transition: 0.3s;
}

.penyakit-card:hover {
    transform: translateY(-2px);
}

.penyakit-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 18px;
}

.nama-penyakit {
    font-size: 18px;
    font-weight: 700;
    color: #102a29;
    margin-bottom: 10px;
}

.deskripsi-penyakit {
    font-size: 15px;
    line-height: 1.7;
    color: #667085;
    margin-bottom: 0;
}

/* BUTTON DETAIL */

.btn-detail {
    border: 2px solid #0f7a4d;
    color: #0f7a4d;
    background: white;
    padding: 10px 22px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    font-size: 15px;
}

.btn-detail:hover {
    background: #0f7a4d;
    color: white;
}

/* ALERT */

.info-alert {
    margin-top: 30px;
    background: #f1f8f4;
    border: 1px solid #d9ebe0;
    border-radius: 20px;
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.alert-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1aa567;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.alert-text {
    font-size: 15px;
    color: #35524c;
    line-height: 1.7;
}

/* RESPONSIVE */

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

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

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

    .header-line {
        width: 160px;
    }

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

    .penyakit-img {
        width: 85px;
        height: 85px;
    }

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

    .deskripsi-penyakit {
        font-size: 14px;
    }

    .btn-detail {
        padding: 8px 16px;
        font-size: 14px;
    }

    .info-alert {
        padding: 18px;
    }

    .alert-text {
        font-size: 14px;
    }
}
