:root {
  --bg: #f1f6fb;
  --bg-soft: #e6f0f8;
  --card: #ffffff;
  --line: #d4e2ef;
  --text: #102734;
  --muted: #537086;
  --primary: #0f5f84;
  --primary-2: #1783a8;
  --accent-teal: #1ea7a1;
  --accent-cyan: #2aa9d6;
  --accent-amber: #d6972a;
  --danger: #b53939;
  --ok: #1e7a4d;
  --shadow: 0 20px 45px rgba(12, 58, 84, 0.14);
  --status-planned: #1f6f9b;
  --status-completed: #2d8f4e;
  --status-cancelled: #b23a3a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(30, 167, 161, 0.16), transparent 34%),
    radial-gradient(circle at 90% 78%, rgba(42, 169, 214, 0.16), transparent 40%),
    linear-gradient(130deg, #eef4fa, #f9fbfd 40%, #eaf4fb);
  min-height: 100vh;
}

.bg-layer {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(22, 115, 159, 0.14), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(28, 144, 182, 0.18), transparent 38%),
    linear-gradient(170deg, rgba(255, 255, 255, 0), rgba(39, 119, 155, 0.04));
  pointer-events: none;
}

.hidden { display: none !important; }

.login-view {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(214, 226, 239, 0.9);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.brand {
  width: 280px;
  max-width: 100%;
  display: block;
  margin-bottom: 10px;
}

.brand.compact {
  width: 220px;
  margin-bottom: 24px;
}

h1 { margin: 0 0 10px; font-size: 30px; }
h2 { margin: 0 0 16px; font-size: 24px; }
h3 { margin: 0 0 12px; font-size: 17px; }

h2, h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: currentColor;
}

.sub { color: var(--muted); margin-bottom: 18px; }
.hint { color: var(--muted); font-size: 13px; margin-top: 12px; }
.error { color: var(--danger); min-height: 20px; margin-top: 8px; font-size: 14px; }

.stack {
  display: grid;
  gap: 8px;
}

label { font-size: 13px; color: var(--muted); }

input, select, textarea, button {
  font: inherit;
}

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"] {
  max-width: 210px;
}

textarea { min-height: 72px; resize: vertical; }

.btn {
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
}

.btn.primary {
  background: linear-gradient(130deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(19, 114, 156, 0.25);
}

.btn.ghost {
  background: linear-gradient(180deg, #f7fbff, #eaf3fb);
  color: #1a4f69;
  border: 1px solid #c9dced;
}

.btn:hover {
  filter: saturate(1.05);
}

.btn:active {
  transform: translateY(1px);
}

.app-view {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.sidebar {
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(12, 95, 132, 0.08), rgba(30, 167, 161, 0.03)),
    linear-gradient(180deg, #f8fcff, #eef5fb);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
}

.menu {
  display: grid;
  gap: 6px;
}

.menu button {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #285065;
  padding: 9px 12px;
  font-weight: 700;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
}

.menu button:hover {
  background: #edf6ff;
  border-color: #c4d9e7;
  color: #124e6a;
  transform: translateX(1px);
}

.menu button.active {
  background: linear-gradient(120deg, #dff0fb, #e8f7f4);
  border-color: #afd0e4;
  color: #0e4e69;
}

.quick-actions {
  margin-top: 10px;
  margin-bottom: 10px;
}

.logout-btn {
  width: 100%;
  text-align: left;
  font-weight: 800;
  background: #fff4f4;
  color: #8b2b2b;
  border: 1px solid #efcccc;
}

.session-box {
  display: grid;
  gap: 10px;
  padding-top: 6px;
}

#sessionInfo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  font-size: 13px;
  color: #32566a;
}

.content {
  padding: 26px;
  overflow-x: auto;
}

.tab { display: none; }
.tab.active { display: block; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(23, 92, 120, 0.08);
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan), var(--accent-teal));
  opacity: 0.65;
}

.card h4 {
  margin-top: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.kpi {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(33, 106, 139, 0.08);
}

.kpi .label { color: var(--muted); font-size: 12px; }
.kpi .value { font-size: 24px; font-weight: 800; margin-top: 5px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.row.row-end {
  justify-content: flex-end;
}

.compact-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 180px;
  gap: 6px;
  margin-bottom: 8px;
}

.compact-filters input,
.compact-filters button,
.compact-filters select {
  min-height: 36px;
  padding: 7px 10px;
  font-size: 13px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
}

#clientsTable td:first-child .btn {
  white-space: nowrap;
}

th, td {
  border-bottom: 1px solid #e6eff6;
  text-align: left;
  padding: 8px 6px;
  vertical-align: top;
}

th {
  color: #2d5c77;
  font-weight: 800;
  background: linear-gradient(180deg, #f6fbff, #edf5fc);
}

#tab-clients th[data-client-sort] {
  cursor: pointer;
  user-select: none;
}

#tab-clients th[data-client-sort]:hover {
  background: linear-gradient(180deg, #eef8ff, #e5f2fc);
}

#tab-clients th[data-client-sort].active-sort {
  color: #0f5f84;
}

