@charset "UTF-8";
@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";

/* src/styles.scss */
.wizard-layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: var(--bg-color);
}
.wizard-header {
  background-color: var(--surface-color);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}
.wizard-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}
.wizard-header .header-content .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  line-height: 1;
  transition: background 0.15s;
}
.wizard-header .header-content .btn-icon:hover {
  background: var(--bg-color);
}
.wizard-header .header-content .btn-delete-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background: none;
  border: 1px solid #fecaca;
  color: #dc2626;
  cursor: pointer;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  line-height: 1;
  transition: background 0.15s;
}
.wizard-header .header-content .btn-delete-form:hover {
  background: #fee2e2;
}
.wizard-header .header-content .header-spacer {
  width: 38px;
  flex: 0 0 auto;
}
.wizard-header .header-titles {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wizard-header .header-titles h2 {
  font-size: 1.1rem;
  margin: 0;
}
.wizard-header .header-titles .save-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  height: 16px;
}
.wizard-header .header-titles .save-status .status-text {
  font-size: 0.75rem;
  font-weight: 500;
  transition: color 0.3s;
}
.wizard-header .header-titles .save-status .status-text.editing {
  color: #9ca3af;
}
.wizard-header .header-titles .save-status .status-text.saving {
  color: var(--primary-blue);
}
.wizard-header .header-titles .save-status .status-text.saved {
  color: #10b981;
}
.wizard-header .header-titles .save-status .icon-check {
  color: #10b981;
  font-size: 0.8rem;
  font-weight: bold;
}
.wizard-header .header-titles .save-status .spinner {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(0, 120, 212, 0.2);
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.wizard-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}
.wizard-body form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.wizard-body .field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.wizard-body .field .field-label {
  font-weight: 500;
}
.wizard-body .field input {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
}
.wizard-body .field .error {
  color: #dc2626;
  font-size: 0.8rem;
}
.wizard-body {
}
.wizard-body .lookup-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.45rem 0.5rem 0.45rem 0.85rem;
  background: var(--surface-color);
}
.wizard-body .lookup-control .lookup-value {
  flex: 1;
  font-size: 1rem;
  color: var(--text-main);
}
.wizard-body .lookup-control .lookup-placeholder {
  flex: 1;
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
}
.wizard-body .lookup-control .lookup-btn {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.95rem;
  background: var(--bg-color);
  color: var(--primary-blue);
  transition: background 0.15s;
}
.wizard-body .lookup-control .lookup-btn:hover {
  background: #e5e7eb;
}
.wizard-body .lookup-control .lookup-btn.lookup-remove {
  color: #dc2626;
}
.wizard-body .lookup-control .lookup-btn.lookup-remove:hover {
  background: #fee2e2;
}
.wizard-body {
}
.wizard-body .lookup-search {
  position: relative;
}
.wizard-body .lookup-search input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
}
.wizard-body .lookup-search .lookup-dropdown {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0.25rem;
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-height: 260px;
  overflow-y: auto;
}
.wizard-body .lookup-search .lookup-dropdown .lookup-option {
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.95rem;
}
.wizard-body .lookup-search .lookup-dropdown .lookup-option:hover {
  background: var(--bg-color);
}
.wizard-body .lookup-search .lookup-dropdown .lookup-option.lookup-create {
  color: var(--primary-blue);
  font-weight: 500;
  border-top: 1px solid var(--border-color);
  margin-top: 0.25rem;
}
.wizard-body .lookup-search .lookup-dropdown .lookup-empty {
  padding: 0.55rem 0.7rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
}
.btn-export {
  background: #1f7a3d;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-export:hover {
  background: #196332;
}
.list-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 1rem 0.5rem;
}
.list-page {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}
.list-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}
.list-header h3 {
  font-size: 1.15rem;
  margin: 0;
}
.list-header .list-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.list-body {
  padding: 1.5rem;
  min-height: 200px;
}
.list-body .empty-state {
  text-align: center;
  color: var(--text-muted);
  margin-top: 2rem;
}
.btn-primary {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: var(--primary-blue-hover);
}
.btn-ghost {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-ghost:hover {
  background: var(--bg-color);
}
.entity-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.entity-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.1s;
}
.entity-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}
.entity-card:active {
  transform: scale(0.995);
}
.entity-card .entity-info h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-main);
}
.entity-card .entity-info .entity-sub {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.entity-card .chevron {
  font-size: 1.5rem;
  color: var(--text-muted);
  line-height: 1;
}
.sub-list {
  margin-top: 2rem;
}
.sub-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.sub-list-header h3 {
  font-size: 1.05rem;
  margin: 0;
}
.btn-export {
  background: #1f7a3d;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-export:hover {
  background: #196332;
}
.list-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 1rem 0.5rem;
}
.dynamic-fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.dynamic-fields .form-group,
.entity-fields-group .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.dynamic-fields .form-group label,
.entity-fields-group .form-group label {
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.95rem;
}
.dynamic-fields .form-group .form-control,
.entity-fields-group .form-group .form-control {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.dynamic-fields .form-group .form-control:focus,
.entity-fields-group .form-group .form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}
.dynamic-fields .form-group.checkbox-group,
.entity-fields-group .form-group.checkbox-group {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-color);
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.dynamic-fields .form-group.checkbox-group .toggle-switch,
.entity-fields-group .form-group.checkbox-group .toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  flex: 0 0 auto;
}
.dynamic-fields .form-group.checkbox-group .toggle-switch input,
.entity-fields-group .form-group.checkbox-group .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.dynamic-fields .form-group.checkbox-group .toggle-switch .slider,
.entity-fields-group .form-group.checkbox-group .toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}
.dynamic-fields .form-group.checkbox-group .toggle-switch .slider:before,
.entity-fields-group .form-group.checkbox-group .toggle-switch .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
.dynamic-fields .form-group.checkbox-group .toggle-switch input:checked + .slider,
.entity-fields-group .form-group.checkbox-group .toggle-switch input:checked + .slider {
  background-color: var(--primary-blue);
}
.dynamic-fields .form-group.checkbox-group .toggle-switch input:checked + .slider:before,
.entity-fields-group .form-group.checkbox-group .toggle-switch input:checked + .slider:before {
  transform: translateX(24px);
}
.dynamic-fields .form-group .custom-input-wrapper,
.entity-fields-group .form-group .custom-input-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}
.dynamic-fields .form-group .custom-input-wrapper .form-control,
.entity-fields-group .form-group .custom-input-wrapper .form-control {
  width: 100%;
  padding-right: 40px;
}
.dynamic-fields .form-group .custom-input-wrapper .btn-cancel-custom,
.entity-fields-group .form-group .custom-input-wrapper .btn-cancel-custom {
  position: absolute;
  right: 8px;
  background: #f3f4f6;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.readonly-group .readonly-value {
  padding: 12px 16px;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-color);
  color: var(--text-muted);
  font-size: 1rem;
  min-height: 46px;
  display: flex;
  align-items: center;
}
:root {
  --primary-blue: #0078d4;
  --primary-blue-hover: #005a9e;
  --offline-grey: #6c757d;
  --offline-grey-hover: #5a6268;
  --bg-color: #f3f4f6;
  --surface-color: #ffffff;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-md: 8px;
  --radius-lg: 12px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-weight: 600;
  color: var(--text-main);
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
