@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-soft: #fff7ed;
    --accent: #0f172a;
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #facc15;
    --info: #0ea5e9;

    --text-strong: #0f172a;
    --text-body: #334155;
    --text-muted: #94a3b8;

    --bg-page: #eef2ff;
    --bg-card: #ffffff;
    --bg-soft: #f8fafc;

    --border: rgba(15, 23, 42, 0.08);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 26px;

    --shadow-sm: 0 4px 18px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 20px 60px rgba(15, 23, 42, 0.12);
    --transition: 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top, rgba(249, 115, 22, 0.18), transparent 45%),
                radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.12), transparent 40%),
                var(--bg-page);
    color: var(--text-body);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- App Shell ---------- */
.app-body {
    min-height: 100vh;
    padding: 32px;
}

.app-shell {
    min-height: calc(100vh - 64px);
    display: flex;
    gap: 32px;
}

.sidebar {
    width: 280px;
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 55%, #0b1120 100%);
    border-radius: 32px;
    padding: 36px 26px;
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.45);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.brand-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.35);
}

.brand-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.sidebar-brand h2 {
    font-size: 1.25rem;
    margin-top: 4px;
}

.sidebar-nav .nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-nav .nav-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
}

.sidebar-nav .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.sidebar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.sidebar-signature {
    display: inline-block;
}

.main-area {
    flex: 1;
    background: rgba(255, 255, 255, 0.78);
    border-radius: 32px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
}