.sort-indicator {
  display: inline-block;
  width: 14px;
  text-align: center;
  color: #3d7ea2;
}

tbody tr {
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

tbody tr:hover {
  background: #edf6ff;
  box-shadow: inset 0 0 0 1px #cfe2f2;
}

pre {
  background: #f5f9fd;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  min-height: 160px;
  white-space: pre-wrap;
}

.list {
  display: grid;
  gap: 8px;
}

.list-item {
  border: 1px solid var(--line);
  background: #f9fcff;
  border-radius: 10px;
  padding: 10px;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.list-item:hover {
  background: #eef7ff;
  border-color: #bcd6ea;
  box-shadow: 0 4px 12px rgba(25, 96, 130, 0.12);
}

.badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 100px;
  background: linear-gradient(120deg, #dff2ff, #e4f8f0);
  color: #195973;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #0f5f84;
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.2s;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 28, 41, 0.5);
}

.modal-card {
  position: relative;
  width: min(620px, calc(100vw - 24px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
}

#clientDashboardModal .modal-card {
  width: min(1080px, calc(100vw - 24px));
}

#clientFormModal .modal-card {
  width: min(760px, calc(100vw - 24px));
}

#clientFormModal {
  z-index: 70;
}

#deleteClientConfirmModal {
  z-index: 80;
}

#clientDashboardTabs {
  margin-bottom: 10px;
}

#clientDashboardTabs .btn.active {
  background: #dbeaf7;
  border: 1px solid #bfd5e8;
}

.client-tab {
  display: none;
  gap: 10px;
}

.client-tab.active {
  display: grid;
}

.timeline-list .timeline-item {
  border-left: 3px solid #9fc4dd;
  padding-left: 10px;
  position: relative;
}

.timeline-list .timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a789d;
}

#appointmentsSubtabs {
  margin-bottom: 10px;
}

#appointmentsSubtabs .btn.active {
  background: #dbeaf7;
  border: 1px solid #bfd5e8;
}

#settingsSubtabs {
  margin-bottom: 10px;
}

#settingsSubtabs .btn.active {
  background: #dbeaf7;
  border: 1px solid #bfd5e8;
}

.settings-subtab.active {
  display: grid;
  gap: 8px;
}

.appt-subtab table {
  margin-top: 6px;
}

#calendarSubtabs {
  margin-bottom: 10px;
}

#calendarSubtabs .btn.active {
  background: #dbeaf7;
  border: 1px solid #bfd5e8;
}

.calendar-subtab.active {
  display: block;
}

