html,
body {
  min-height: 100%;
}

body.demo1 .kt-wrapper,
body.demo1 #content,
body.demo1 .kt-card,
body.demo1 .kt-card-content,
body.demo1 .kt-container-fixed {
  min-width: 0;
}

body.demo1 > .flex.grow,
body.demo1 .kt-wrapper,
body.demo1 #content {
  width: 100%;
  max-width: 100%;
}

body.demo1 .kt-container-fixed {
  box-sizing: border-box;
  max-width: 100%;
}

body.demo1 .grid,
body.demo1 .grid > *,
body.demo1 .kt-card-grid {
  min-width: 0;
}

body.demo1 .kt-card-grid {
  overflow: hidden;
}

.esem-page-titlebar,
.esem-page-titlebar > *,
.esem-page-actions,
.overflow-x-auto {
  min-width: 0;
}

.overflow-x-auto {
  width: 100%;
  max-width: 100%;
}

.esem-header-search {
  display: none;
}

@media (min-width: 1024px) {
  .esem-header-search {
    display: flex;
  }
}

.esem-sidebar-logo {
  width: 150px;
  max-height: 38px;
  object-fit: contain;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: #050505;
}

.esem-mini-logo,
.esem-mobile-logo {
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  color: #ffffff;
  background: #0f172a;
  font-weight: 800;
}

.esem-mobile-logo {
  display: inline-flex;
}

.esem-table-min {
  min-width: 680px;
}

.esem-progress {
  width: 100%;
  height: 0.45rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--secondary);
}

.esem-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.esem-check-row {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.625rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.esem-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.esem-stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.esem-stat-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--esem-stat-accent, #116d6e);
  content: "";
}

.esem-stat-card .kt-card-content {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem;
}

