/* Yalnızca admin.html — tema değişkenleri style.css ile */

body.ty-admin-page:not(.ty-adm-ready) > .ty-adm-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  height: calc(100vh - 24px);
  max-width: 1600px;
  margin: 0 auto;
  background-color: var(--bg-panel);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}
@media (min-width: 640px) {
    .ty-adm-shell { height: calc(100vh - 48px); }
}


body.ty-admin-page {
  overflow: hidden !important;
  height: 100vh !important;
  min-height: 100vh;
  padding: 12px;
  box-sizing: border-box;
}
@media (min-width: 640px) {
    body.ty-admin-page { padding: 24px; }
}


.ty-adm-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  height: calc(100vh - 24px);
  max-width: 1600px;
  margin: 0 auto;
  background-color: var(--bg-panel);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}
@media (min-width: 640px) {
    .ty-adm-shell { height: calc(100vh - 48px); }
}


@media (max-width: 960px) {
  .ty-adm-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  height: calc(100vh - 24px);
  max-width: 1600px;
  margin: 0 auto;
  background-color: var(--bg-panel);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}
@media (min-width: 640px) {
    .ty-adm-shell { height: calc(100vh - 48px); }
}

}

.ty-adm-side {
  background: var(--bg-sidebar);
  border-right: none;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 0;
  backdrop-filter: blur(12px);
}

@media (max-width: 960px) {
  .ty-adm-side {
    position: relative;
    min-height: 0;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}

.ty-adm-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ty-adm-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
  background: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.ty-adm-brand h1 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.ty-adm-brand p {
  margin: 4px 0 0;
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.ty-adm-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 960px) {
  .ty-adm-nav {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
  }
}

.ty-adm-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.ty-adm-nav a:hover {
  background: var(--nav-hover-bg);
  color: var(--text-primary);
}

.ty-adm-nav a.ty-adm-nav-act {
  background: var(--accent-muted);
  border-color: var(--border-color);
  color: var(--text-primary);
}

.ty-adm-nav a .ph {
  font-size: 1.15rem;
  opacity: 0.9;
}

.ty-adm-side-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .ty-adm-side-foot {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }
}

.ty-adm-side-foot a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.ty-adm-side-foot .ty-danger {
  color: #f04747;
}

.ty-adm-main {
  padding: 28px clamp(18px, 3vw, 40px) 48px;
  width: 100%;
  min-width: 0;

  background: var(--bg-input);
  border-top-left-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
  overflow-y: auto;
}

.ty-adm-top {
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 55;
  background: var(--bg-input);
}

.ty-adm-top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  width: 100%;
}

.ty-adm-top-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  flex: 1 1 min(280px, 100%);
}

.ty-adm-top-logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
  background: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.ty-adm-top-titles {
  min-width: 0;
  flex: 1;
}

.ty-adm-top h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.ty-adm-top-lead {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: min(640px, 100%);
  line-height: 1.55;
}

.ty-adm-top-kpis {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ty-adm-top-kpi {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
}

.ty-adm-top-kpi strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 800;
}

.ty-adm-top-kpi em {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.ty-adm-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ty-adm-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.ty-adm-stat {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.ty-adm-stat .v {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
}

.ty-adm-stat .l {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 600;
}

.ty-adm-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 22px 22px 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.ty-adm-card-h {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.ty-adm-card-h h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
}

.ty-adm-card-h h3 .ph {
  color: var(--accent);
  font-size: 1.2rem;
}

.ty-adm-card-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 18px;
}

.ty-adm-form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}

.ty-adm-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.ty-adm-field input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-input);
  color: var(--text-primary);
  font-size: 0.94rem;
  min-width: 220px;
  width: 100%;
  max-width: 320px;
  outline: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.ty-adm-field input:focus {
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}

.ty-btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ty-btn:active {
  transform: scale(0.98);
}

.ty-btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}

html[data-theme="light"] .ty-btn-primary {
  color: var(--btn-primary-fg);
}