.note-editor-shell {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.rich-toolbar {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  background: #f5f9fd;
}

.rich-toolbar .btn {
  padding: 7px 10px;
}

.rich-toolbar select,
.rich-toolbar input[type="color"] {
  width: auto;
  min-height: 34px;
}

.rich-editor {
  min-height: 300px;
  padding: 12px;
  line-height: 1.55;
  outline: none;
}

.rich-editor:empty::before {
  content: attr(data-placeholder);
  color: #7f98aa;
}

.note-rich-content {
  line-height: 1.55;
}

.note-rich-content h1,
.note-rich-content h2,
.note-rich-content h3 {
  margin: 8px 0;
}

.calendar-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.calendar-board.day-view {
  grid-template-columns: 1fr;
}

.calendar-board.week-view {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.calendar-board.month-view {
  grid-template-columns: repeat(7, minmax(120px, 1fr));
}

.calendar-board.year-view {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.calendar-board.agenda-view {
  grid-template-columns: 1fr;
}

.calendar-weekday {
  font-weight: 800;
  color: #2a5d77;
  text-align: center;
  padding: 6px 4px;
  border-bottom: 1px solid #d5e6f3;
}

.calendar-day-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: #f9fcff;
  min-height: 130px;
}

.calendar-day-card.clickable-day {
  cursor: pointer;
}

.calendar-day-card.outside-month {
  opacity: 0.65;
  background: #f5f8fc;
}

.calendar-day-card.clickable-day:hover {
  border-color: #9fc4dd;
  box-shadow: 0 2px 10px rgba(42, 120, 157, 0.12);
}

.calendar-day-card h4 {
  margin: 0 0 8px;
}

.calendar-month-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f9fcff;
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}

.calendar-month-card:hover {
  border-color: #9fc4dd;
  box-shadow: 0 6px 16px rgba(42, 120, 157, 0.12);
  transform: translateY(-1px);
}

.calendar-month-title {
  font-weight: 800;
  margin-bottom: 8px;
  color: #174e67;
}

.calendar-month-kpi {
  font-size: 12px;
  color: #365e74;
  margin-bottom: 4px;
}

.calendar-event {
  border: 1px solid #d9e8f3;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  margin-bottom: 7px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.calendar-board.week-view .calendar-event {
  font-size: 12px;
  line-height: 1.2;
  padding: 6px 7px;
  margin-bottom: 5px;
}

.calendar-board.month-view .calendar-event {
  font-size: 11px;
  line-height: 1.15;
  padding: 4px 6px;
  margin-bottom: 4px;
}

.calendar-board.month-view .calendar-event div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-board.month-view .calendar-event div:nth-child(3) {
  display: none;
}

.calendar-event.status-planned {
  border-left: 4px solid var(--status-planned);
}

.calendar-event.status-completed {
  border-left: 4px solid var(--status-completed);
}

.calendar-event.status-cancelled {
  border-left: 4px solid var(--status-cancelled);
}

.calendar-event[draggable="true"] {
  cursor: grab;
}

.calendar-event[draggable="true"]:active {
  cursor: grabbing;
}

.calendar-event.dragging {
  opacity: 0.65;
}

.calendar-day-card.drop-target {
  border-color: #2a789d;
  box-shadow: 0 0 0 2px rgba(42, 120, 157, 0.2);
}

#calendarSummary,
#calendarDayDetail {
  margin-top: 8px;
}

.calendar-controls {
  gap: 6px;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: auto;
}

.calendar-controls select,
.calendar-controls input,
.calendar-controls .btn {
  min-height: 34px;
  padding: 6px 9px;
  font-size: 12px;
}

.calendar-nav-group {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.icon-btn {
  min-width: 34px;
  width: 34px;
  padding: 0;
  font-size: 12px;
  font-weight: 800;
}

.mini-btn {
  min-height: 32px;
  padding: 5px 8px;
  font-size: 11px;
}

.calendar-controls [data-tip] {
  position: relative;
}

.calendar-controls [data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  background: #1d3646;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  padding: 4px 7px;
  white-space: nowrap;
  z-index: 20;
}

.calendar-controls select,
.calendar-controls input {
  width: auto;
}

.calendar-date-range {
  display: flex;
  gap: 6px;
  align-items: center;
  flex: 0 0 auto;
}

.calendar-date-field {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#calendarFilterClientSelect {
  width: 180px;
  min-width: 160px;
}

#calendarViewMode {
  width: 110px;
  min-width: 100px;
}

.calendar-date-input {
  width: 108px;
  text-align: center;
}

.date-picker-btn {
  min-width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #c9dced;
  border-radius: 8px;
  background: #f7fbff;
  color: #1a4f69;
  cursor: pointer;
}

.hidden-date-picker {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  pointer-events: none !important;
}

