/* 2025_11_29_@_22-20-44 */
/* Menu Bar Styles */
.menu-bar {
  background-color: #f8f8f8;
  border-bottom: 1px solid #ddd;
  position: relative;
  height: 36px;
  user-select: none;
  z-index: 88888;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-right: 0.85rem;
}

/* Error Toast Notification */
.error-toast {
  position: fixed;
  top: 50px;
  right: 20px;
  background-color: #f44336;
  color: white;
  padding: 15px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 888888;
  max-width: 300px;
  animation: fadeInOut 5s forwards;
}

/* Success Toast Notification */
.success-toast {
  position: fixed;
  top: 50px;
  right: 20px;
  background-color: #4caf50;
  color: white;
  padding: 15px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 888888;
  max-width: 300px;
  animation: fadeInOut 5s forwards;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(-20px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-20px); }
}

.menu-items {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  flex: 1 1 auto;
  align-items: stretch;
  min-width: 0;
}

.menu-build-info {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  white-space: nowrap;
  height: 100%;
  flex-shrink: 0;
}

.menu-build-info.is-hidden {
  display: none;
}

.menu-build-info__label {
  opacity: 0.75;
}

.menu-build-info__time,
.menu-build-info__time::before {
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  letter-spacing: 0.05em;
}

.menu-build-info__time {
  font-size: 0.78rem;
  color: #1d4ed8;
}

.menu-item {
  position: relative;
  height: 100%;
}

.menu-trigger {
  display: inline-block;
  padding: 0 1rem;
  line-height: 36px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
}

.menu-trigger:hover,
.menu-item.active .menu-trigger {
  background-color: #e0e0e0;
}

.dropdown-menu,
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 200px;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 8888;
  padding: 4px 0;
}

.menu-item:hover > .dropdown-menu,
li:hover > .submenu {
  display: block;
}

