/* Custom styles for Church Membership System */

/* General styles */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Card styles */
.card {
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-weight: 500;
}

/* Form styles */
.form-label {
    font-weight: 500;
}

/* Table styles */
.table th {
    background-color: #f8f9fa;
}

/* Status badges */
.badge {
    padding: 6px 10px;
    font-weight: normal;
}

/* RTL specific styles */
html[dir="rtl"] .me-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}

html[dir="rtl"] .me-1, 
html[dir="rtl"] .me-2, 
html[dir="rtl"] .me-3, 
html[dir="rtl"] .me-4, 
html[dir="rtl"] .me-5 {
    margin-right: 0 !important;
    margin-left: 0.25rem !important;
}

html[dir="rtl"] .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

html[dir="rtl"] .ms-1, 
html[dir="rtl"] .ms-2, 
html[dir="rtl"] .ms-3, 
html[dir="rtl"] .ms-4, 
html[dir="rtl"] .ms-5 {
    margin-left: 0 !important;
    margin-right: 0.25rem !important;
}

/* Dashboard cards */
.dashboard-card {
    transition: transform 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

/* Stats cards */
.stats-card {
    text-align: center;
    padding: 20px;
}

.stats-card .number {
    font-size: 2.5rem;
    font-weight: 600;
    color: #007bff;
}

.stats-card .label {
    color: #6c757d;
    font-size: 1rem;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    .card {
        border: none;
        box-shadow: none;
    }
    
    .card-header {
        background-color: white !important;
        border-bottom: 1px solid #000;
    }
    
    body {
        background-color: white;
    }
}