/* FullCalendar - modern görünüm */
#calendarBoard .fc {
  --fc-border-color: #d8e7f3;
  --fc-daygrid-event-dot-width: 6px;
  --fc-button-bg-color: #1b5f80;
  --fc-button-border-color: #1b5f80;
  --fc-button-hover-bg-color: #134b66;
  --fc-button-hover-border-color: #134b66;
  --fc-button-active-bg-color: #103f57;
  --fc-button-active-border-color: #103f57;
}

#calendarBoard .fc .fc-toolbar-title {
  color: #123d53;
  font-weight: 800;
}

#calendarBoard .fc .fc-button {
  border-radius: 10px;
  box-shadow: none;
}

#calendarBoard .fc .fc-daygrid-day.fc-day-today,
#calendarBoard .fc .fc-timegrid-col.fc-day-today {
  background: rgba(47, 140, 176, 0.12);
}

#calendarBoard .fc .fc-daygrid-day-number,
#calendarBoard .fc .fc-col-header-cell-cushion {
  color: #234f67;
  font-weight: 700;
}

#calendarBoard.fc-active {
  display: block !important;
}

#calendarBoard.fc-active.year-view,
#calendarBoard.fc-active.month-view,
#calendarBoard.fc-active.week-view,
#calendarBoard.fc-active.day-view,
#calendarBoard.fc-active.agenda-view {
  grid-template-columns: none !important;
}

#calendarBoard .fc .fc-daygrid-day-frame {
  min-height: 90px;
}

#calendarBoard .fc-appointment-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f6f9b;
}

#calendarBoard .fc .fc-daygrid-event-harness {
  margin-top: 2px;
}

#calendarBoard .fc .is-selected-day {
  box-shadow: inset 0 0 0 2px rgba(31, 111, 155, 0.45);
  background: rgba(31, 111, 155, 0.08);
}

#calendarBoard .fc .fc-multimonth {
  gap: 10px;
}

#calendarBoard .fc .fc-multimonth-title {
  font-size: 14px;
  font-weight: 800;
}

#paymentSummary .list-item {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

#tab-payments table th,
#tab-payments table td {
  white-space: nowrap;
}

#paymentsTable .payment-action-cell {
  width: 130px;
}

.payment-action-select {
  min-width: 118px;
  max-width: 124px;
  min-height: 36px;
  padding: 7px 10px;
}