.ty-btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.ty-btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.ty-alert {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.ty-alert-err {
  display: block;
  background: rgba(240, 71, 71, 0.1);
  border: 1px solid rgba(240, 71, 71, 0.35);
  color: #ff8a80;
}

html[data-theme="light"] .ty-alert-err {
  color: #b91c1c;
}

.ty-alert-warn {
  display: block;
  color: #ffb74d;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 183, 77, 0.08);
  border: 1px solid rgba(255, 183, 77, 0.35);
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.ty-adm-toolbar {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 14px;
}

.ty-adm-toolbar .ty-adm-search {
  max-width: none;
  width: 100%;
}

.ty-adm-search {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-input);
  color: var(--text-primary);
  font-size: 0.88rem;
  min-width: 200px;
  flex: 1;
  max-width: 340px;
  outline: none;
}

.ty-adm-search:focus {
  box-shadow: var(--focus-ring);
  border-color: var(--accent);
}

.ty-adm-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border-color);
}

.ty-adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.ty-adm-table th {
  text-align: left;
  padding: 12px 14px;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-input);
}

.ty-adm-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.ty-adm-table tbody tr:last-child td {
  border-bottom: none;
}

.ty-adm-table tbody tr {
  transition: background 0.12s ease;
}

.ty-adm-table tbody tr:hover {
  background: var(--accent-muted);
}

.ty-adm-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ty-adm-badge-admin {
  background: rgba(245, 7, 110, 0.12);
  color: var(--accent);
  border: 1px solid var(--border-color);
}

html[data-theme="light"] .ty-adm-badge-admin {
  background: var(--accent-muted);
  color: var(--accent);
}

.ty-adm-badge-user {
  background: var(--bg-input);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.ty-adm-select {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-input);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
}

.ty-adm-mono-mask {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  user-select: none;
}

/* Anahtar modal */
.ty-modal-root {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.72);
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
}

.ty-modal-root.ty-modal-on {
  display: flex !important;
}

.ty-modal-sheet {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.ty-modal-sheet h4 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-family: var(--font-display);
  font-weight: 800;
}

.ty-modal-sheet p {
  margin: 0 0 16px;
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.ty-key-display {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-input);
  padding: 16px;
  margin-bottom: 14px;
  min-height: 72px;
}

.ty-key-dots {
  font-family: ui-monospace, monospace;
  font-size: 1rem;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  word-break: break-all;
  line-height: 1.55;
}

.ty-key-reveal {
  display: none;
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  line-height: 1.5;
  word-break: break-all;
  user-select: all;
  color: var(--text-primary);
  white-space: pre-wrap;
}

.ty-key-reveal.ty-key-show {
  display: block;
}

.ty-key-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ty-load {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 24px;
  text-align: center;
}

.section-anchor {
  scroll-margin-top: 24px;
}

.ty-adm-top-actions-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
  justify-content: flex-end;
}

.ty-adm-reload-first {
  margin-right: 4px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .ty-adm-top-actions-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
  justify-content: flex-end;
}

  .ty-adm-profile-trigger {
    max-width: 100%;
  }
}

.ty-adm-profile-root {
  position: relative;
  flex-shrink: 0;
}

.ty-adm-profile-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-input);
  cursor: pointer;
  color: var(--text-primary);
  text-align: left;
  max-width: min(380px, 100%);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ty-adm-profile-trigger:hover {
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}

.ty-adm-avatar-stack {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.ty-adm-profile-avatar-img {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.ty-adm-profile-avatar-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  background: var(--accent-muted);
  color: var(--accent);
  border: 1px solid var(--border-color);
}

.ty-adm-profile-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ty-adm-profile-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ty-adm-profile-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ty-adm-profile-chev {
  margin-left: 2px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.ty-adm-profile-chev .ph {
  font-size: 1rem;
}

.ty-adm-profile-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 210px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-panel);
  box-shadow: var(--shadow-md);
  z-index: 80;
}

.ty-adm-profile-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: left;
  font-family: inherit;
}