.dropdown-menu li {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-menu a {
  flex: 1;
  display: block;
  padding: 0.5rem 1rem;
  padding-right: 3rem; /* Make room for shortcuts */
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background-color: #f0f0f0;
}

.dropdown-menu li:hover {
  background-color: #f0f0f0;
}

.shortcut {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 0.8rem;
  pointer-events: none;
}

.submenu {
  left: 100%;
  top: 0;
  position: absolute;
  display: none;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  min-width: 150px;
  z-index: 8888;
}

.submenu-trigger::after {
  content: "›";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.menu-separator {
  height: 1px;
  background-color: #e0e0e0;
  margin: 4px 0;
}

/* Disabled menu items */
a.disabled {
  color: #aaa;
  pointer-events: none;
}

/* Admin only items */
.admin-only {
  display: none; /* Hidden by default, JS will show for admin users */
}

/* App container */
#app-wrapper {
  display: flex;
  flex-direction: column;
}

/* List type icon */
.list-type-icon {
  font-size: 1.5rem;
  margin-left: 0.75rem;
}

/* User badge */
.user-badge {
  padding: 0.25rem 0.5rem;
  background: #f0f0f0;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
}

/* Tool-specific styles */
/* Modal dialogs */
.modal {
  display: none;
  position: fixed;
  z-index: 88888;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  overflow: auto;
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 0;
  border: 1px solid #888;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 80%;
  max-width: 600px;
  border-radius: 4px;
}

.wide-modal {
  max-width: 80%;
}

.modal-header {
  padding: 1rem;
  background-color: #f8f8f8;
  border-bottom: 1px solid #ddd;
  position: relative;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.modal-body {
  padding: 1rem;
}

.modal-footer {
  padding: 1rem;
  border-top: 1px solid #ddd;
  text-align: right;
}

.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Modal Dialog */
.modal-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  z-index: 88888;
  min-width: 400px;
  max-width: 80vw;
  max-height: 80vh;
  overflow: auto;
}

.modal-header {
  padding: 12px 20px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.modal-body {
  padding: 20px;
  max-height: 60vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 12px 20px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
}

.close-btn:hover {
  color: #333;
}

.primary-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.primary-btn:hover {
  background-color: #0069d9;
}

.secondary-btn {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.secondary-btn:hover {
  background-color: #5a6268;
}

/* New Field Dialog Styles */
.success-btn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.success-btn:hover {
  background-color: #218838;
}

.cancel-btn {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.cancel-btn:hover {
  background-color: #5a6268;
}

.danger-btn {
  background-color: #dc2626;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.danger-btn:disabled {
  background-color: #fca5a5;
  color: #ffffff;
  cursor: not-allowed;
  opacity: 0.7;
}

.danger-btn:not(:disabled):hover {
  background-color: #b91c1c;
}

#new-field-dialog .form-group {
  margin-bottom: 1rem;
}

#new-field-dialog .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

#new-field-dialog .form-group input,
#new-field-dialog .form-group select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

#new-field-dialog .form-group input:focus,
#new-field-dialog .form-group select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Enhanced field dialog styles */
.field-dialog .form-group {
  margin-bottom: 15px;
}

.field-dialog .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.field-dialog .form-group input,
.field-dialog .form-group select,
.field-dialog .form-group textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Field Management Dialog */
.field-management-dialog {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: inherit;
}

.field-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e2e2;
  background: #f8f9fb;
}

.field-dialog-title h2 {
  margin: 0;
  font-size: 1.3rem;
  color: #1f2933;
}

.field-dialog-title p {
  margin: 4px 0 0 0;
  color: #5f6c7b;
  font-size: 0.9rem;
}

.field-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.field-header-actions input {
  padding: 6px 10px;
  border: 1px solid #cbd2d9;
  border-radius: 4px;
  min-width: 220px;
}

.field-dialog-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

.field-dialog-close:hover {
  background: #e5e7eb;
  color: #111827;
}

.field-dialog-body {
  display: flex;
  gap: 20px;
  padding: 20px;
  flex: 1;
  min-height: 0;
}

.field-grid-wrapper {
  flex: 1 1 60%;
  overflow: auto;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
}

.fields-grid {
  width: 100%;
  border-collapse: collapse;
}

.fields-grid thead th {
  position: sticky;
  top: 0;
  background: #f1f5f9;
  text-align: left;
  padding: 1mm;
  font-weight: 600;
  font-size: 0.85rem;
  border-bottom: 1px solid #e5e7eb;
  z-index: 1;
}

.fields-grid tbody tr {
  border-bottom: 1px solid #eef2f7;
  cursor: pointer;
  transition: background 0.15s ease;
}

.fields-grid tbody tr:hover {
  background: #f8fafc;
}

.fields-grid tbody tr.selected {
  background: #e0f2fe;
}

.fields-grid td {
  padding: 1mm;
  vertical-align: middle;
  font-size: 0.9rem;
  line-height: 1.2;
}

.field-col-name {
  min-width: 40mm;
}

.field-col-type {
  min-width: 15mm;
}


.field-name-inline {
  display: inline-flex;
  align-items: center;
  gap: 1mm;
  flex-wrap: wrap;
}

.field-label {
  font-weight: 600;
  color: #1f2933;
}

.field-key-inline {
  font-size: 0.75rem;
  color: #6b7280;
}

.field-type-pill {
  display: inline-block;
  padding: 0.5mm 1mm;
  border-radius: 999px;
  background: #eef2f7;
  font-size: 0.75rem;
  color: #334155;
}

.field-checkbox-cell {
  text-align: center;
  width: 12mm;
}

.field-checkbox-input {
  width: 12px;
  height: 12px;
  cursor: pointer;
}

.field-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5mm 1mm;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
}

.field-chip + .field-chip {
  margin-left: 1mm;
}

.field-chip-used {
  background: #2563eb;
}

.field-chip-visible {
  background: #0d9488;
}

.field-chip-fixed {
  background: #7c3aed;
}

.field-chip-inactive {
  background: #9ca3af;
  color: #111827;
}

.field-detail-panel {
  flex: 0 0 32%;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fafbfc;
  padding: 16px;
  overflow: auto;
}

.field-properties-form {
  display: flex;
  flex-direction: column;
  gap: 1mm;
  margin: 1mm 0;
}

.field-properties-form.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.field-properties-group {
  border: 1px solid #d0d7de;
  border-radius: 1mm;
  padding: 1mm;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1mm;
}

.field-properties-group legend {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0 0.5mm;
  color: #1f2933;
}

.field-property-input {
  display: flex;
  flex-direction: column;
  gap: 0.5mm;
  font-size: 0.85rem;
  color: #1f2933;

}

.field-detail-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.field-property-input input,
.field-property-input textarea {
  padding: 1mm;
  border: 1px solid #cbd2d9;
  border-radius: 1mm;
  font: inherit;
  resize: vertical;
}

.field-property-status {
  min-height: 4mm;
  font-size: 0.8rem;
  color: #2563eb;
  margin-top: 1mm;
}

.field-property-status[data-tone="error"] {
  color: #dc2626;
}

.inline-checkbox-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1mm;
}