.esem-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.esem-stat-label {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

.esem-stat-value {
  color: #0f172a;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  overflow-wrap: anywhere;
}

.esem-stat-note {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
}

.esem-stat-icon {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--esem-stat-soft, rgba(17, 109, 110, 0.1));
  color: var(--esem-stat-accent, #116d6e);
  font-size: 1.15rem;
}

.esem-stat-card-primary {
  --esem-stat-accent: #116d6e;
  --esem-stat-soft: rgba(17, 109, 110, 0.11);
}

.esem-stat-card-info {
  --esem-stat-accent: #2563eb;
  --esem-stat-soft: rgba(37, 99, 235, 0.11);
}

.esem-stat-card-success {
  --esem-stat-accent: #17845b;
  --esem-stat-soft: rgba(23, 132, 91, 0.12);
}

.esem-stat-card-warning {
  --esem-stat-accent: #b86e22;
  --esem-stat-soft: rgba(184, 110, 34, 0.13);
}

.esem-stat-card-danger {
  --esem-stat-accent: #b42318;
  --esem-stat-soft: rgba(180, 35, 24, 0.11);
}

.esem-stat-card-neutral {
  --esem-stat-accent: #475467;
  --esem-stat-soft: rgba(71, 84, 103, 0.11);
}

.esem-dx-card .kt-card-content {
  padding: 0;
}

.esem-dx-card {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.esem-dx-card .kt-card-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom-color: rgba(226, 232, 240, 0.95);
}

.esem-alert {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--esem-alert-border, #dbe4ee);
  border-radius: 8px;
  background: var(--esem-alert-bg, #f8fafc);
  color: var(--esem-alert-color, #334155);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.85rem 1rem;
}

.esem-alert i {
  color: var(--esem-alert-icon, #337ab7);
  font-size: 1.1rem;
}

.esem-alert.is-success {
  --esem-alert-bg: #f0fdf8;
  --esem-alert-border: #bbf7d0;
  --esem-alert-color: #166534;
  --esem-alert-icon: #17845b;
}

.esem-alert.is-danger {
  --esem-alert-bg: #fff7f6;
  --esem-alert-border: #fecaca;
  --esem-alert-color: #991b1b;
  --esem-alert-icon: #b42318;
}

.esem-import-panel {
  display: none;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.esem-import-panel.is-open {
  display: block;
}

.esem-import-panel .kt-card-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.esem-import-form {
  display: grid;
  gap: 1rem;
}

.esem-import-options {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: end;
  gap: 1rem;
}

.esem-import-errors {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff7f6;
  padding: 0.9rem 1rem;
}

.esem-import-errors-title {
  color: #991b1b;
  font-size: 0.85rem;
  font-weight: 800;
}

.esem-import-errors ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-left: 1rem;
}

.esem-import-errors li {
  color: #7f1d1d;
  font-size: 0.8rem;
  line-height: 1.45;
}

.esem-personel-create-hero {
  border-color: #dbeafe;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(23, 132, 91, 0.08) 52%, rgba(184, 110, 34, 0.1) 100%),
    #ffffff;
}

.esem-personel-photo-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.esem-personel-photo-preview,
.esem-personel-profile-photo,
.esem-personel-avatar {
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
}

.esem-personel-photo-preview {
  width: 6rem;
  height: 6rem;
  border: 1px solid #dbeafe;
  font-size: 1.7rem;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.11);
}

.esem-personel-photo-preview img,
.esem-personel-profile-photo img,
.esem-personel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.esem-personel-cell {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}

.esem-personel-avatar {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  font-size: 0.8rem;
}

.esem-personel-cell-text {
  display: grid;
  min-width: 0;
  gap: 0.1rem;
}

.esem-personel-cell-text strong {
  color: #0f172a;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.esem-personel-cell-text small {
  color: #64748b;
  font-size: 0.75rem;
}

.esem-personel-profile-card {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.esem-personel-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, auto);
  align-items: center;
  gap: 1rem;
}

.esem-personel-profile-photo {
  width: 6.5rem;
  height: 6.5rem;
  border: 1px solid #dbeafe;
  font-size: 1.8rem;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.11);
}

.esem-personel-profile-photo.is-compact {
  width: 4.5rem;
  height: 4.5rem;
  font-size: 1.25rem;
}

.esem-personel-profile-main {
  display: grid;
  min-width: 0;
  gap: 0.45rem;
}

.esem-personel-profile-code {
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 800;
}

.esem-personel-profile-name {
  color: #0f172a;
  font-size: 1.65rem;
  font-weight: 850;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.esem-personel-profile-badges,
.esem-personel-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.esem-personel-profile-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
}

.esem-personel-salary-box {
  display: grid;
  gap: 0.35rem;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #f0fdf8;
  padding: 1rem;
}

.esem-personel-salary-box span,
.esem-personel-salary-box small {
  color: #166534;
  font-size: 0.78rem;
  font-weight: 700;
}

.esem-personel-salary-box strong {
  color: #14532d;
  font-size: 1.25rem;
  font-weight: 850;
}

.esem-delete-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.esem-dx-grid {
  min-height: 470px;
  width: 100%;
}

.esem-dx-grid .dx-datagrid {
  border: 0;
  background: transparent;
  color: var(--foreground);
  font-family: inherit;
}

.esem-dx-grid .dx-datagrid-headers,
.esem-dx-grid .dx-datagrid-pager,
.esem-dx-grid .dx-toolbar {
  background: var(--background);
  color: var(--foreground);
}

.esem-dx-grid .dx-datagrid-headers {
  border-bottom-color: var(--border);
}

.esem-dx-grid .dx-datagrid-rowsview,
.esem-dx-grid .dx-datagrid-total-footer {
  border-color: var(--border);
}

.esem-dx-grid .dx-row > td {
  vertical-align: middle;
}

.esem-dx-grid .dx-datagrid-search-panel {
  border-radius: 8px;
}

.esem-dx-grid .dx-datagrid-filter-row .dx-editor-cell .dx-editor-with-menu .dx-texteditor-input,
.esem-dx-grid .dx-datagrid-filter-row .dx-texteditor-input {
  font-size: 0.8125rem;
}

.esem-clickable-grid .dx-data-row {
  cursor: pointer;
}

.esem-clickable-grid .dx-data-row:hover > td {
  background: #f5faf9;
}

.esem-cari-general-card,
.esem-cari-ekstre-card {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.esem-cari-general-card {
  overflow: hidden;
}

.esem-cari-general-card .kt-card-header {
  min-height: 4.25rem;
  background:
    linear-gradient(135deg, rgba(17, 109, 110, 0.08) 0%, rgba(37, 99, 235, 0.05) 52%, rgba(184, 110, 34, 0.08) 100%),
    #ffffff;
}

.esem-cari-general-title,
.esem-cari-general-badges,
.esem-cari-general-address {
  display: flex;
  align-items: center;
}

.esem-cari-general-title {
  gap: 0.75rem;
}

.esem-cari-general-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #116d6e;
  color: #ffffff;
  font-size: 1.1rem;
}

.esem-cari-general-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 1rem;
}

