/* Styles for Surah Details Page */
.surah-header-card, .page-section {
    background-color: var(--card-bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary-color);
}

.surah-header-card h1, .page-section h2 {
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.surah-header-card .surah-arabic-name {
    font-family: var(--font-family-arabic);
    font-size: 3rem;
    color: var(--primary-color);
}

.ayah-card {
    background-color: var(--card-bg-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ayah-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.ayah-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ayah-number {
    background-color: var(--primary-color);
    color: var(--text-on-dark-bg);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.ayah-arabic {
    font-family: var(--font-family-arabic);
    font-size: 2.5rem;
    text-align: right;
    direction: rtl;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.ayah-transliteration {
    font-style: italic;
    color: var(--text-color-medium);
    margin-bottom: 0.5rem;
}

.ayah-translation {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Sidebar: Other Surahs List Style */
.sidebar-card {
    background-color: var(--card-bg-color);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}
.sidebar-card .sidebar-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}
.surah-quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.surah-quick-links li {
    border-bottom: 1px solid #f0f0f0;
}
.surah-quick-links li:last-child {
    border-bottom: none;
}
.surah-quick-links a {
    color: var(--text-color-medium);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 10px;
    display: block;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 5px;
}
.surah-quick-links a:hover {
    background-color: var(--light-bg-color);
    color: var(--primary-color);
}
.surah-quick-links a i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 767px) {
    .surah-header-card .d-flex {
        flex-direction: column;
        text-align: center;
    }
    .surah-header-card .surah-arabic-name {
        margin-top: 1rem;
    }
    .surah-header-card, .ayah-card, .page-section {
        padding: 1.5rem;
    }
    .surah-header-card h1 {
        font-size: 1.8rem;
    }
    .ayah-arabic {
        font-size: 2rem;
    }
    .ayah-number {
        width: 35px;
        height: 35px;
    }
}