:root {
    --primary: #1a3a5c;
    --primary-dark: #0f2744;
    --accent: #e8a838;
    --success: #10b981;
    --danger: #ef4444;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --radius: 12px;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--gray-100); color: var(--gray-700); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- HEADER --- */
.main-header { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-lg); }
.header-content { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo-wrapper { display: flex; align-items: center; gap: 15px; }
.logo-container { width: 50px; height: 50px; background: var(--white); border-radius: 10px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); overflow: hidden; }
.logo-container img { width: 100%; height: 100%; object-fit: cover; }
.logo-placeholder { background: var(--primary); color: var(--white); width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; }
.brand-text { display: flex; flex-direction: column; }
.brand-title { color: var(--white); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.brand-subtitle { color: var(--accent); font-size: 0.8rem; font-weight: 500; margin-top: 2px; }

.header-nav { display: flex; align-items: center; gap: 20px; }
.nav-link { color: rgba(255,255,255,0.8); font-weight: 500; transition: color 0.3s; }
.nav-link:hover { color: var(--white); }
.btn-admin { background: var(--accent); color: var(--primary-dark); padding: 10px 20px; border-radius: 8px; font-weight: 600; display: flex; align-items: center; gap: 8px; transition: transform 0.2s; }
.btn-admin:hover { transform: translateY(-2px); }

/* --- HERO & HEDEF ÇUBUĞU --- */
.hero-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 60px 0; color: var(--white); text-align: center; }
.hero-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.hero-subtitle { font-size: 1.1rem; opacity: 0.9; max-width: 600px; margin: 0 auto 40px; }

.campaign-card { background: var(--white); border-radius: 20px; padding: 30px; box-shadow: var(--shadow-lg); color: var(--gray-700); text-align: left; max-width: 900px; margin: 0 auto; }
.campaign-header { display: flex; justify-content: space-between; margin-bottom: 20px; border-bottom: 1px solid var(--gray-200); padding-bottom: 20px; }
.campaign-stat { flex: 1; }
.campaign-stat .label { display: block; font-size: 0.85rem; color: var(--gray-500); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.campaign-stat .value { font-size: 1.5rem; font-weight: 800; color: var(--primary-dark); }
.campaign-stat .value.success { color: var(--success); }
.campaign-stat .value.danger { color: var(--gray-700); }
.text-center { text-align: center; }
.text-right { text-align: right; }

.progress-wrapper { margin: 20px 0; }
.progress-bar { height: 30px; background: var(--gray-200); border-radius: 15px; overflow: hidden; position: relative; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--success), #34d399); border-radius: 15px; display: flex; align-items: center; justify-content: flex-end; padding-right: 15px; transition: width 1.5s ease-in-out; min-width: 60px; position: relative; }
.progress-text { color: var(--white); font-weight: 700; font-size: 0.9rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.2); position: absolute; right: 15px; }
.progress-fill::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%); animation: shimmer 2s infinite; }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.campaign-footer { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.donor-count { font-weight: 500; color: var(--gray-500); display: flex; align-items: center; gap: 8px; }

/* --- LİST SECTION --- */
.main-content { padding: 40px 0; }
.section-card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.section-header { padding: 20px 30px; border-bottom: 1px solid var(--gray-200); display: flex; justify-content: space-between; align-items: center; background: var(--gray-50); }
.section-title { font-size: 1.2rem; font-weight: 700; color: var(--primary-dark); display: flex; align-items: center; gap: 10px; }
.badge-count { background: var(--primary); color: var(--white); padding: 5px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }

/* --- FİLTRE BÖLÜMÜ --- */
.filter-section { padding: 20px 30px; background: var(--white); border-bottom: 1px solid var(--gray-200); }
.filter-form { display: flex; flex-wrap: wrap; gap: 15px; align-items: flex-end; }
.form-group { flex: 1; min-width: 150px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-500); margin-bottom: 6px; }
.form-group input, .form-group select { width: 100%; padding: 10px 15px; border: 2px solid var(--gray-200); border-radius: 8px; font-size: 0.95rem; transition: border-color 0.3s; background: var(--white); }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary); }
.form-group.buttons { flex: 0 0 auto; display: flex; gap: 10px; min-width: auto; }
.btn-filter { background: var(--primary); color: var(--white); border: none; padding: 10px 20px; border-radius: 8px; cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 5px; transition: background 0.3s; }
.btn-filter:hover { background: var(--primary-dark); }
.btn-clear { background: var(--gray-200); color: var(--gray-700); padding: 10px 15px; border-radius: 8px; font-weight: 600; display: flex; align-items: center; transition: background 0.3s; }
.btn-clear:hover { background: var(--gray-300); }

/* --- TABLO --- */
.table-container { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.data-table th { background: var(--primary); color: var(--white); padding: 15px 20px; text-align: left; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.data-table td { padding: 18px 20px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.data-table tbody tr:hover { background: var(--gray-50); }
.data-table tbody tr:last-child td { border-bottom: none; }

.donor-cell { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.name { font-weight: 600; color: var(--gray-700); }
.amount { background: rgba(16, 185, 129, 0.1); color: var(--success); padding: 6px 12px; border-radius: 6px; font-weight: 700; font-size: 0.9rem; display: inline-block; }
.date { color: var(--gray-500); font-size: 0.9rem; display: flex; align-items: center; gap: 5px; }

.no-data { text-align: center; padding: 60px; color: var(--gray-400); }
.no-data i { font-size: 3rem; margin-bottom: 15px; display: block; }

/* --- SAYFALAMA --- */
.pagination-section { padding: 20px 30px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--gray-200); background: var(--gray-50); font-size: 0.9rem; color: var(--gray-500); }
.pagination { display: flex; gap: 5px; }
.page-btn { padding: 8px 14px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 6px; color: var(--gray-600); font-weight: 500; transition: all 0.2s; display: flex; align-items: center; }
.page-btn:hover, .page-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* --- FOOTER --- */
.main-footer { background: var(--primary-dark); color: var(--white); padding: 60px 0 30px; margin-top: 50px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--accent); }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.8; }
.footer-links h4 { font-size: 1rem; margin-bottom: 20px; color: var(--white); }
.footer-links ul li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); transition: color 0.3s; display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* --- RESPONSIVE (MOBİL) --- */
@media (max-width: 768px) {
    .header-content { flex-direction: column; height: auto; padding: 15px 0; gap: 15px; text-align: center; }
    .header-nav { width: 100%; justify-content: center; }
    
    .hero-section { padding: 40px 0; }
    .hero-title { font-size: 1.8rem; }
    
    .campaign-card { padding: 20px; }
    .campaign-header { flex-direction: column; gap: 15px; text-align: center; }
    .campaign-stat { text-align: center !important; }
    .campaign-stat .value { font-size: 1.2rem; }
    
    .filter-form { flex-direction: column; }
    .form-group { width: 100%; }
    
    .section-header { flex-direction: column; gap: 10px; align-items: flex-start; }
    
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .pagination-section { flex-direction: column; gap: 15px; }
}