body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #fff;
    font-family: "LPMQ Isep Misbah";
    margin: 0;
    /* Resets default margin */
}

.widget-container {
    width: 400px;
    padding: 20px;
    border-radius: 12px;
    /* Smoothed corners */
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* Deeper shadow for 3D effect */
    text-align: center;
}

.widget-title {
    margin-bottom: 20px;
    font-family: 'Merriweather', serif;
    color: #34495e;
    /* Darker shade for better contrast */
    font-size: 20px;
    /* Larger for emphasis */
}

.hadith-content {
    padding: 10px;
    background-color: #f9f9f9;
    /* Slight background for segmentation */
    border-radius: 8px;
    /* Uniformity with container */
    margin-bottom: 20px;
    font-size: 16px;
    /* More readable size */
    color: #555;
    /* Softened color for easy reading */
    max-height: 150px;
    /* Tinggi maksimal sebelum scrollbar muncul */
    overflow-y: auto;
    /* Membuat vertical scrollbar muncul secara otomatis jika diperlukan */
    text-align: right;

}
.reference {
    padding: 10px;
    background-color: #f9f9f9; /* Slight background for segmentation */
    border-radius: 8px; /* Uniformity with container */
    margin-bottom: 20px;
    font-size: 16px; /* More readable size */
    color: #555; /* Softened color for easy reading */
    max-height: 150px; /* Tinggi maksimal sebelum scrollbar muncul */
    overflow-y: auto; /* Membuat vertical scrollbar muncul secara otomatis jika diperlukan */
    text-align: center;
}

button.refresh-button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(175deg, #f06eaa, #ffff);
    /* Updated gradient for a modern look */
    color: rgb(0, 0, 0);
    font-weight: 500;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button.refresh-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    /* More noticeable hover effect */
}

/* Style untuk scrollbar */
.scrollable::-webkit-scrollbar {
    width: 8px;
    /* Lebar scrollbar */
}

.scrollable::-webkit-scrollbar-track {
    background: white;
    /* Warna background track scrollbar */
}

.scrollable::-webkit-scrollbar-thumb {
    background-color: #f06eaa;
    /* Warna scrollbar */
    border-radius: 4px;
    /* Radius border scrollbar */
}

.icon {
    margin-right: 5px;
}