.inline-checkbox-list label {
  display: inline-flex;
  align-items: center;
  gap: 0.5mm;
  font-size: 0.85rem;
}

.inline-checkbox-list input[type="checkbox"] {
  width: 12px;
  height: 12px;
}

.field-detail-key {
  color: #6b7280;
  font-size: 0.85rem;
  margin-bottom: 12px;
  word-break: break-all;
}

.field-detail-body {
  font-size: 0.9rem;
  color: #374151;
}

.field-detail-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-detail-list div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-detail-list dt {
  font-weight: 600;
  color: #1f2933;
  font-size: 0.85rem;
}

.field-detail-list dd {
  margin: 0;
  color: #374151;
}

.field-option-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e0f2fe;
  margin: 0 4px 4px 0;
  font-size: 0.75rem;
  color: #0f172a;
}

.field-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid #e2e2e2;
  background: #f8f9fb;
  gap: 16px;
}

.field-summary {
  font-size: 0.85rem;
  color: #4b5563;
}

.field-footer-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.field-grid-empty {
  text-align: center;
  padding: 40px 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.field-col-checkbox {
  text-align: center;
  width: 80px;
}

.field-dialog .form-group small {
  display: block;
  margin-top: 5px;
  color: #666;
  font-size: 0.85em;
}

.field-dialog .form-group.mutually-exclusive {
  border-left: 3px solid #007acc;
  padding-left: 10px;
  margin-left: 5px;
}

.field-dialog .form-group.mutually-exclusive label {
  color: #007acc;
}

/* Compact spacing overrides for Field Management dialog */
.field-management-dialog .field-dialog-header,
.field-management-dialog .field-dialog-footer {
  padding: 1mm;
}

.field-management-dialog .field-dialog-body {
  padding: 1mm;
  gap: 1mm;
}

.field-management-dialog .field-header-actions {
  gap: 1mm;
}

.field-management-dialog .field-header-actions input {
  padding: 1mm;
  min-width: 45mm;
}

.field-management-dialog .field-dialog-close {
  width: 9mm;
  height: 9mm;
}

.field-management-dialog .field-grid-wrapper {
  border-radius: 1mm;
}

.field-management-dialog .fields-grid thead th,
.field-management-dialog .fields-grid td {
  padding: 1mm;
}

.field-management-dialog .field-detail-panel {
  padding: 1mm;
  border-radius: 1mm;
}

.field-management-dialog .field-detail-list div {
  display: flex;
  flex-direction: column;
  gap: 0.5mm;
  font-size: 0.85rem;
  color: #1f2933;
}

.field-detail-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}
  padding: 0.5mm 1mm;
}

.field-management-dialog .field-type-pill,
.field-management-dialog .field-option-pill {
  padding: 0.5mm 1mm;
}

/* Forms */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
}

.btn {
  padding: 0.5rem 1rem;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 3px;
  cursor: pointer;
}

.btn-primary {
  background-color: #4a90e2;
  border-color: #3672b0;
  color: white;
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

/* Tabs */
.tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 1rem;
}

