/* assets/css/style.css */

:root { 
    --primary: #0f172a; 
    --accent: #3b82f6; 
    --bg-color: #f8fafc; 
    --text-main: #1e293b; 
    --text-muted: #64748b; 
}
body { 
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; 
    background-color: var(--bg-color); 
    margin: 0; 
    padding: 0; 
    color: var(--text-main); 
}
.hero { background: var(--primary); color: white; padding: 50px 20px 40px; text-align: center; }
.hero h1 { margin: 0; font-size: 36px; font-weight: 700; letter-spacing: -0.5px;}
.hero p { font-size: 18px; color: #cbd5e1; margin-top: 15px; margin-bottom: 35px; font-weight: 300;}

/* Wyszukiwarka */
.search-main { max-width: 800px; margin: 0 auto; display: flex; gap: 10px; }
.search-main input { flex: 1; padding: 20px 25px; font-size: 18px; border: none; border-radius: 8px; outline: none; box-shadow: 0 4px 15px rgba(0,0,0,0.15);}
.search-main button { padding: 20px 45px; font-size: 18px; background: var(--accent); color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.2s; box-shadow: 0 4px 15px rgba(0,0,0,0.15);}
.search-main button:hover { background: #2563eb; transform: translateY(-1px);}
@media (max-width: 600px) { .search-main { flex-direction: column; } .search-main button { width: 100%; } }

/* Filtry */
.main-content { max-width: 1200px; margin: 30px auto 50px; padding: 0 20px; }
.filters-bar { background: white; padding: 15px 20px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 40px; display: flex; gap: 15px; align-items: center; flex-wrap: wrap; border: 1px solid #e2e8f0;}
.filters-bar-title { font-weight: 600; color: var(--text-muted); font-size: 14px; margin-right: 5px; text-transform: uppercase; letter-spacing: 0.5px;}
.filters-bar select { padding: 10px 15px; font-size: 14px; flex: 1; min-width: 160px; border: 1px solid #cbd5e1; border-radius: 6px; outline: none; background: #f8fafc; color: var(--text-main); cursor: pointer;}
.filters-bar select:hover { border-color: #94a3b8; }
.btn-filter { padding: 10px 20px; font-size: 14px; background: #e2e8f0; color: #334155; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; transition: 0.2s;}
.btn-filter:hover { background: #cbd5e1; }
.section-title { font-size: 24px; color: var(--primary); margin-bottom: 20px; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px;}

/* Siatka i Karty */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-bottom: 50px;}
.card { display: flex; align-items: center; background: white; padding: 20px; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; border: 1px solid #f1f5f9;}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); border-color: #cbd5e1;}
.card-avatar { width: 50px; height: 50px; background: #e0f2fe; color: #0369a1; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; flex-shrink: 0; margin-right: 15px;}
.card-content { flex-grow: 1; overflow: hidden;}
.card-name { font-size: 18px; font-weight: 600; color: var(--text-main); margin-bottom: 4px; display: flex; align-items: center; gap: 8px;}
.badge-partia { font-size: 11px; background: #e2e8f0; color: #475569; padding: 3px 8px; border-radius: 12px; font-weight: bold;}
.card-role, .card-location { font-size: 14px; color: var(--text-muted); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.card-stats { margin-top: 8px; font-size: 12px; font-weight: bold; color: #f59e0b; background: #fef3c7; display: inline-block; padding: 3px 8px; border-radius: 12px;}
.empty-results { text-align: center; padding: 50px; color: var(--text-muted); background: white; border-radius: 8px;}
