.category-card {
    background: var(--white-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.1);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.category-card .card-icon {
    font-size: 50px;
    color: var(--theme-color);
    margin-bottom: 20px;
}

.category-card .card-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--title-color);
}

.category-card .card-text {
    color: var(--body-color);
    margin-bottom: 20px;
}

.category-card .card-link {
    color: var(--theme-color);
    text-decoration: none;
    font-weight: 600;
}

.category-card .card-link:hover {
    color: var(--title-color);
}

.article-section {
    background: var(--white-color);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.1);
}

.article-section .section-title {
    font-size: 22px;
    color: var(--title-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--theme-color);
}

.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.article-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.article-list a {
    color: var(--body-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.article-list a:hover {
    color: var(--theme-color);
    padding-right: 10px;
}

.today-hadith {
    background: linear-gradient(135deg, var(--theme-color) 0%, #4a6cf7 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.today-hadith:before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    /* background: url('{{ asset('front/assets/img/shape/arabic-pattern.png') }}'); */
    opacity: 0.1;
}

.hadith-text {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.hadith-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hadith-meta span {
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 14px;
}

.hadith-verdict {
    background: rgba(255,255,255,0.15);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.chain-check-form {
    background: var(--white-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.chain-check-form .form-control {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 20px;
    font-size: 16px;
    min-height: 150px;
    resize: vertical;
}

.chain-check-form .form-control:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px rgba(62, 102, 243, 0.1);
}

.supporter-logo {
    background: var(--white-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.supporter-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.supporter-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.supporter-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.counter-item {
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .hadith-text {
        font-size: 20px;
    }
    
    .today-hadith {
        padding: 30px 20px;
    }
    
    .chain-check-form {
        padding: 30px 20px;
    }
}
/* تنسيقات قسم فحص الأسانيد */
.chain-check-form {
    background: var(--white-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.narrator-row {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    position: relative;
    transition: all 0.3s ease;
}

.narrator-row:hover {
    border-color: var(--theme-color);
}

.narrator-row:not(:first-child) {
    margin-top: 15px;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--title-color);
}

.form-select {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 0.2rem rgba(62, 102, 243, 0.25);
}

#add-narrator-btn {
    padding: 12px 25px;
}

#check-chain-btn {
    padding: 12px 40px;
    font-size: 16px;
}

/* تصنيف */
.category-tab-btn {
    background: #f8f9fa !important;
    border: 2px solid transparent !important;
    color: #1a1a1a !important;
    margin: 0 10px;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-weight: 600;
    transition: all 0.3s ease;
}
.category-tab-btn.active {
    background: var(--theme-color, #c5a059) !important; /* لون موقعك الذهبي/البني */
    color: white !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.category-card {
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    padding: 30px;
    text-align: center;
    background: #fff;
}
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

/* حديث اليوم */
.today-hadith-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    border: 1px solid #e0e0e0;
    overflow: hidden; /* لمنع خروج الختم عن حدود الكارت */
}

/* تصميم الختم في الطرف */
.verdict-stamp {
    position: absolute;
    top: 20px;
    left: 20px; /* في الطرف الأيسر */
    width: 100px;
    height: 100px;
    border: 4px double var(--stamp-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-15deg); /* ميلان الختم */
    opacity: 0.8;
    color: var(--stamp-color);
    font-family: 'Cairo', sans-serif;
    z-index: 5;
}

.stamp-inner {
    text-align: center;
    line-height: 1;
}

.v-text {
    display: block;
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.v-grade {
    font-size: 0.7rem;
    font-weight: bold;
}

.hadith-text-main {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #2c3e50;
    font-family: 'Amiri', serif; /* خط عربي أصيل */
    text-align: center;
    margin-bottom: 30px;
}

.isnad-path {
    background: #f8f9fa;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    direction: rtl;
}

.category-tag, .type-tag {
    font-size: 0.85rem;
    margin-left: 15px;
    color: #888;
}


