/* ===========================================
   Aşı Şablonları Sayfası Stilleri
   vaccine_template.php
   =========================================== */

:root {
    --bg-body: #F5F7FB;
    --bg-card: #FFFFFF;
    --text-primary: #1A1D20;
    --text-secondary: #6B7280;
    --accent: #0d6efd;
    --border-light: #E5E7EB;
    --font-family: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);
    --radius-lg: 16px;
    --radius-md: 12px;
}

body {
    background: var(--bg-body);
    font-family: var(--font-family);
    color: var(--text-primary);
}

.topbar {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-logo {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo i {
    color: var(--accent);
}

.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 16px 60px;
}

.section-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    margin-bottom: 24px;
}

.section-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Vaccine row input */
.vac-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #f8f9ff;
    border-radius: 10px;
    margin-bottom: 8px;
    border: 1px solid #e5e7eb;
}

.vac-row .vac-name {
    flex: 1;
    font-weight: 600;
    font-size: 0.9rem;
}

.vac-row .vac-months {
    width: 90px;
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.vac-row .vac-label {
    width: 100px;
    color: var(--text-secondary);
    font-size: 0.82rem;
}

/* Template card in list */
.template-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
}

.template-card .tc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.template-card .tc-name {
    font-weight: 700;
    font-size: 1rem;
}

.template-card .tc-vaccines {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.template-card .vac-badge {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.78rem;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

#buildVaccineList {
    min-height: 40px;
}