.tab {
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.tab.active {
  border-bottom: 2px solid #4a90e2;
  font-weight: bold;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Tables */
.fields-table,
.totals-table,
.rasci-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.fields-table th,
.fields-table td,
.totals-table th,
.totals-table td,
.rasci-table th,
.rasci-table td {
  padding: 0.5rem;
  border: 1px solid #ddd;
}

.fields-table th,
.totals-table th,
.rasci-table th {
  background-color: #f8f8f8;
  text-align: left;
}

.total-value {
  text-align: right;
  font-weight: bold;
}

/* Color picker */
.color-picker-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.color-preview {
  width: 100%;
  height: 2rem;
  border: 1px solid #ddd;
  margin-bottom: 0.5rem;
}

.color-sliders {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.color-slider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.color-swatch {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 3px;
  border: 1px solid #ddd;
  cursor: pointer;
}

.color-swatch.transparent {
  background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%), 
                    linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%);
  background-size: 10px 10px;
  background-position: 0 0, 5px 5px;
}

/* RASCI Matrix */
.task-column {
  min-width: 200px;
}

.rasci-cell {
  text-align: center;
  font-weight: bold;
}

.rasci-cell.has-role {
  background-color: #e6f3ff;
}

.rasci-legend {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 4px;
}

/* Timeline */
.timeline-container {
  position: relative;
  width: 100%;
  height: 300px;
  margin: 2rem 0;
  border: 1px solid #ddd;
  background-color: #fafafa;
  overflow-x: auto;
}

.timeline {
  position: relative;
  height: 250px;
  padding: 20px 0;
}

.timeline-item {
  position: absolute;
  transform: translateX(-50%);
}

.timeline-item-content {
  position: relative;
  padding: 0.5rem;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  width: 150px;
}

.timeline-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #999;
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-months {
  position: relative;
  height: 30px;
  border-top: 1px solid #ddd;
}

.month-marker {
  position: absolute;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: #666;
  padding-top: 4px;
}

.timeline-date {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

.timeline-label {
  font-weight: bold;
  margin: 0.25rem 0;
}

.timeline-status {
  font-size: 0.8rem;
  color: #333;
  margin: 0;
}

.status-complete {
  background-color: #4caf50;
}

.status-Prgrs {
  background-color: #2196f3;
}

.status-pending {
  background-color: #ff9800;
}

.status-delayed {
  background-color: #f44336;
}

.timeline-legend {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legend-items {
  display: flex;
  gap: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Prgrs bar */
.Prgrs-bar-container {
  width: 100%;
  height: 1.5rem;
  background-color: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
  margin: 1rem 0;
}

.Prgrs-bar {
  height: 100%;
  background-color: #4caf50;
}

.Prgrs-info {
  margin-bottom: 2rem;
}

.Prgrs-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

/* About dialog */
.about-content {
  max-width: 500px;
  margin: 0 auto;
}

/* Shortcuts dialog */
.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.shortcuts-table {
  width: 100%;
  border-collapse: collapse;
}

.shortcuts-table td {
  padding: 0.25rem 0;
}

.shortcuts-table td:first-child {
  font-family: monospace;
  white-space: nowrap;
  padding-right: 1rem;
}

/* Checklists Dropdown Menu */
.checklists-dropdown {
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  border-radius: 4px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 8888;
}

.checklists-dropdown .dropdown-header {
  padding: 8px 10px;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 2;
}

.checklists-dropdown .dropdown-search {
  padding: 8px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 35px;
  background: white;
  z-index: 2;
}

.checklists-dropdown .checklist-item {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background-color 0.1s ease;
}

.checklists-dropdown .checklist-item:hover {
  background-color: #f0f7ff;
}

.checklists-dropdown .checklist-item:active {
  background-color: #e0e0e0;
}

.checklists-dropdown #checklist-search {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .menu-trigger {
    padding: 0 0.5rem;
  }
  
  .shortcut {
    display: none;
  }
  
  .modal-content {
    width: 95%;
    margin: 5% auto;
  }
  
  .wide-modal {
    max-width: 95%;
  }
}

/* New field dialog specific styles */
#new-field-dialog {
  max-height: 90vh;
  overflow-y: auto;
  width: 500px;
  max-width: 90vw;
}

#new-field-dialog .modal-body {
  max-height: 70vh;
  overflow-y: auto;
  padding: 20px;
}

#new-field-dialog .form-group {
  margin-bottom: 15px;
}

#new-field-dialog .form-group:last-child {
  margin-bottom: 0;
}

#new-field-dialog textarea {
  resize: vertical;
  min-height: 80px;
}
