/* Islamic Geometric Pattern Backgrounds */
.islamic-pattern-bg {
    background-color: #059669;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M40 0l40 40-40 40L0 40 40 0zm0 10L10 40l30 30 30-30L40 10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.islamic-pattern-light {
    background-color: #f0fdf4;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23059669' fill-opacity='0.04'%3E%3Cpath d='M30 0l30 30-30 30L0 30 30 0zm0 8L8 30l22 22 22-22L30 8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.islamic-border-top {
    border-top: 3px solid #059669;
    background-image: linear-gradient(to right, #059669 0%, #0d9488 50%, #059669 100%);
    background-size: 100% 3px;
    background-repeat: no-repeat;
    background-position: top;
}

.islamic-star {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d4a843' d='M12 2l2.4 7.2H22l-6 4.8 2.4 7.2L12 16.4l-6.4 4.8 2.4-7.2-6-4.8h7.6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* Decorative divider */
.islamic-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #059669;
}

.islamic-divider::before,
.islamic-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #059669, transparent);
}

/* Card hover effect */
.card-islamic {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.card-islamic:hover {
    border-left-color: #059669;
    box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.1), 0 4px 6px -4px rgba(5, 150, 105, 0.1);
}

/* Sidebar active state */
.sidebar-link {
    transition: all 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
    background-color: rgba(5, 150, 105, 0.1);
    border-right: 3px solid #059669;
}

/* Scrollbar styling */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f0fdf4;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 3px;
}

/* Animation for loading states */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out;
}
