* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background-color: #eee; padding: 50px 0; }

.container {
    max-width: 850px;
    margin: 0 auto;
    background: #fff;
    border-radius: 40px; /* Sudut sangat bulat sesuai gambar referensi */
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* Tombol Close */
.close-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #FF8C2B;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: 0.3s;
}
.close-icon img { width: 16px; filter: brightness(0) invert(1); }
.close-icon:hover { transform: rotate(90deg); background: #e67e22; }

/* Gambar Header */
.header-recipe {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    color: #fff;
}
.header-text h1 { font-size: 32px; margin-bottom: 8px; }
.meta { display: flex; gap: 20px; font-size: 14px; width: 100%; align-items: center; }
.stars { margin-left: auto; font-weight: 500; }

/* Konten Putih */
/* Container diperpendek jaraknya */
.content-recipe { 
    padding: 30px 50px; /* Atas-bawah dikecilkan jadi 30px */
}
.rating-input {
    display: flex;
    flex-direction: row-reverse; /* Agar urutan bintang dari kanan ke kiri untuk logika hover */
    justify-content: flex-end;
}
.rating-input input {
    display: none;
}
.rating-input label {
    cursor: pointer;
    width: 25px;
    font-size: 25px;
    color: #ccc; /* Warna bintang kosong */
}
.rating-input label:before {
    content: '★';
}
.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #FF8C2B; /* Warna bintang saat dipilih/hover */
}
/* Merapatkan jarak teks */
ul, ol { 
    padding-left: 20px; 
    line-height: 1.4; /* Dari 2 menjadi 1.4 agar lebih rapat */
    color: #555; 
}

li { 
    margin-bottom: 4px; /* Jarak antar poin dikecilkan */
}

/* Mengecilkan header agar tidak makan tempat */
.header-recipe {
    height: 300px; /* Dari 400px jadi 300px agar lebih landscape */
}

.grid-info { 
    display: flex; 
    gap: 40px; 
    margin-bottom: 20px; /* Jarak bawah dikecilkan */
}

/* Footer Oranye */
.orange-footer {
    background: #FF8C2B;
    padding: 30px;
    text-align: center;
    color: white;
}
.orange-footer p { font-size: 14px; opacity: 0.9; }