/**
 * Admin — İşletme Ayarları (Enterprise)
 */
.container { max-width: 960px; margin: 0 auto; padding: 2rem; }

.page-header {
  background: linear-gradient(145deg, var(--s2), var(--s3));
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}
.header-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; }
.header-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 10px 28px var(--accent-glow);
}

.secondary, .btn-secondary {
  background: rgba(255,255,255,.05);
  color: var(--text);
  border: 1px solid var(--line);
  padding: .9rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.secondary:hover, .btn-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--line2);
}
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  width: auto;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.action-bar {
  display: flex; align-items: center; gap: 1.25rem;
  margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.action-bar button { flex: 0 0 auto; }

.services-section { margin-top: 1.75rem; }
.services-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.services-title { font-size: 1rem; font-weight: 600; color: var(--text); }
.service-row {
  display: grid;
  grid-template-columns: 40px 1fr 2fr auto;
  gap: .85rem;
  align-items: center;
  padding: .85rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: .6rem;
}
.service-row input { margin: 0; }
.service-number { font-size: .8rem; color: var(--muted); font-weight: 600; }
.icon-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}
.icon-btn:hover { background: var(--red-dim); border-color: rgba(239,68,68,.25); color: var(--red); }

.message { display: none; padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-top: 1rem; }
.message.show { display: flex; align-items: center; gap: .75rem; }

.loading { opacity: .6; pointer-events: none; }
.btn-loading { position: relative; }
.btn-loading::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  top: 50%; left: 50%;
  margin: -9px 0 0 -9px;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
  .service-row { grid-template-columns: 1fr; }
  .action-bar { flex-direction: column; align-items: stretch; }
  .action-bar button, .action-bar a { width: 100%; justify-content: center; }
}