@media (max-width: 1180px) {
  .grid-2 { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  .compact-filters { grid-template-columns: 1fr 1fr; }
  .calendar-board { grid-template-columns: 1fr; }
  .calendar-board.month-view { grid-template-columns: repeat(7, minmax(110px, 1fr)); }
  .calendar-board.year-view { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
}

@media (max-width: 767px) {
  .app-view { grid-template-columns: 1fr; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .content { padding: 14px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .btn, input, select, textarea { min-height: 44px; }

  .calendar-controls {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 8px;
  }
  .calendar-controls select,
  .calendar-controls input,
  .calendar-controls .btn {
    font-size: 12px;
  }
  #calendarFilterClientSelect,
  #calendarViewMode {
    width: calc(50% - 4px);
    min-width: 0;
    flex: 1 1 calc(50% - 4px);
  }
  .calendar-date-range {
    width: 100%;
    gap: 8px;
  }
  .calendar-date-field {
    flex: 1 1 0;
  }
  .calendar-date-input {
    width: 100%;
    min-width: 0;
  }
  .calendar-nav-group {
    width: auto;
  }
  .mini-btn {
    padding: 5px 7px;
    font-size: 11px;
  }
  .calendar-board.week-view .calendar-event,
  .calendar-board.month-view .calendar-event {
    font-size: 10px;
    line-height: 1.15;
  }

  #tab-payments table th,
  #tab-payments table td {
    white-space: normal;
  }

  #tab-clients table,
  #tab-appointments table,
  #tab-payments table,
  #tab-users table,
  #tab-logs table {
    display: block;
  }
  #tab-clients thead,
  #tab-appointments thead,
  #tab-payments thead,
  #tab-users thead,
  #tab-logs thead {
    display: none;
  }
  #tab-clients tbody,
  #tab-appointments tbody,
  #tab-payments tbody,
  #tab-users tbody,
  #tab-logs tbody,
  #tab-clients tr,
  #tab-appointments tr,
  #tab-payments tr,
  #tab-users tr,
  #tab-logs tr,
  #tab-clients td,
  #tab-appointments td,
  #tab-payments td,
  #tab-users td,
  #tab-logs td {
    display: block;
    width: 100%;
  }
  #tab-clients tr,
  #tab-appointments tr,
  #tab-payments tr,
  #tab-users tr,
  #tab-logs tr {
    border: 1px solid #d7e6f2;
    border-radius: 12px;
    margin-bottom: 8px;
    padding: 8px;
    background: #fff;
  }
  #tab-clients td,
  #tab-appointments td,
  #tab-payments td,
  #tab-users td,
  #tab-logs td {
    border: 0;
    padding: 3px 2px;
  }
  #tab-clients td::before,
  #tab-appointments td::before,
  #tab-payments td::before,
  #tab-users td::before,
  #tab-logs td::before {
    font-weight: 800;
    color: #43677c;
    margin-right: 6px;
  }

  #clientsTable td:nth-child(1)::before { content: "Danışan:"; }
  #clientsTable td:nth-child(2)::before { content: "İndirim:"; }
  #clientsTable td:nth-child(3)::before { content: "Etiket:"; }
  #clientsTable td:nth-child(4)::before { content: "Telefon:"; }
  #clientsTable td:nth-child(5)::before { content: "Oluşturma:"; }

  #appointmentsPlannedTable td:nth-child(1)::before,
  #appointmentsCompletedTable td:nth-child(1)::before,
  #appointmentsCancelledTable td:nth-child(1)::before { content: "Danışan:"; }
  #appointmentsPlannedTable td:nth-child(2)::before,
  #appointmentsCompletedTable td:nth-child(2)::before,
  #appointmentsCancelledTable td:nth-child(2)::before { content: "Tarih-Saat:"; }
  #appointmentsPlannedTable td:nth-child(3)::before,
  #appointmentsCompletedTable td:nth-child(3)::before,
  #appointmentsCancelledTable td:nth-child(3)::before { content: "Ücret:"; }
  #appointmentsPlannedTable td:nth-child(4)::before,
  #appointmentsCompletedTable td:nth-child(4)::before,
  #appointmentsCancelledTable td:nth-child(4)::before { content: "İşlem:"; }

  #paymentsTable td:nth-child(1)::before { content: "Danışan:"; }
  #paymentsTable td:nth-child(2)::before { content: "Tarih-Saat:"; }
  #paymentsTable td:nth-child(3)::before { content: "Seans Ücreti:"; }
  #paymentsTable td:nth-child(4)::before { content: "Ödenen:"; }
  #paymentsTable td:nth-child(5)::before { content: "Durum:"; }
  #paymentsTable td:nth-child(6)::before { content: "Yöntem:"; }
  #paymentsTable td:nth-child(7)::before { content: "İşlem:"; }

  #usersTable td:nth-child(1)::before { content: "Kullanıcı:"; }
  #usersTable td:nth-child(2)::before { content: "Ad Soyad:"; }
  #usersTable td:nth-child(3)::before { content: "E-posta:"; }
  #usersTable td:nth-child(4)::before { content: "Telefon:"; }
  #usersTable td:nth-child(5)::before { content: "Rol:"; }
  #usersTable td:nth-child(6)::before { content: "Durum:"; }

  #logsTable td:nth-child(1)::before { content: "Zaman:"; }
  #logsTable td:nth-child(2)::before { content: "Kullanıcı:"; }
  #logsTable td:nth-child(3)::before { content: "Aksiyon:"; }
  #logsTable td:nth-child(4)::before { content: "Varlık:"; }
  #logsTable td:nth-child(5)::before { content: "IP:"; }
  #logsTable td:nth-child(6)::before { content: "Detay:"; }

  .modal-card,
  #clientDashboardModal .modal-card,
  #clientFormModal .modal-card {
    width: 100vw;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    padding: 12px;
  }
}