.ty-adm-profile-menu-item:hover {
  background: var(--accent-muted);
}

.ty-adm-profile-menu-item .ph {
  font-size: 1.1rem;
  opacity: 0.9;
}

.ty-adm-profile-menu-item.ty-danger {
  color: #f04747;
}

html[data-theme="light"] .ty-adm-profile-menu-item.ty-danger {
  color: #b91c1c;
}

.ty-adm-role-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.ty-adm-role-pill.admin {
  background: rgba(245, 7, 110, 0.16);
  color: var(--accent);
  border: 1px solid var(--border-color);
}

.ty-adm-role-pill.member {
  background: var(--bg-panel);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.ty-btn-compact {
  padding: 10px 14px;
  font-size: 0.82rem;
}

.ty-adm-toast {
  position: fixed;
  bottom: 24px;
  right: clamp(14px, 3vw, 28px);
  z-index: 120;
  max-width: min(340px, 92vw);
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.ty-adm-toast.ty-adm-toast-on {
  opacity: 1;
  transform: translateY(0);
}

.ty-adm-table-empty {
  text-align: center;
  padding: 28px 16px !important;
  color: var(--text-secondary);
}

.ty-adm-filter-empty {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0 2px;
}

.ty-adm-row-dirty {
  outline: 1px dashed rgba(245, 7, 110, 0.45);
  outline-offset: -2px;
  border-radius: 6px;
}

.ty-adm-user-cell {
  min-width: 0;
}

.ty-adm-user-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ty-adm-user-line strong {
  font-size: 0.93rem;
  word-break: break-word;
}

.ty-adm-you-pill {
  font-size: 0.61rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid rgba(245, 7, 110, 0.4);
  border-radius: 6px;
  padding: 2px 6px;
  background: var(--accent-muted);
}

.ty-adm-icon-btn {
  margin-left: auto;
  align-self: center;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.ty-adm-icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-muted);
}

.ty-adm-icon-btn .ph {
  font-size: 1rem;
}

.ty-adm-display-sub {
  margin-top: 6px;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ty-adm-badge-classic {
  background: rgba(120, 160, 255, 0.1);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.ty-adm-muted-cell {
  color: var(--text-secondary);
  font-size: 0.82rem;
  white-space: nowrap;
}

.ty-adm-actions-cell {
  vertical-align: middle;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ty-btn-save {
  padding: 8px 14px !important;
  font-size: 0.82rem !important;
}

.ty-adm-pro-hint {
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.48;
}

.ty-adm-pro-hint .ph {
  margin-right: 6px;
  vertical-align: -2px;
  color: var(--accent);
}

.ty-adm-pro-cell {
  vertical-align: middle;
  width: 1%;
  min-width: 132px;
}

.ty-adm-pro-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ty-adm-pro-thumb {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-input);
  flex-shrink: 0;
}

.ty-adm-pro-thumb-img {
  display: none;
  width: 52px;
  height: 52px;
  object-fit: cover;
}

.ty-adm-pro-thumb-fall {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.74rem;
  color: var(--accent);
  background: var(--accent-muted);
}

.ty-adm-pro-upload {
  padding: 8px 10px !important;
  font-size: 0.72rem !important;
  gap: 6px !important;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .ty-adm-top-actions-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
  justify-content: flex-end;
}
}

@media (max-width: 720px) {
  .ty-adm-top-actions-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
  justify-content: flex-end;
}

  .ty-adm-reload-first {
    margin-right: 0;
    width: 100%;
    justify-content: center;
  }

  .ty-adm-profile-root {
    width: 100%;
  }

  .ty-adm-profile-trigger {
    max-width: none;
    width: 100%;
  }

  .ty-adm-profile-menu {
    right: 0;
    left: 0;
  }
}

.ty-alert:empty { display: none !important; }


/* Sadece row-dirty ise Kaydet butonunu göster */
tr:not(.ty-adm-row-dirty) .ty-btn-primary.ty-btn-save {
  display: none !important;
}
