/* === UMUMIY SOZLAMALAR === */
body {
    background-color: #FDE9C5;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

/* === KONTEYNER === */
.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}



/* Orqaga qaytish tugmasi (faqat detail sahifada) */
.back-button {
    position: absolute;
    left: 14px;
    width: 24px;
    height: 24px;
}

/* Logo */
.logo {
    width: 166px;
    height: 37px;
}


/* Sura nomi va oyat raqami */
.verse-header {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #764E2A;
}

/* Oyat matni */
.verse-text {
    text-align: center;
    font-size: 18px;
    color: rgba(118, 78, 42, 0.6);
    margin: 16px 18px;
    font-weight: bold;
    word-wrap: break-word;
}

/* Tarjima va Tafsir sarlavhasi */
.section-title {
    font-size: 14px;
    font-weight: bold;
    color: rgba(118, 78, 42, 0.6);
    margin-top: 20px;
    text-align: left;
}

/* Tarjima va Tafsir matni */
.section-content {
    font-size: 14px;
    font-weight: 500;
    color: rgba(118, 78, 42, 0.6);
    margin-top: 10px;
}

/* === MANBA === */
.source {
    display: flex;
    justify-content: space-between; /* Chap va o‘ngga yoyish */
    align-items: center;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 14px;
    width: 100%;
}

.source-title {
    font-weight: 500;
    color: rgba(118, 78, 42, 0.6);
}

.source-text {
    font-weight: bold;
    color: rgba(118, 78, 42, 0.6);
    text-align: right;
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: white;
    background-color: #764E2A;
}







/* FILTER CONTAINER */
.filter-container {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    overflow-x: auto; /* Allow horizontal scrolling */
    white-space: nowrap;
    display: flex;
    justify-content: center;
    scrollbar-width: none; /* Hide default scrollbar (Firefox) */
}

/* Hide scrollbar for Webkit browsers */
.filter-container::-webkit-scrollbar {
    display: none;
}

/* Filter buttons scroll horizontally */
.filter-scroll {
    display: flex;
    gap: 8px;
    align-items: center; /* Ensures text remains aligned */
}

/* FILTER BUTTONS (CATEGORY) */
.filter-button {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 14px;  /* Correct font size */
    font-weight: 600; /* Adjust for better visibility */
    font-family: 'Montserrat', sans-serif; /* Apply consistent font */
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background: rgba(175, 134, 75, 0.2);
    color: #737070; /* Default disabled color */
    transition: background 0.3s ease, color 0.3s ease;
    text-decoration: none; /* Remove underline */
}

/* ACTIVE FILTER BUTTON */
.filter-button.active {
    background: rgba(175, 134, 75, 0.6);
    color: #282828;
}

/* DISABLED FILTER BUTTON */
.filter-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* REMOVE TEXT UNDERLINE */
.filter-button:link,
.filter-button:visited {
    text-decoration: none;
}

/* CATEGORY COLOR BOX */
.category-color {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 7px;
    margin-right: 4px;
}







