/* Volunteer Projects Page Styles */

/* Stat Cards */
.stat-card {
    background: var(--theme-surface-1, var(--theme-bg-primary));
    border: 1px solid var(--theme-border-color);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--theme-shadow-sm);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--theme-shadow-md);
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.8;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--theme-text-primary);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label {
    color: var(--theme-text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* Project Cards */
.project-card-inner {
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--theme-border-color);
    background: var(--theme-surface-1, var(--theme-bg-primary));
    box-shadow: var(--theme-shadow-sm);
}

.project-card-inner:hover {
    transform: translateY(-4px);
    box-shadow: var(--theme-shadow-lg);
}

.project-card-inner.has-grant {
    border-color: var(--theme-success);
    border-width: 2px;
}

.project-card-inner .card-header {
    background: var(--theme-surface-2, var(--theme-bg-secondary));
    border-bottom: 1px solid var(--theme-border-color);
    padding: 1.25rem;
}

.project-card-inner .card-title {
    color: var(--theme-text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.project-card-inner .card-footer {
    border-top: 1px solid var(--theme-border-color);
    padding: 1rem 1.25rem;
}

/* Status Badges */
.badge-status {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge-active {
    background-color: var(--theme-success);
    color: white;
}

.badge-planning {
    background-color: var(--theme-info);
    color: white;
}

.badge-completed {
    background-color: var(--theme-secondary);
    color: white;
}

.badge-cancelled {
    background-color: var(--theme-danger);
    color: white;
}

/* Grant Info */
.grant-info {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--theme-success);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: var(--theme-success);
    font-weight: 500;
}

/* Progress Section */
.progress-section {
    margin-top: 1rem;
}

.progress {
    height: 8px;
    background-color: var(--theme-surface-2, var(--theme-bg-tertiary));
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.6s ease;
}

/* Mini Stats */
.stat-mini {
    padding: 0.5rem;
}

.stat-mini .stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--theme-text-primary);
    line-height: 1;
}

.stat-mini .stat-label {
    font-size: 0.75rem;
    color: var(--theme-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-top: 0.25rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--theme-text-secondary);
}

.empty-state i {
    opacity: 0.3;
    color: var(--theme-text-muted);
}

.empty-state h3 {
    color: var(--theme-text-primary);
    margin-bottom: 0.5rem;
}

.empty-state .btn {
    margin-top: 1rem;
    font-weight: 500;
    box-shadow: var(--theme-shadow-sm);
}

.empty-state .btn:hover {
    box-shadow: var(--theme-shadow-md);
    transform: translateY(-1px);
}

/* Filter Controls */
.form-label {
    color: var(--theme-text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.form-select {
    background-color: var(--theme-surface-1, var(--theme-bg-primary));
    border: 1px solid var(--theme-border-color);
    color: var(--theme-text-primary);
    padding: 0.625rem 2.5rem 0.625rem 0.75rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23718096' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    transition: all 0.2s ease;
}

.form-select:focus {
    background-color: var(--theme-surface-1, var(--theme-bg-primary));
    border-color: var(--theme-info);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    color: var(--theme-text-primary);
}

/* Card Hover Effects */
.project-card-inner .btn {
    transition: all 0.2s ease;
}

.project-card-inner:hover .btn-theme-primary {
    transform: translateX(2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .project-card-inner .card-header {
        padding: 1rem;
    }
    
    .project-card-inner .card-body {
        padding: 1rem;
    }
}

/* Dark Mode Specific Overrides */
@media (prefers-color-scheme: dark) {
    .form-select {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23cbd5e1' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    }
    
    .stat-card:hover {
        box-shadow: var(--theme-shadow-lg);
    }
    
    .project-card-inner:hover {
        box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.6);
    }
}