.esem-cari-general-main {
  min-width: 0;
}

.esem-cari-general-code {
  color: #116d6e;
  font-size: 0.82rem;
  font-weight: 800;
}

.esem-cari-general-name {
  margin-top: 0.2rem;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
}

.esem-cari-general-badges {
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.esem-cari-general-address {
  gap: 0.45rem;
  margin-top: 0.8rem;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 600;
}

.esem-cari-balance-box {
  display: grid;
  align-content: center;
  min-height: 8rem;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #f8fafc;
  padding: 1rem;
}

.esem-cari-balance-box.is-borc {
  border-color: rgba(184, 110, 34, 0.28);
  background: #fff8ef;
}

.esem-cari-balance-box.is-alacak {
  border-color: rgba(23, 132, 91, 0.24);
  background: #f1fbf6;
}

.esem-cari-balance-label {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 800;
}

.esem-cari-balance-value {
  margin-top: 0.35rem;
  color: #0f172a;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.esem-cari-balance-note {
  margin-top: 0.35rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.esem-cari-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.esem-cari-info-item {
  display: grid;
  gap: 0.25rem;
  min-height: 4.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.85rem;
}

.esem-cari-info-item span {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 800;
}

.esem-cari-info-item strong {
  min-width: 0;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.esem-cari-info-wide {
  grid-column: span 2;
}

.esem-ekstre-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 1rem;
}

.esem-ekstre-summary-item {
  display: grid;
  gap: 0.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.85rem;
}

.esem-ekstre-summary-item span {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 800;
}

.esem-ekstre-summary-item strong {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.esem-ekstre-summary-item.is-borc {
  border-color: rgba(184, 110, 34, 0.25);
}

.esem-ekstre-summary-item.is-alacak {
  border-color: rgba(23, 132, 91, 0.22);
}

.esem-cari-create {
  padding-bottom: 1.5rem;
}

.esem-cari-create-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow: hidden;
  border: 1px solid #d9e7e4;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 109, 110, 0.1) 0%, rgba(37, 99, 235, 0.06) 54%, rgba(184, 110, 34, 0.1) 100%),
    #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: 1.15rem;
}

.esem-cari-create-hero-main,
.esem-cari-create-actions,
.esem-cari-create-icon,
.esem-cari-create-code,
.esem-form-section .kt-card-title,
.esem-form-section-icon,
.esem-toggle-tile {
  display: flex;
  align-items: center;
}

.esem-cari-create-hero-main {
  min-width: 0;
  gap: 0.9rem;
}

.esem-cari-create-icon {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  justify-content: center;
  border-radius: 8px;
  background: #116d6e;
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 12px 22px rgba(17, 109, 110, 0.22);
}

.esem-cari-create-hero h1 {
  margin: 0;
  color: #0f172a;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0;
}

.esem-cari-create-hero p {
  margin: 0.25rem 0 0;
  color: #64748b;
  font-size: 0.9rem;
}

.esem-cari-create-actions {
  flex: 0 0 auto;
  gap: 0.65rem;
}

.esem-cari-create-code {
  min-height: 2.5rem;
  justify-content: center;
  border: 1px solid #cfe0dc;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #116d6e;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0 0.8rem;
}

.esem-cari-form {
  --esem-form-accent: #116d6e;
  --esem-form-soft: rgba(17, 109, 110, 0.08);
}

.esem-form-validation {
  color: var(--destructive);
  font-size: 0.8125rem;
}

.esem-form-section {
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.esem-form-section::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--esem-form-accent);
  content: "";
}

.esem-form-section .kt-card-header {
  min-height: 4rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.esem-form-section .kt-card-title {
  gap: 0.65rem;
}

.esem-form-section-icon {
  width: 2.15rem;
  height: 2.15rem;
  justify-content: center;
  border-radius: 8px;
  background: var(--esem-form-soft);
  color: var(--esem-form-accent);
  font-size: 1rem;
}

.esem-form-section-primary {
  --esem-form-accent: #116d6e;
  --esem-form-soft: rgba(17, 109, 110, 0.1);
}

.esem-form-section-warning {
  --esem-form-accent: #b86e22;
  --esem-form-soft: rgba(184, 110, 34, 0.12);
}

.esem-form-section-info {
  --esem-form-accent: #2563eb;
  --esem-form-soft: rgba(37, 99, 235, 0.1);
}

.esem-form-section-success {
  --esem-form-accent: #17845b;
  --esem-form-soft: rgba(23, 132, 91, 0.11);
}

.esem-cari-form .kt-form-label {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
}

.esem-cari-form .kt-input,
.esem-cari-form .kt-select,
.esem-cari-form .kt-textarea {
  border-color: #cfd8e3;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.03);
}

.esem-cari-form .kt-input:focus,
.esem-cari-form .kt-select:focus,
.esem-cari-form .kt-textarea:focus {
  border-color: var(--esem-form-accent);
  box-shadow: 0 0 0 4px var(--esem-form-soft);
}

.esem-toggle-tile {
  min-height: 2.75rem;
  gap: 0.65rem;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.esem-toggle-tile:hover,
.esem-toggle-tile:focus-within {
  border-color: var(--esem-form-accent);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
}

.esem-cari-type-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.esem-radio-tile {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.5rem;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
  padding: 0.9rem;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.esem-radio-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.esem-radio-tile-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(184, 110, 34, 0.12);
  color: #b86e22;
  font-size: 1rem;
}

.esem-radio-tile-content {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
}

.esem-radio-tile-content strong {
  color: #0f172a;
  font-size: 0.92rem;
}

.esem-radio-tile-content small {
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.3;
}

.esem-radio-tile.is-active,
.esem-radio-tile:has(input:checked) {
  border-color: #b86e22;
  background: #fffaf4;
  box-shadow: 0 10px 22px rgba(184, 110, 34, 0.12);
}

[hidden].esem-field-hidden,
[hidden].space-y-1\.5 {
  display: none !important;
}

.esem-form-actionbar {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
  padding: 0.9rem;
}

.esem-teklif-create {
  padding-bottom: 1.5rem;
}

.esem-teklif-create-hero {
  border-color: #d9e4f5;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(17, 109, 110, 0.07) 52%, rgba(184, 110, 34, 0.1) 100%),
    #ffffff;
}

.esem-required {
  color: #b42318;
  font-weight: 900;
}

.esem-teklif-form-section .kt-card-content {
  padding-top: 1.15rem;
}

.esem-erp-form-grid {
  display: grid;
  gap: 1rem;
}

.esem-erp-form-grid.is-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.esem-erp-form-grid.is-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.esem-erp-form-grid > *,
.esem-erp-form-grid .space-y-1\.5 {
  min-width: 0;
}

.esem-span-2 {
  grid-column: span 2;
}

.esem-dx-input,
.esem-dx-select,
.esem-dx-textarea {
  border-color: #cfd8e3;
  border-radius: 4px;
  background: #ffffff;
  color: #101828;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.esem-dx-input:hover,
.esem-dx-select:hover,
.esem-dx-textarea:hover {
  border-color: #9fb1c7;
}

.esem-dx-input:focus,
.esem-dx-select:focus,
.esem-dx-textarea:focus {
  border-color: #337ab7;
  box-shadow: 0 0 0 3px rgba(51, 122, 183, 0.15);
}

.esem-teklif-talep-form.was-submitted .esem-dx-input:invalid,
.esem-teklif-talep-form.was-submitted .esem-dx-select:invalid,
.esem-teklif-talep-form.was-submitted .esem-dx-textarea:invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.esem-process-tile,
.esem-upload-panel,
.esem-document-row,
.esem-empty-documents {
  display: flex;
  align-items: center;
}

.esem-process-tile {
  min-height: 5.25rem;
  gap: 0.75rem;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
  padding: 0.9rem;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.esem-process-tile:hover,
.esem-process-tile:focus-within {
  border-color: #337ab7;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.esem-process-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(184, 110, 34, 0.12);
  color: #b86e22;
  font-size: 1rem;
}

.esem-process-content {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
}

.esem-process-content strong {
  color: #0f172a;
  font-size: 0.92rem;
}

.esem-process-content small {
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.3;
}

[data-teklif-decline-panel] {
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #f8fafc;
  padding: 0.9rem;
}

[data-teklif-decline-panel].is-required {
  border-color: rgba(180, 35, 24, 0.28);
  background: #fff7f6;
}

.esem-upload-panel {
  gap: 0.9rem;
  border: 1px dashed #9fb1c7;
  border-radius: 8px;
  background: #f8fbff;
  padding: 1rem;
}

.esem-upload-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  font-size: 1.25rem;
}

.esem-upload-content {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 0.45rem;
}

.esem-file-input {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 4px;
  background: #ffffff;
  color: #101828;
  font-size: 0.875rem;
  padding: 0.62rem;
}

.esem-file-input::file-selector-button {
  margin-right: 0.75rem;
  border: 0;
  border-radius: 4px;
  background: #337ab7;
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  padding: 0.48rem 0.75rem;
}

.esem-upload-note {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
}

.esem-current-documents {
  display: grid;
  gap: 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.9rem;
}

.esem-current-documents-title {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
}

.esem-current-documents-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.esem-current-documents-list a {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 0.65rem;
  text-decoration: none;
}

.esem-current-documents-list span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.esem-belge-card .kt-card-content {
  padding: 0;
}

.esem-document-list {
  display: grid;
}

.esem-document-row {
  gap: 0.8rem;
  min-height: 4.25rem;
  border-bottom: 1px solid #e2e8f0;
  color: inherit;
  padding: 0.9rem 1rem;
  text-decoration: none;
  transition: background 0.15s ease;
}

.esem-document-row:hover {
  background: #f5faf9;
}

.esem-document-row:last-child {
  border-bottom: 0;
}

.esem-document-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(71, 84, 103, 0.1);
  color: #475467;
  font-size: 1.05rem;
}

.esem-document-icon.is-pdf {
  background: rgba(180, 35, 24, 0.1);
  color: #b42318;
}

.esem-document-icon.is-doc {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.esem-document-icon.is-xls {
  background: rgba(23, 132, 91, 0.11);
  color: #17845b;
}

.esem-document-icon.is-img {
  background: rgba(184, 110, 34, 0.12);
  color: #b86e22;
}

.esem-document-icon.is-dwg,
.esem-document-icon.is-zip {
  background: rgba(17, 109, 110, 0.1);
  color: #116d6e;
}

.esem-document-main {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
  gap: 0.2rem;
}

.esem-document-main strong {
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.esem-document-main small {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
}

.esem-empty-documents {
  min-height: 7rem;
  justify-content: center;
  gap: 0.55rem;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 700;
}

.esem-auth-page {
  min-height: 100%;
  background: #f5f7f8;
  color: #182230;
}

.esem-auth-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 540px);
}

.esem-auth-brand {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid #dbe5e3;
  background-color: #f7faf9;
  background-image:
    linear-gradient(rgba(19, 87, 84, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 87, 84, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  padding: 2.5rem;
}

.esem-auth-brand-top,
.esem-auth-pill,
.esem-login-badge,
.esem-login-support {
  display: flex;
  align-items: center;
}

.esem-auth-brand-top {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  left: 2.5rem;
  justify-content: space-between;
  gap: 1rem;
}

.esem-auth-logo-link {
  display: inline-flex;
}

.esem-auth-logo {
  width: 168px;
  max-height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #050505;
  padding: 0.45rem 0.65rem;
}

.esem-auth-pill,
.esem-login-badge {
  gap: 0.5rem;
  border: 1px solid #cfe0dc;
  border-radius: 8px;
  background: #ffffff;
  color: #116d6e;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.45rem 0.7rem;
}

.esem-auth-brand-copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.esem-auth-brand-copy h1 {
  margin: 0;
  color: #111827;
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: 0;
}

.esem-auth-content {
  display: flex;
  min-width: 0;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 2.5rem;
}

.esem-auth-content-inner {
  width: 100%;
  max-width: 31rem;
}

.esem-auth-mobile-logo {
  display: none;
  justify-content: center;
  margin-bottom: 2rem;
}

.esem-login-card {
  border: 1px solid #dfe7e6;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(16, 24, 40, 0.12);
  padding: 2rem;
}

.esem-login-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.esem-login-head h1 {
  margin: 0;
  color: #101828;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0;
}

.esem-login-head p {
  margin: 0.35rem 0 0;
  color: #667085;
  font-size: 0.95rem;
}

.esem-login-form {
  display: grid;
  gap: 1.05rem;
}

.esem-auth-field {
  display: grid;
  gap: 0.45rem;
}

.esem-auth-field label {
  color: #344054;
  font-size: 0.875rem;
  font-weight: 700;
}

.esem-auth-input-wrap {
  display: flex;
  min-height: 3.15rem;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #ffffff;
  padding: 0 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.esem-auth-input-wrap:focus-within {
  border-color: #116d6e;
  box-shadow: 0 0 0 4px rgba(17, 109, 110, 0.12);
}

.esem-auth-input-wrap > i {
  flex: 0 0 auto;
  color: #667085;
  font-size: 1.1rem;
}

.esem-auth-input-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #101828;
  font-size: 0.95rem;
  outline: 0;
}

.esem-auth-input-wrap input::placeholder {
  color: #98a2b3;
}

.esem-password-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #667085;
  cursor: pointer;
}

.esem-password-toggle:hover,
.esem-password-toggle:focus-visible {
  background: #edf7f6;
  color: #116d6e;
  outline: 0;
}

.esem-auth-options {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.esem-remember-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #f9fafb;
  cursor: pointer;
  padding: 0.8rem 0.9rem;
}

.esem-remember-row span {
  display: grid;
  gap: 0.1rem;
}

.esem-remember-row strong {
  color: #182230;
  font-size: 0.875rem;
}

.esem-remember-row small {
  color: #667085;
  font-size: 0.75rem;
}

.esem-login-submit {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 0;
  border-radius: 8px;
  background: #116d6e;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.esem-login-submit:hover,
.esem-login-submit:focus-visible {
  background: #0d5d5e;
  box-shadow: 0 12px 24px rgba(17, 109, 110, 0.18);
  outline: 0;
  transform: translateY(-1px);
}

.esem-login-support {
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: #667085;
  font-size: 0.8125rem;
  text-align: center;
}

.esem-login-support i {
  color: #b86e22;
}

.esem-auth-validation {
  color: var(--destructive);
  font-size: 0.75rem;
}

.kt-sidebar-collapse .esem-mini-logo {
  display: inline-flex;
}

@media (max-width: 1023.98px) {
  .esem-auth-shell {
    display: block;
  }

  .esem-auth-brand {
    display: none;
  }

  .esem-auth-content {
    min-height: 100vh;
    background: #f5f7f8;
    padding: 2rem 1rem;
  }

  .esem-auth-mobile-logo {
    display: flex;
  }
}

@media (max-width: 767.98px) {
  body.demo1 {
    overflow-x: hidden;
  }

  .esem-page-titlebar {
    align-items: flex-start;
    flex-direction: column;
  }

  .esem-page-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .esem-erp-form-grid.is-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .esem-cari-general-layout {
    grid-template-columns: 1fr;
  }

  .esem-cari-info-grid,
  .esem-ekstre-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .esem-cari-info-wide {
    grid-column: span 2;
  }

  .esem-cari-create-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .esem-cari-create-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .esem-cari-create-actions .kt-btn {
    flex: 1 1 auto;
  }

  .esem-cari-create-code {
    flex: 1 1 100%;
  }

  .esem-form-actionbar {
    flex-direction: column-reverse;
  }

  .esem-form-actionbar .kt-btn {
    width: 100%;
  }

  .esem-import-options {
    grid-template-columns: 1fr;
  }

  .esem-import-options .kt-btn {
    width: 100%;
  }

  .esem-personel-photo-form,
  .esem-personel-profile {
    grid-template-columns: 1fr;
  }

  .esem-personel-photo-preview,
  .esem-personel-profile-photo {
    width: 5.5rem;
    height: 5.5rem;
  }

  .esem-personel-salary-box {
    width: 100%;
  }

  .esem-upload-panel,
  .esem-document-row {
    align-items: flex-start;
  }

  .esem-upload-panel {
    flex-direction: column;
  }

  .esem-document-row {
    flex-wrap: wrap;
  }

  .esem-document-row .kt-btn {
    margin-left: 3.3rem;
  }

  .esem-cari-type-panel {
    grid-template-columns: 1fr;
  }

  .esem-table-min {
    min-width: 520px;
  }

  .esem-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .esem-stat-card .kt-card-content {
    gap: 0.75rem;
    padding: 0.9rem;
  }

  .esem-stat-icon {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  .esem-stat-value {
    font-size: 1.25rem;
  }

  .esem-login-card {
    padding: 1.25rem;
  }

  .esem-login-head h1 {
    font-size: 1.4rem;
  }
}

@media (max-width: 479.98px) {
  .esem-erp-form-grid.is-2,
  .esem-erp-form-grid.is-3 {
    grid-template-columns: 1fr;
  }

  .esem-span-2 {
    grid-column: span 1;
  }

  .esem-cari-info-grid,
  .esem-ekstre-summary {
    grid-template-columns: 1fr;
  }

  .esem-cari-info-wide {
    grid-column: span 1;
  }
}
