/* Compiled Bootstrap with custom theme */
@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css");

/* Custom Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding-top: 20px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 10px;
    margin: 0 15px;
}

.hero-section {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 152, 219, 0.95));
    color: white;
    padding: 80px 0;
    border-radius: 20px;
    margin: 30px auto;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.hero-section .display-4 {
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.feature-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.card-header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    border-radius: 15px 15px 0 0 !important;
    padding: 20px;
    font-weight: 600;
    font-size: 1.2rem;
}

.card-body {
    padding: 30px;
}

.form-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border: 2px solid #ecf0f1;
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
    font-weight: 600;
}

.form-control, .form-select {
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(52, 152, 219, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(39, 174, 96, 0.3);
}

.signature-pad-container {
    border: 3px dashed #bdc3c7;
    border-radius: 10px;
    background: white;
    min-height: 200px;
    cursor: crosshair;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.signature-pad-container canvas {
    width: 100%;
    height: 200px;
    border-radius: 8px;
}

.signature-controls {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.table-responsive {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.table {
    margin-bottom: 0;
    border-radius: 10px;
    overflow: hidden;
}

.table th {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    border: none;
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.table td {
    padding: 15px;
    vertical-align: middle;
    border-color: #ecf0f1;
}

.badge {
    padding: 8px 16px;
    font-weight: 500;
    border-radius: 20px;
    font-size: 0.85rem;
}

.alert-custom {
    border: none;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.alert-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border-left: 5px solid #229954;
}

.alert-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-left: 5px solid #b03a2e;
}

.alert-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    border-left: 5px solid #d68910;
}

.stat-card {
    text-align: center;
    padding: 25px;
    border-radius: 15px;
    color: white;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card.total-members {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.stat-card.active-members {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.stat-card.pending-members {
    background: linear-gradient(135deg, #f39c12, #d68910);
}

.stat-card.suspended-members {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
    margin-top: 50px;
    border-radius: 20px 20px 0 0;
}

footer h5 {
    color: #3498db;
    margin-bottom: 20px;
}

footer p {
    opacity: 0.8;
}

/* Print styles */
@media print {
    .no-print, .navbar, footer, .btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        padding: 0 !important;
    }
    
    .card, .form-section, .table-responsive {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        margin: 0 !important;
    }
    
    .table th {
        background: #f8f9fa !important;
        color: #333 !important;
        -webkit-print-color-adjust: exact;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
        margin: 15px;
    }
    
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .form-section, .card-body {
        padding: 20px;
    }
    
    .table-responsive {
        padding: 10px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom checkboxes and radios */
.form-check-input:checked {
    background-color: #3498db;
    border-color: #3498db;
}

.form-check-input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

/* Contribution categories styling */
.contribution-category {
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contribution-category:hover {
    border-color: #3498db;
    background: #f8f9fa;
}

.contribution-category.selected {
    border-color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
}

/* Rules section styling */
.rules-section {
    background: #f8f9fa;
    border-left: 5px solid #e74c3c;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.rules-section ul {
    padding-left: 20px;
}

.rules-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}