:root {
  --primary-950: #082f49;
  --primary-900: #0c3f5d;
  --primary-800: #075985;
  --primary-700: #0369a1;
  --primary-600: #0284c7;
  --primary-100: #e0f2fe;
  --primary-50: #f0f9ff;
  --accent-600: #0d9488;
  --ink-900: #102a3a;
  --ink-700: #334e5f;
  --ink-500: #647985;
  --surface: rgba(255, 255, 255, .94);
  --surface-muted: #f5f8fa;
  --line: #dce6eb;
  --danger: #b42318;
  --success: #087a55;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 58, .04), 0 5px 15px rgba(15, 42, 58, .05);
  --sidebar-width: 282px;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink-900);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background: #eef4f6;
}
body.app-page {
  background-image: radial-gradient(circle at 85% 10%, rgba(14, 165, 233, .12), transparent 26rem), linear-gradient(145deg, #f0f9ff, #eef4f6);
}
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(2, 132, 199, .25);
  outline-offset: 2px;
}
*::-webkit-scrollbar { width: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: #c7c7c7; }

/* Utilities */
.fullflex { flex: 1 1 100%; }
.darkred { color: var(--danger); }
.darkgreen { color: var(--success); }
.white, .white i { color: #fff; }
.red, .help-block { color: var(--danger); }
.help-block { display: block; margin: 2px 0 8px; font-size: 12px; text-align: left; }
.spacer15 { display: block; width: 100%; height: 15px; }
.sent, .notsent {
  display: flex;
  width: 100%;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: #fff;
  text-align: center;
}
.sent { background: #119c44; }
.notsent { background: #9c1124; }
.tbactive {
  display: flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 2px 5px;
  color: var(--success);
  font-size: 12px;
  background: #fff;
  border-radius: 50%;
}
center h2, center h3, center p { margin: 5px; }
h3 .darkred { font-size: 15px; }
#icon { width: 60%; }

/* Sidebar and application layout */
.sidebar {
  position: fixed;
  z-index: 50;
  display: flex;
  width: var(--sidebar-width);
  height: 100dvh;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #dceaf0;
  background: linear-gradient(180deg, var(--primary-950), #0b3d50 58%, #092f3e);
  border-right: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 16px 0 45px rgba(8, 47, 73, .12);
}
#sidebarLogo {
  display: flex;
  width: 100%;
  height: 82px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
#sidebarlink { display: flex; min-width: 0; align-items: center; color: #fff; text-decoration: none; }
#sidebarlink span { display: flex; flex-direction: column; line-height: 1.15; letter-spacing: .05em; }
#sidebarlink strong { font-size: 15px; }
#sidebarlink small { margin-top: 4px; color: #8dd8ef; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.logoIcon { width: 42px; height: 42px; margin-right: 12px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .2)); }
.hidemenu { display: flex; min-height: 0; height: 100%; flex-direction: column; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.nav-links { padding: 12px 10px; }
.sidebar a, .sidebar .logout-link {
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 12px;
  margin: 2px 0;
  padding: 10px 12px;
  color: #cee0e8;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 0;
  border-radius: 11px;
  transition: color .18s, background .18s, transform .18s;
}
.sidebar a i { flex: 0 0 22px; margin: 0; color: #7fc6df; font-size: 19px; line-height: 1; }
.sidebar a:hover:not(.active) { color: #fff; background: rgba(255, 255, 255, .09); transform: translateX(2px); }
.sidebar a.active { color: #fff; background: linear-gradient(135deg, rgba(14, 165, 233, .92), rgba(13, 148, 136, .82)); box-shadow: 0 7px 18px rgba(2, 132, 199, .22); }
.sidebar a.active i { color: #fff; }
#inmenuSelect { margin-top: auto; padding: 10px 14px 4px; }
#inmenuSelect select {
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 0 38px 0 13px;
  color: #dff5fc;
  font: inherit;
  font-size: 13px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
}
#inmenuSelect option { color: var(--ink-900); }
.sidebar .logout-link, .hidemenu a:last-child { margin: 4px 14px 14px; color: #f6c7c7; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.sidebar .logout-link i { color: #f3a7a7; }
#hammenu {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  cursor: pointer;
}
#hammenu i { margin: 0; font-size: 23px; }
div.content, main.content { width: auto; max-width: 1660px; min-height: 100vh; margin-left: var(--sidebar-width); padding: 26px clamp(18px, 3vw, 48px) 54px; }

/* Page surfaces */
.baslik {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  margin: 0 0 20px;
  padding: 12px 20px 12px 27px;
  color: var(--ink-900);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.035em;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}
.baslik::before { position: absolute; inset: 15px auto 15px 12px; width: 4px; content: ""; background: linear-gradient(var(--primary-600), var(--accent-600)); border-radius: 99px; }
.mainPageCard, .document-grid {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  padding: clamp(12px, 1.6vw, 18px);
  background: var(--surface);
  border: 1px solid rgba(218, 230, 235, .9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}
.mainPageCard:has(.customtable) { overflow-x: auto; }
.intabletitle, .SAformtitle { font-size: 20px; }
.intabletitle { margin-bottom: 10px; }

/* Documents and announcements */
.document-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 10px; }
.anndiv {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.anndiv:hover { border-color: #b9dbe8; box-shadow: 0 14px 28px rgba(15, 42, 58, .09); transform: translateY(-3px); }
.anndate { padding: 9px 12px 3px; color: var(--primary-700); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.anntitle { flex: 1; padding: 2px 12px 9px; color: var(--ink-900); font-size: 15px; font-weight: 650; line-height: 1.35; }
.anntext { margin: 0; padding: 0 10px 10px; }
.anntext::before { display: none; }
.document-title-link { display: flex; width: 100%; min-height: 38px; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 0; color: inherit; text-decoration: none; border-radius: 10px; }
.document-title-text { min-width: 0; }
.document-link-indicator { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 4px; padding: 5px 7px; color: var(--primary-700); background: var(--primary-50); border: 1px solid var(--primary-100); border-radius: 9px; transition: .18s; }
.document-link-indicator i { font-size: 15px; }
.document-link-indicator small { font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.document-title-link:hover { color: var(--primary-700); }
.document-title-link:hover .document-link-indicator { color: #fff; background: var(--primary-700); border-color: var(--primary-700); }
.anntext a, .jobdesc { display: inline-flex; min-height: 34px; align-items: center; gap: 7px; padding: 6px 10px; color: var(--primary-700); font-size: 13px; font-weight: 700; text-decoration: none; background: var(--primary-50); border: 1px solid var(--primary-100); border-radius: 10px; }
.anntext a::before { content: "\ea4a"; font-family: remixicon; font-size: 17px; }
.anntext a::after { margin-left: 2px; content: "\ea6c"; font-family: remixicon; }
.anntext a:hover, .jobdesc:hover { color: #fff; background: var(--primary-700); border-color: var(--primary-700); }

/* Meeting cards */
.general-meetings { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.meeting-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform .2s, box-shadow .2s; }
.meeting-card:hover { box-shadow: 0 15px 32px rgba(15, 42, 58, .1); transform: translateY(-2px); }
.meeting-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; color: #fff; background: linear-gradient(135deg, var(--primary-800), var(--accent-600)); }
.meeting-year { font-size: 18px; font-weight: 700; }
.meeting-date, .meeting-language, .meeting-download-text { display: flex; align-items: center; gap: 6px; }
.meeting-date { font-size: 12px; opacity: .95; }
.meeting-language { gap: 9px; font-weight: 600; }
.meeting-language-flag { font-size: 20px; line-height: 1; }
.meeting-files { display: flex; flex-direction: column; gap: 7px; padding: 10px; }
.meeting-download { display: flex; min-height: 40px; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; color: #273444; text-decoration: none; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 10px; transition: .2s; }
.meeting-download:hover { color: #fff; background: var(--primary-700); border-color: var(--primary-700); }
.meeting-download-text { font-size: 13px; white-space: nowrap; }

/* Tables */
.customtable { width: 100%; min-width: 560px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; border-radius: 14px; }
.customtable a { color: inherit; text-decoration: none; }
.customtable i { font-size: 20px; font-weight: 400; vertical-align: bottom; }
.customtable th { padding: 13px 14px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .035em; background: var(--primary-800); border: 0; border-bottom: 1px solid var(--primary-900); }
.customtable td { padding: 12px 14px; color: var(--ink-700); font-size: 15px; border: 0; border-bottom: 1px solid #e7eef1; }
.customtable td.darkred, .customtable tr.darkred td { color: var(--danger); }
.customtable td.darkgreen, .customtable tr.darkgreen td { color: var(--success); }
.customtable tr:nth-child(even) { background: #f8fafb; }
.customtable tr:hover { background: var(--primary-50); }
.customtable tr:last-child td { border-bottom: 0; }
.customtable .account-balance-row td { padding-block: 16px; font-size: 17px; background: #eef6f7; border-top: 2px solid #91c8d5; border-bottom: 0; }
.customtable .account-balance-row td:first-child { color: var(--ink-900); letter-spacing: -.015em; }
.customtable .account-balance-row.darkgreen td { background: #eaf8f3; border-top-color: #75c2a7; }
.customtable .account-balance-row.darkred td { background: #fff0ef; border-top-color: #e5a39d; }
.bankaccounts th { text-align: left; background: var(--success); border-color: var(--success); }
.ndleft1 td:nth-child(1), .ndleft2 td:nth-child(2), .ndleft3 td:nth-child(3) { text-align: left; }
.ndright2 td:nth-child(2), .ndright3 td:nth-child(3), .ndright4 td:nth-child(4), .ndright5 td:nth-child(5), .ndright6 td:nth-child(6), .ndright7 td:nth-child(7), .ndright8 td:nth-child(8), .ndright9 td:nth-child(9), .ndright10 td:nth-child(10), .ndright11 td:nth-child(11) { text-align: right; }
.account th { text-align: left; }
.account td:first-child { width: 20%; }
.account td:nth-child(2) { width: 80%; }
.feeofowner td { max-width: 10px; }
.sub_acc { font-size: 15px; font-style: italic; text-indent: 20px; }
.apt_no { width: 10px; height: 10px; margin-right: 10px; padding: 1px 5px; color: #fff; background: var(--primary-700); border: 1px solid var(--primary-700); border-radius: 5px; }

/* Forms and controls */
input[type=text], input[type=password], input[type=email], input[type=number], input[type=date], select, textarea {
  max-width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  color: var(--ink-900);
  font: inherit;
  font-size: 14px;
  background: #fff;
  border: 1px solid #cfdce2;
  border-radius: 11px;
  box-shadow: 0 1px 2px rgba(15, 42, 58, .03);
  transition: border-color .18s, box-shadow .18s;
}
input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, input[type=number]:focus, input[type=date]:focus, select:focus, textarea:focus { background: #fff; border-color: var(--primary-600); box-shadow: 0 0 0 4px rgba(2, 132, 199, .12); }
input[type=button], input[type=submit], input[type=reset], #download {
  display: inline-flex;
  width: auto;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-700), var(--accent-600));
  border: 0;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(2, 132, 199, .18);
  cursor: pointer;
}
input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover, #download:hover { background: linear-gradient(135deg, var(--primary-800), #0f766e); transform: translateY(-1px); }
input[type=button]:active, input[type=submit]:active, input[type=reset]:active { transform: scale(.97); }
#download { gap: 5px; margin-bottom: 10px; text-decoration: none; }
.form-group { display: flex; flex-direction: column; margin-top: 20px; }
.copy { display: inline-flex; margin-left: 8px; padding: 4px 8px; color: var(--success); font-size: 12px; font-weight: 700; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 7px; cursor: pointer; }
.notification { display: flex; align-items: center; gap: 10px; margin: 10px 0; padding: 10px; color: #fff; background: #ad2828; border-radius: 12px; box-shadow: var(--shadow-sm); }
.notification.soft { background: #4e87a5; }
.notification i { font-size: 20px; }
.notification div { flex-grow: 1; }
.fixed-recipient { display: flex; max-width: 520px; align-items: center; gap: 12px; padding: 13px 15px; color: var(--primary-800); background: var(--primary-50); border: 1px solid var(--primary-100); border-radius: 12px; }
.fixed-recipient > i { font-size: 24px; }
.fixed-recipient span, .fixed-recipient small, .fixed-recipient strong { display: block; }
.fixed-recipient small { margin-bottom: 2px; color: var(--ink-500); font-size: 11px; }
.fixed-recipient strong { font-size: 14px; }

/* Admin */
.admin-toolbar { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.balance-filter-form { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-700); font-weight: 700; }
.balance-filter-form select { min-height: 29px; padding: 4px 8px; color: var(--primary-700); border-color: #4e87a5; border-radius: 5px; }
.tbname { display: block; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.debt-reminder-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.debt-reminder-modal.is-open { display: block; }
.debt-reminder-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.debt-reminder-modal-panel { position: relative; width: min(760px, calc(100% - 24px)); max-height: calc(100vh - 40px); margin: 20px auto; overflow: auto; background: #f7f7f9; border: 1px solid #d5d5d5; border-radius: 6px; box-shadow: 0 18px 45px rgba(0, 0, 0, .25); }
.debt-reminder-modal-head { padding: 12px 16px; color: #fff; background: #4e87a5; border-bottom: 1px solid #ddd; }
.debt-reminder-modal-head h3 { margin: 0; font-size: 18px; }
.debt-reminder-modal-close { position: absolute; top: 8px; right: 10px; z-index: 2; width: 30px; height: 30px; padding: 0; color: var(--primary-700); font-size: 24px; line-height: 1; background: #fff; border: 0; border-radius: 5px; cursor: pointer; }
.debt-reminder-modal-body { padding: 14px; }
.debt-reminder-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.debt-reminder-summary div { min-width: 0; padding: 8px 10px; background: #fff; border: 1px solid #d7d7d7; border-radius: 5px; }
.debt-reminder-summary span { display: block; margin-bottom: 3px; color: #6f777c; font-size: 12px; }
.debt-reminder-summary b { display: block; overflow-wrap: break-word; font-size: 14px; }
.compact-title { margin: 6px 0 8px; font-size: 16px; }
.debt-mail-preview { max-height: 52vh; margin-bottom: 10px; padding: 10px; overflow: auto; background: #fff; border: 1px solid #ddd; border-radius: 5px; }
.debt-mail-preview h2 { font-size: 20px; }
.debt-reminder-form { align-items: flex-start; }
.debt-reminder-form input[type=submit] { width: auto; min-width: 120px; margin: 0; padding: 12px 16px; }

.navigation { display: flex; align-items: stretch; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.navigation li { flex: 1; text-align: center; }
.nav-link { display: block; padding: 10px 13px; color: #333; font-size: 13px; font-weight: 650; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.nav-link:hover, .nav-link.active { color: #fff; background: var(--primary-700); }
#adminnav { margin: 10px 0; }
.tabs .mainPageCard { display: none; }
.tabs #sadmin1 { display: block; }
.SAForm { display: flex; flex-direction: column; }
.SAForm .radio { display: flex; gap: 10px; font-size: 20px; }
.radio label { cursor: pointer; }
.SAForm select { width: 100%; margin-bottom: 10px; }
.SAForm textarea { width: 100%; max-width: 600px; font-size: 18px; }
.SAForm input[type=text], .SAForm input[type=password], .SAForm input[type=number] { width: 100%; }
.SAForm input[type=submit] { width: 100px; margin: 15px 5px 5px; padding: 15px 5px; }
.passwordwrapper { display: flex; width: 300px; flex-direction: column; }

/* Fee operation */
.fee-workspace-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.fee-workspace-title { display: flex; min-width: 0; align-items: center; gap: 11px; }
.fee-workspace-title > span:last-child, .fee-workspace-title strong, .fee-workspace-title small { display: block; }
.fee-workspace-title strong { font-size: 18px; letter-spacing: -.02em; }
.fee-workspace-title small { max-width: 420px; margin-top: 2px; overflow: hidden; color: var(--ink-500); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.fee-workspace-icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; color: #fff; background: var(--primary-800); border-radius: 11px; }
.fee-workspace-icon i { font-size: 20px; }
.owner-selector-form { width: min(470px, 46%); margin: 0; }
.owner-selector-form label, .fee-operation-panel .form-group > label { display: block; margin-bottom: 4px; color: var(--ink-500); font-size: 11px; font-weight: 700; }
.owner-selector-form label { letter-spacing: .05em; text-transform: uppercase; }
.owner-selector-form select { width: 100%; min-height: 42px; margin: 0; padding: 7px 36px 7px 11px; font-size: 14px; border-color: #b9cdd6; }
.superadmin-fee-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
.fee-operation-panel, .owner-statement-panel { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 4px 14px rgba(15, 42, 58, .04); }
.fee-operation-panel { padding: 13px; }
.fee-operation-panel .SAForm { display: grid; grid-template-columns: minmax(340px, 1.8fr) minmax(120px, .65fr) minmax(220px, 1.2fr) minmax(120px, .65fr) auto; align-items: end; gap: 9px; }
.fee-operation-panel .form-group { min-width: 0; margin: 0; }
.operation-type-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.operation-choice { position: relative; min-width: 0; cursor: pointer; }
.operation-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.operation-choice span { display: flex; min-height: 40px; align-items: center; justify-content: center; gap: 6px; padding: 7px 8px; color: var(--ink-700); font-size: 12px; font-weight: 650; white-space: nowrap; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 9px; transition: .16s; }
.operation-choice i { font-size: 16px; }
.operation-choice:hover span { background: var(--primary-50); border-color: #9fc2d0; }
.operation-choice input:focus-visible + span { outline: 3px solid rgba(2, 132, 199, .18); outline-offset: 2px; }
.operation-debt input:checked + span { color: #a32a21; background: #fff1f0; border-color: #f0aaa4; }
.operation-payment input:checked + span { color: #087a55; background: #ecf9f4; border-color: #8bd0b7; }
.operation-delay input:checked + span { color: #9a5b08; background: #fff8e8; border-color: #edc675; }
.fee-operation-panel #feedate, .fee-operation-panel #money, .fee-operation-panel #feenote { width: 100%; min-height: 40px; margin: 0; padding: 7px 10px; font-size: 13px; background: #fbfdfe; border-color: #bfd0d8; border-radius: 8px; }
.fee-submit-button { display: inline-flex; min-width: 92px; min-height: 40px; align-items: center; justify-content: center; gap: 5px; padding: 8px 14px; color: #fff; font: inherit; font-size: 13px; font-weight: 750; background: var(--accent-600); border: 0; border-radius: 10px; box-shadow: 0 7px 16px rgba(13, 148, 136, .18); cursor: pointer; }
.fee-submit-button:hover { background: #0f766e; transform: translateY(-1px); }
.owner-statement-panel { overflow: hidden; }
.statement-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.statement-heading > span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 750; }
.statement-heading i { color: var(--primary-700); font-size: 17px; }
.statement-heading small { padding: 4px 8px; color: var(--primary-800); font-size: 11px; font-weight: 750; background: var(--primary-50); border-radius: 7px; }
.owner-statement-table { margin: 0; overflow-x: auto; }
.owner-statement-panel .customtable { width: 100%; min-width: 0; border: 0; border-radius: 0; }
.owner-statement-panel .customtable th { padding: 9px 11px; }
.owner-statement-panel .customtable td { padding: 8px 11px; font-size: 14px; }
.owner-statement-panel .customtable .account-balance-row td { padding-block: 10px; }
.owner-statement-panel .feeofowner td { max-width: none; }
.owner-statement-panel .account :is(th, td):nth-child(1) { width: 120px; white-space: nowrap; }
.owner-statement-panel .account :is(th, td):nth-child(2) { width: auto; }
.owner-statement-panel .account :is(th, td):nth-child(3) { width: 125px; white-space: nowrap; }
.owner-statement-panel .account :is(th, td):nth-child(4) { width: 28px; padding-inline: 4px; white-space: nowrap; }
.owner-statement-panel .account :is(th, td):nth-child(5) { width: 82px; padding-right: 9px; padding-left: 6px; text-align: right; white-space: nowrap; }
.statement-delete-link { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; color: #a32a21 !important; font-size: 11px; font-weight: 700; text-decoration: none; background: #fff4f3; border: 1px solid #f5ceca; border-radius: 7px; }
.statement-delete-link:hover { color: #fff !important; background: #b42318; border-color: #b42318; }

/* Staff and embedded documents */
.staff_cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.employeecard, .employeecard.fullflex { display: flex; min-width: 0; align-items: center; flex-direction: column; padding: 16px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.employeecard img, .employeecard.manager img { width: 112px; height: 112px; margin: 0 0 10px; object-fit: cover; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--line), 0 10px 28px rgba(15, 42, 58, .14); }
.employeecard b { margin-top: 5px; color: var(--ink-500); font-size: 12px; }
.jobdescription { display: flex; flex-wrap: wrap; gap: 10px; }
.mainPageCard.pdfdiv { display: table; width: 100%; height: 100%; }
.mainPageCard.pdfdiv div:first-of-type { display: table-row; width: 100%; }
iframe.pdfloader { width: 100%; min-height: 500px; border: 0; }
.show a { display: flex; align-items: center; gap: 5px; }

/* Login */
#footeraskalanya { display: none; }
.fade-in-top { animation: fade-in-top .6s cubic-bezier(.39, .575, .565, 1) both; }
@keyframes fade-in-top {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}
body.login-page { display: grid; place-items: center; background-image: radial-gradient(circle at 75% 18%, rgba(14, 165, 233, .32), transparent 28rem), linear-gradient(135deg, #082f49, #075985); }
.wrapper { display: flex; width: 100%; align-items: center; justify-content: center; flex-direction: column; }
.login-page .wrapper { position: relative; min-height: 100vh; padding: 28px 18px; }
#formContent { position: relative; width: 90%; text-align: center; }
.login-page #formContent { max-width: 430px; padding: 34px; overflow: hidden; background: rgba(255, 255, 255, .95); border: 1px solid rgba(255, 255, 255, .7); border-radius: 24px; box-shadow: 0 30px 80px rgba(3, 32, 48, .28); backdrop-filter: blur(18px); }
.loginTitle { margin: 0 0 22px; color: var(--ink-900); font-size: 24px; font-weight: 700; letter-spacing: -.035em; }
.chooselang { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; margin-bottom: 15px; }
.chooselang a { display: grid; width: 48px; height: 40px; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: transform .18s, box-shadow .18s; }
.chooselang a:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.chooselang img { width: 26px; height: auto; border-radius: 2px; }
.login-page #formContent input[type=text], .login-page #formContent input[type=password] { width: 100%; margin: 5px 0; }
.login-page #formContent input[type=submit] { width: 100%; margin: 14px 0 0; }
.empty-state { align-items: center; padding: 70px 20px; text-align: center; }
.empty-state > i { color: var(--primary-600); font-size: 46px; }
.empty-state h2 { margin: 8px 0 0; font-size: 34px; }
.empty-state p { margin: 0; color: var(--ink-500); }

@media (min-width: 768px) {
  #footeraskalanya { position: fixed; right: 15px; bottom: 15px; display: flex; margin-top: 30px; color: #979797; font-size: 15px; }
  #footeraskalanya a { color: inherit; text-decoration: none; }
}
@media (max-width: 1150px) {
  .fee-operation-panel .SAForm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .operation-type-group { grid-column: 1 / -1; }
  .fee-submit-button { align-self: end; }
}
@media (max-width: 860px) {
  .sidebar { position: sticky; top: 0; width: 100%; height: 72px; overflow: visible; }
  #sidebarLogo { height: 72px; padding: 10px 16px; }
  .logoIcon { width: 38px; height: 38px; }
  #hammenu { display: inline-flex; margin-left: auto; }
  .hidemenu { position: fixed; inset: 72px 0 0; display: flex; visibility: hidden; height: calc(100dvh - 72px); padding-top: 6px; background: linear-gradient(180deg, var(--primary-950), #092f3e); opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .hidemenu.show { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-links { padding: 8px 12px; }
  body.menu-open { overflow: hidden; }
  div.content, main.content { width: 100%; min-height: calc(100vh - 72px); margin-left: 0; padding: 18px 14px 40px; }
  .baslik { min-height: 58px; margin-bottom: 14px; padding-left: 25px; font-size: 21px; border-radius: 14px; }
  .mainPageCard, .document-grid { padding: 14px; border-radius: 16px; }
  .document-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 768px) {
  .hide-on-mobile { display: none; }
}
@media (max-width: 700px) {
  .debt-reminder-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fee-workspace-header { align-items: stretch; flex-direction: column; }
  .owner-selector-form { width: 100%; }
  .fee-operation-panel .SAForm { grid-template-columns: 1fr; }
  .operation-type-group { grid-column: auto; }
}
@media (max-width: 560px) {
  td { overflow-wrap: break-word; white-space: normal; }
  .adminpageemail { display: none; }
  .document-grid, .general-meetings { grid-template-columns: 1fr; }
  .meeting-download { align-items: flex-start; }
  .meeting-download-text { font-size: 0; }
  .meeting-download-text i { font-size: 19px; }
  .login-page #formContent { padding: 26px 20px; border-radius: 20px; }
  .customtable { min-width: 500px; }
  .debt-reminder-summary, .operation-type-group { grid-template-columns: 1fr; }
}
