/* ========================================
   SERVICES FORM - Enhanced Editor Styles
   Scoped under .service-form
   ======================================== */

/* Editor header bar */
.service-form .service-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #2590d4 0%, #1a6fa0 100%);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(37, 144, 212, 0.25);
}

[data-theme="dark"] .service-form .service-editor-header {
  background: linear-gradient(135deg, #1a6fa0 0%, #13516f 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(59, 175, 247, 0.3);
}

.service-form .service-editor-header h1 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.service-form .service-editor-header .service-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.service-form .service-editor-header .buttons {
  margin-bottom: 0;
}

.service-form .service-editor-header .buttons .button {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.service-form .service-editor-header .buttons .button:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Section icon color override */
.service-form .admin-form-section-header .icon {
  color: #3baff7;
}

[data-theme="dark"] .service-form .admin-form-section-header .icon {
  color: #7dcbfa;
}

/* Focus ring tinted to match */
.service-form .admin-form-section:focus-within {
  border-color: #3baff7;
  box-shadow: 0 0 0 3px rgba(59, 175, 247, 0.1);
}

[data-theme="dark"] .service-form .admin-form-section:focus-within {
  box-shadow: 0 0 0 3px rgba(59, 175, 247, 0.2);
}

/* --- Responsive --- */

@media screen and (max-width: 768px) {
  .service-form .service-editor-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .service-form .service-editor-header .buttons {
    width: 100%;
    justify-content: flex-start;
  }
}
