/* Personel İzin ekranları (lv-). */
.lv-page { --lv-accent: #1f66b3; --lv-border: #e0e4e8; --lv-muted: #6f7983; min-width: 0; max-width: 1360px; margin: 0 auto; color: #202830; }
.lv-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.lv-header span { color: var(--lv-accent); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.lv-header h1 { margin: 3px 0; font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.lv-header p { margin: 0; color: var(--lv-muted); font-size: .8rem; }
.lv-panel { min-width: 0; padding: 16px; border: 1px solid var(--lv-border); border-radius: 12px; background: #fff; margin-bottom: 14px; }
.lv-panel h2 { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; font-size: .92rem; }
.lv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.lv-field { display: grid; gap: 5px; min-width: 0; }
.lv-field label, .lv-field > span { color: #59636d; font-size: .72rem; font-weight: 750; }
.lv-field input, .lv-field select, .lv-field textarea { width: 100%; min-height: 36px; padding: 7px 9px; border: 1px solid #d6dce1; border-radius: 7px; background: #fff; font-size: .8rem; color: #202830; }
.lv-field textarea { resize: vertical; }
.lv-check { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; color: #3b444d; }
.lv-field .lv-check input, .lv-check input { width: auto; min-height: 0; padding: 0; }
.lv-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.lv-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 13px; border: 1px solid #d6dce1; border-radius: 7px; background: #fff; color: #2b333b; font-size: .76rem; font-weight: 800; cursor: pointer; }
.lv-btn:hover:not(:disabled) { background: #f4f6f8; }
.lv-btn.is-primary { border-color: var(--lv-accent); background: var(--lv-accent); color: #fff; }
.lv-btn.is-primary:hover:not(:disabled) { background: #1a5799; }
.lv-btn.is-danger { border-color: #ae3d2a; background: #ae3d2a; color: #fff; }
.lv-btn.is-small { min-height: 30px; padding: 0 9px; font-size: .7rem; }
.lv-btn:disabled { opacity: .55; cursor: not-allowed; }
.lv-alert { margin-bottom: 12px; padding: 10px 12px; border-radius: 8px; font-size: .78rem; }
.lv-alert.is-error { border: 1px solid #efc3ba; color: #8b321f; background: #fff1ee; }
.lv-alert.is-warning { border: 1px solid #f0d58a; color: #7a5208; background: #fff8e1; }
.lv-alert.is-info { border: 1px solid #c4dbf2; color: #1f4f7f; background: #eef6fd; }
.lv-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 14px; }
.lv-stat { padding: 14px; border: 1px solid var(--lv-border); border-radius: 12px; background: #fff; }
.lv-stat span { display: block; color: var(--lv-muted); font-size: .7rem; font-weight: 750; }
.lv-stat strong { display: block; margin-top: 4px; font-size: 1.45rem; }
.lv-stat.is-accent strong { color: var(--lv-accent); }
.lv-table-wrap { overflow-x: auto; }
.lv-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .76rem; }
.lv-table th { padding: 8px; border-bottom: 1px solid #d9dfe4; color: #59636d; font-size: .68rem; text-align: left; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.lv-table td { padding: 8px; border-bottom: 1px solid #eef1f3; vertical-align: top; }
.lv-table td small { display: block; color: var(--lv-muted); font-size: .68rem; }
.lv-table .num { text-align: right; white-space: nowrap; }
.lv-table tr.is-selected td { background: #f2f7fd; }
.lv-table tr.is-clickable { cursor: pointer; }
.lv-table tr.is-clickable:hover td { background: #f7f9fb; }
.lv-chip { display: inline-flex; padding: 3px 8px; border-radius: 999px; font-size: .66rem; font-weight: 800; white-space: nowrap; }
.lv-chip.is-pending { color: #80510b; background: #fff1c9; }
.lv-chip.is-approved { color: #17673b; background: #dff5e8; }
.lv-chip.is-rejected { color: #8e3022; background: #fde3dd; }
.lv-chip.is-cancelled { color: #59636d; background: #eef1f3; }
.lv-empty { padding: 26px; text-align: center; color: var(--lv-muted); font-size: .8rem; }
.lv-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr); gap: 14px; align-items: start; }
.lv-calendar { display: grid; grid-template-columns: minmax(170px, 220px) repeat(var(--lv-days), minmax(24px, 1fr)); font-size: .68rem; }
.lv-calendar > div { min-height: 30px; padding: 4px; border-bottom: 1px solid #eef1f3; border-right: 1px solid #f3f5f7; display: flex; align-items: center; justify-content: center; }
.lv-calendar .is-name { justify-content: flex-start; font-weight: 700; position: sticky; left: 0; background: #fff; z-index: 1; }
.lv-calendar .is-head { font-weight: 800; color: #59636d; flex-direction: column; gap: 1px; }
.lv-calendar .is-off { background: #f4f5f7; }
.lv-calendar .is-holiday { background: #fdeee9; }
.lv-calendar .lv-cell-approved { background: #49a36f; color: #fff; font-weight: 800; }
.lv-calendar .lv-cell-pending { background: repeating-linear-gradient(45deg, #f3c34d, #f3c34d 4px, #f7d77f 4px, #f7d77f 8px); color: #5d3d05; font-weight: 800; }
.lv-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: .7rem; color: var(--lv-muted); }
.lv-legend i { display: inline-block; width: 12px; height: 12px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; }
.lv-modal-backdrop { position: fixed; inset: 0; z-index: 1050; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 32, .45); }
.lv-modal { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 18px; border-radius: 12px; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.lv-modal h3 { margin: 0 0 12px; font-size: 1rem; }
.lv-page :where(a, button, input, select, textarea):focus-visible { outline: 3px solid #1f66b3; outline-offset: 2px; }
@media (max-width: 900px) { .lv-split { grid-template-columns: 1fr; } }
