#ekim-admin-tools {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ek-at-hero {
  background: linear-gradient(135deg, #0f2942 0%, #1b3b5c 60%, #1e4976 100%);
  color: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(15, 41, 66, 0.14);
}
.ek-at-hero h1 {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
}
.ek-at-hero p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 720px;
}

.ek-at-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #fff;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid #dbe4f0;
}
.ek-at-tab {
  flex: 1 1 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ek-at-tab:hover {
  background: #eff6ff;
  color: #1e3a8a;
}
.ek-at-tab.active {
  background: #0f2942;
  color: #fff;
  border-color: #0f2942;
  box-shadow: 0 4px 12px rgba(15, 41, 66, 0.18);
}

.ek-at-workspace {
  display: grid;
  grid-template-columns: minmax(300px, 430px) 1fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 980px) {
  .ek-at-workspace {
    grid-template-columns: 1fr;
  }
}

.ek-at-panel {
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.ek-at-panel h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #0f2942;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
}

.ek-admin-tools-controls {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
}
.ek-admin-tools-controls label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  width: 100%;
}
.ek-admin-tools-controls select,
.ek-admin-tools-controls input,
.ek-admin-tools-controls textarea {
  width: 100%;
  min-height: 36px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 13px;
  color: #0f172a;
  font-family: inherit;
}
.ek-admin-tools-controls textarea {
  min-height: 78px;
  resize: vertical;
}
.ek-at-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ek-admin-tools-controls button {
  min-height: 40px;
  font-weight: 800;
}

.ek-admin-tools-preview {
  display: grid;
  justify-items: center;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: #eef2f6;
  padding: clamp(10px, 2vw, 24px);
}
.ek-admin-tools-preview canvas {
  display: block;
  width: min(100%, 680px);
  height: auto;
  aspect-ratio: 210 / 297;
  background: #fff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
  border-radius: 4px;
}