.topbar {
    padding: 32px 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.topbar-title h1 {
    font-size: 1.8rem;
    color: var(--text-strong);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.brand-tagline {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.12);
    color: var(--primary-dark);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-sm);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.18);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.btn-logout {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-logout:hover {
    transform: translateY(-1px);
}

/* ---------- Sections & Cards ---------- */
.main {
    padding: 24px 40px 40px;
    flex: 1;
}

.page-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.section {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.section[hidden] {
    display: none !important;
}

.section-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.grid {
    display: grid;
    gap: 18px;
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stat-value {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--text-strong);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 6px;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge.high { background: rgba(244, 63, 94, 0.18); color: #be123c; }
.badge.medium { background: rgba(250, 204, 21, 0.18); color: #a16207; }
.badge.low { background: rgba(34, 197, 94, 0.18); color: #15803d; }
.badge.neutral { background: rgba(15, 23, 42, 0.08); color: var(--text-body); }

.status-badge {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn.primary {
    padding: 12px 18px;
    background: linear-gradient(120deg, var(--primary-dark), var(--primary));
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn.primary:hover {
    transform: translateY(-1px);
}

.btn.outline {
    padding: 10px 16px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-body);
}

.btn.outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn.ghost {
    padding: 10px 16px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary-dark);
}

.btn.danger {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

.btn.sm {
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: 999px;
}

.btn.full {
    width: 100%;
    justify-content: center;
}

/* ---------- Filters ---------- */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px;
    margin-bottom: 24px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border);
    border-radius: 22px;
}

.filters input,
.filters select {
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    transition: var(--transition);
}

.filters input:focus,
.filters select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.search-input {
    flex: 1;
    min-width: 220px;
}

/* ---------- Tables ---------- */
.table-container {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow-x: auto;
    background: #fff;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 16px 18px;
    text-align: left;
    font-size: 0.95rem;
}

.data-table th {
    background: var(--bg-soft);
    color: var(--text-muted);
    font-weight: 600;
}

.data-table tr + tr {
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.data-table tbody tr:hover {
    background: rgba(249, 115, 22, 0.04);
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cell-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ---------- Timeline ---------- */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
    margin-top: 4px;
}

.timeline-content {
    background: rgba(249, 115, 22, 0.08);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    flex: 1;
}

.calendar-container {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

#calendar {
    min-height: 620px;
}

/* ---------- Cards & Grids ---------- */
.meetings-grid,
.employees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.meeting-card,
.employee-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meeting-card .card-header,
.employee-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.card-meta strong {
    color: var(--text-body);
    font-weight: 600;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.chart-placeholder {
    height: 220px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    color: var(--text-muted);
    background: var(--bg-soft);
}

/* ---------- Pagination ---------- */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
}

.page-numbers {
    display: flex;
    gap: 8px;
}

.page-number {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    cursor: pointer;
}

.page-number.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ---------- Modals & Forms ---------- */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 100;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 24px;
    width: min(640px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 20px 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.modal-footer {
    padding: 20px 28px 28px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: var(--bg-soft);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.modal-close {
    border: none;
    background: rgba(241, 245, 249, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.form-sheet {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-section {
    background: rgba(15, 23, 42, 0.03);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-section-title {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

.form-row {
    display: grid;
    gap: 16px;
}

.form-row.two {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-weight: 600;
    color: var(--text-body);
}

.input-group input,
.input-group select,
.input-group textarea {
    padding: 12px 14px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
}

.input-group textarea {
    min-height: 90px;
    resize: vertical;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
}

/* ---------- History List ---------- */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-item {
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.history-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.history-meta .history-date {
    color: var(--danger);
    font-weight: 600;
}

.history-divider {
    height: 1px;
    background: rgba(15, 23, 42, 0.1);
    margin: 10px 0;
}

.history-title {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    margin-bottom: 8px;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.history-notes {
    font-size: 0.9rem;
    color: var(--text-body);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .app-shell {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }

    .sidebar-nav .nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .app-body {
        padding: 20px;
    }

    .sidebar {
        flex-direction: column;
        align-items: flex-start;
    }

    .filters {
        flex-direction: column;
    }

    .pagination-container {
        flex-direction: column;
        align-items: flex-start;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-soft: #fff1e6;
    --accent: #0f172a;
    --success: #22c55e;
    --danger: #f43f5e;
    --warning: #facc15;
    --info: #0ea5e9;

    --text-strong: #0f172a;
    --text-body: #334155;
    --text-muted: #94a3b8;

    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-soft: #f1f5f9;

    --border: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);

    --transition: 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top left, #fff5eb 0%, #f8faff 45%, #f1f5f9 100%);
    color: var(--text-body);
    line-height: 1.6;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 28px;
}

.app-shell {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
}

.app-main {
    flex: 1;
    padding: 32px 32px 48px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ---------- App Shell ---------- */
.app-body {
    min-height: 100vh;
    background: radial-gradient(circle at top, rgba(249, 115, 22, 0.18), transparent 45%),
                radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.12), transparent 40%),
                #eef2ff;
}

.app-shell {
    min-height: 100vh;
    display: flex;
    gap: 32px;
    padding: 32px;
}

.sidebar {
    width: 280px;
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 45%, #0f172a 100%);
    border-radius: 32px;
    padding: 32px 24px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.4);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: grid;
    place-items: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: var(--shadow-md);
}

.brand-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.sidebar-brand h2 {
    font-size: 1.2rem;
    margin-top: 4px;
}

.sidebar-nav .nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.nav-link i {
    font-size: 1rem;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 24px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.sidebar-signature {
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
}

.main-area {
    flex: 1;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 32px;
    backdrop-filter: blur(12px);
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.15);
    display: flex;
    flex-direction: column;
}

.topbar {
    padding: 32px 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-title h1 {
    font-size: 1.8rem;
    color: var(--text-strong);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.brand-tagline {
    display: inline-block;
    margin-top: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.12);
    color: var(--primary-dark);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--shadow-sm);
}

.user-badge span {
    font-weight: 600;
    color: var(--text-strong);
}

.btn-logout {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-logout:hover {
    transform: translateY(-1px);
}

/* ---------- Sections ---------- */
.main {
    padding: 24px 40px 40px;
    flex: 1;
}

.page-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.section {
    display: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.section.active {
    display: block;
    animation: fadeIn 0.35s ease;
}

.section[hidden] {
    display: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-strong);
}

.section-header p {
    color: var(--text-muted);
}

/* ---------- Card & Grid ---------- */
.grid {
    display: grid;
    gap: 20px;
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-strong);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ---------- Filters ---------- */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding: 18px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 22px;
}

.filters input,
.filters select {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 12px 16px;
    font-size: 0.95rem;
    background: #fff;
    transition: var(--transition);
}

.filters input:focus,
.filters select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
    outline: none;
}

.search-input {
    flex: 1;
    min-width: 220px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn.primary {
    background: linear-gradient(120deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 12px 18px;
    box-shadow: var(--shadow-md);
}

.btn.primary:hover {
    transform: translateY(-1px);
}

.btn.outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-body);
    padding: 10px 16px;
}

.btn.ghost {
    background: rgba(249, 115, 22, 0.12);
    color: var(--primary-dark);
    padding: 8px 14px;
}

.btn.danger {
    background: rgba(244, 63, 94, 0.15);
    color: #b91c1c;
    border: 1px solid rgba(244, 63, 94, 0.3);
}

.btn.danger:hover {
    background: rgba(244, 63, 94, 0.22);
}

.btn.sm {
    padding: 8px 12px;
    font-size: 0.85rem;
}

.btn.full {
    width: 100%;
    justify-content: center;
}

/* ---------- Table ---------- */
.table-container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: var(--shadow-sm);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: var(--bg-soft);
}

.data-table th,
.data-table td {
    padding: 16px 18px;
    text-align: left;
    font-size: 0.95rem;
}

.data-table th {
    color: var(--text-muted);
    font-weight: 600;
}

.data-table tr + tr {
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.data-table tbody tr:hover {
    background: rgba(249, 115, 22, 0.04);
}

.table-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.cell-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.18);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.toolbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ---------- Badges ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.high { background: rgba(244, 63, 94, 0.15); color: #be123c; }
.badge.medium { background: rgba(250, 204, 21, 0.18); color: #a16207; }
.badge.low { background: rgba(34, 197, 94, 0.18); color: #15803d; }
.badge.neutral { background: rgba(15, 23, 42, 0.08); color: var(--text-body); }

.status-badge {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-olumlu,
.status-active { background: rgba(34, 197, 94, 0.18); color: #15803d; }
.status-olumsuz,
.status-inactive { background: rgba(244, 63, 94, 0.15); color: #be123c; }
.status-beklemede { background: rgba(250, 204, 21, 0.18); color: #a16207; }
.status-randevu-alındı { background: rgba(14, 165, 233, 0.15); color: #0369a1; }

/* ---------- Pagination ---------- */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px;
    margin-top: 18px;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--radius-lg);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-number {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--text-muted);
}

.page-number.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ---------- Meetings / Cards ---------- */
.meetings-grid,
.employees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.meeting-card,
.employee-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-strong);
}

.card-meta {
    display: grid;
    gap: 6px;
    font-size: 0.92rem;
    color: var(--text-body);
}

.card-meta strong {
    color: var(--text-muted);
    font-weight: 600;
}

/* ---------- Calendar & Reports ---------- */
.calendar-container,
.reports-grid {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--shadow-sm);
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}

.chart-placeholder {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
}

/* ---------- Loading ---------- */
.loading {
    text-align: center;
    padding: 32px;
    color: var(--text-muted);
}

.detail-block {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-block .meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    font-size: 0.92rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 12px;
    }

    .filters {
        flex-direction: column;
    }

    .nav-link span {
        display: none;
    }

    .pagination-container {
        flex-direction: column;
        align-items: flex-start;
    }
}
/**
 * Main Stylesheet
 * Ana stil dosyası - Modern, responsive tasarım
 */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --secondary-color: #764ba2;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    
    --text-primary: #333;
    --text-secondary: #666;
    --text-muted: #999;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    
    --border-color: #dee2e6;
    --border-radius: 8px;
    --box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    --box-shadow-lg: 0 4px 12px rgba(0,0,0,0.15);
    
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Header ===== */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: var(--spacing-md) 0;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.logo i {
    font-size: 2rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.btn-logout {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== Navigation ===== */
.nav {
    background: white;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    overflow-x: auto;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

.nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 600;
}

.nav-link i {
    font-size: 1.1rem;
}

/* ===== Main Content ===== */
.main {
    padding: var(--spacing-xl) 0;
    min-height: calc(100vh - 200px);
}

.section {
    display: none;
}

.section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== Stats Grid ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.stat-card {
    background: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.stat-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== Recent Activities ===== */
.recent-activities {
    background: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--box-shadow);
}

.recent-activities h3 {
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.activity-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.activity-time {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Filters ===== */
.filters {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.filter-input,
.filter-select {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    transition: var(--transition);
    min-width: 150px;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ===== Tables ===== */
.table-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

.data-table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.data-table tr:hover {
    background: var(--bg-secondary);
}

/* ===== Cards Grid ===== */
.meetings-grid,
.employees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.meeting-card,
.employee-card {
    background: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.meeting-card:hover,
.employee-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-lg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.card-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.card-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* ===== Status Badges ===== */
.status-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge.status-active,
.status-badge.status-olumlu {
    background: #d4edda;
    color: #155724;
}

.status-badge.status-inactive,
.status-badge.status-olumsuz {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.status-pending,
.status-badge.status-beklemede {
    background: #fff3cd;
    color: #856404;
}

/* ===== Pagination ===== */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.page-numbers {
    display: flex;
    gap: var(--spacing-xs);
}

.page-number {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    min-width: 40px;
    text-align: center;
}

.page-number:hover:not(.disabled):not(.active) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-number.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-number.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Calendar ===== */
.calendar-container {
    background: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--box-shadow);
}

#calendar {
    min-height: 600px;
}

/* ===== Reports ===== */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.report-card {
    background: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--box-shadow);
}

.report-card h3 {
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.chart-container {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Loading ===== */
.loading {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-muted);
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.admin-only {
    display: block;
}

.is-hidden {
    display: none !important;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-link span {
        display: none;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .filters {
        flex-direction: column;
    }
    
    .filter-input,
    .filter-select {
        width: 100%;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    .meetings-grid,
    .employees-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
}

