/* ── Experience Section ── */
.ge-section {
  margin: 30px 0 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.ge-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ge-section-header small {
  flex-basis: 100%;
  margin-top: 6px;
  margin-bottom: 10px;
}

.ge-section-header small .ge-learn-more {
  color: #c0392b !important;
  text-decoration: underline;
}

.ge-section-title {
  font-size: 1.05em;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ge-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: #f6a800;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 10px;
}

.ge-add-btn:hover {
  background: #d99200;
}

/* ── MM/YYYY text input ── */
.ge-mmyyyy-input {
  width: 110px;
  font-size: 0.95em;
  padding: 4px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.ge-mmyyyy-input:focus {
  outline: none;
  border-color: #b2b2b2;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.ge-mmyyyy-hint {
  display: block;
  font-size: 0.75em;
  color: #999;
  margin-top: 2px;
}

/* ── List of experience cards ── */
.ge-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ge-empty {
  color: #888;
  font-size: 0.9em;
  padding: 12px 0;
}

/* ── Experience card ── */
.ge-card {
  border: 1px solid #dcdcde;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.ge-card.ge-card-active {
  box-shadow: 0 0 0 2px #b2b2b2;
}

.ge-card-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
}

.ge-card-summary:hover {
  background: #f6f7f7;
}

.ge-summary-text {
  flex: 1;
  min-width: 0;
}

.ge-summary-role {
  font-weight: 600;
  font-size: 0.92em;
}

.ge-summary-studio {
  color: #FF5C36;
}

.ge-summary-dates {
  font-size: 0.82em;
  color: #646970;
  margin-top: 2px;
}

.ge-card-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 12px;
}

.ge-card-actions button,
.ge-card-actions .ge-claim-ownership-btn {
  padding: 4px 8px;
  border: 1px solid #dcdcde;
  border-radius: 3px;
  background: #f6f7f7;
  cursor: pointer;
  font-size: 0.78em;
  color: #50575e;
  transition: background 0.12s;
  font-family: inherit;
  line-height: inherit;
}

.ge-card-actions button:hover,
.ge-card-actions .ge-claim-ownership-btn:hover {
  background: #dcdcde;
}

.ge-card-actions .ge-delete-btn:hover {
  background: #d63638;
  color: #fff;
  border-color: #d63638;
}

/* ── Inline edit form ── */
.ge-card-form {
  display: none;
  padding: 16px;
  border-top: 1px solid #f0f0f1;
  background: #fafafa;
}

.ge-card.ge-card-editing .ge-card-form {
  display: block;
}

.ge-form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.ge-form-field {
  flex: 1;
  min-width: 140px;
}

.ge-form-field label {
  display: block;
  font-size: 0.8em;
  font-weight: 600;
  margin-bottom: 4px;
  color: #3c434a;
}

.ge-form-field input[type="text"],
.ge-form-field input[type="month"],
.ge-form-field select {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #8c8f94;
  border-radius: 4px;
  font-size: 0.88em;
  background: #fff;
  box-sizing: border-box;
}

.ge-form-field input:focus,
.ge-form-field select:focus {
  border-color: #999;
  box-shadow: 0 0 0 1px #999;
  outline: none;
}

.ge-current-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.ge-current-row label {
  font-size: 0.85em;
  cursor: pointer;
  user-select: none;
}

.ge-visibility-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.ge-visibility-row label {
  font-size: 0.85em;
  cursor: pointer;
  user-select: none;
}

.ge-visibility-badge {
  display: inline-block;
  font-size: 0.7em;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 10px;
  vertical-align: middle;
  margin-left: 4px;
}

.ge-visibility-badge.ge-visible {
  background: #e6f4ea;
  color: #1e7e34;
}

.ge-visibility-badge.ge-hidden {
  background: #fce8e6;
  color: #c53333;
}

.ge-visibility-badge.ge-pending {
  background: #fff3cd;
  color: #856404;
}
.ge-visibility-badge.ge-manual-review {
  background: #ede7f6;
  color: #5c3d8f;
}

/* ── Add New Studio ── */
.ge-add-studio-option {
  border-top: 1px solid #e0e0e0;
  color: #FF5C36;
  font-size: 0.9em;
  cursor: pointer;
}

.ge-add-studio-option:hover {
  background: #e8f4fd;
}

.ge-new-studio-form {
  background: #f8f9fb;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 14px;
  margin: 10px 0;
}

.ge-new-studio-title {
  font-weight: 600;
  font-size: 0.9em;
  margin-bottom: 10px;
  color: #1d2327;
}

.ge-new-studio-note {
  font-size: 0.8em;
  color: #856404;
  background: #fff3cd;
  padding: 6px 10px;
  border-radius: 4px;
  margin-top: 10px;
}

.ge-new-studio-submit {
  background: #FF5C36;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: 600;
  cursor: pointer;
}

.ge-new-studio-submit:hover {
  background: #135e96;
}

.ge-new-studio-cancel {
  background: transparent;
  border: 1px solid #ccc;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.85em;
  cursor: pointer;
}

.ge-new-studio-cancel:hover {
  border-color: #999;
}

.ge-form-actions {
  display: flex;
  gap: 8px;
}

.ge-save-btn {
  padding: 7px 16px;
  background: #f6a800;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: 600;
  cursor: pointer;
}

.ge-save-btn:hover {
  background: #d99200;
}

.ge-cancel-btn {
  padding: 7px 16px;
  background: #f6f7f7;
  color: #50575e;
  border: 1px solid #8c8f94;
  border-radius: 4px;
  font-size: 0.85em;
  cursor: pointer;
}

.ge-cancel-btn:hover {
  background: #dcdcde;
}

/* ── Studio autocomplete dropdown ── */
.ge-autocomplete-wrap {
  position: relative;
}

.ge-autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #8c8f94;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ge-autocomplete-list li {
  padding: 8px 10px;
  cursor: pointer;
  font-size: 0.88em;
}

.ge-autocomplete-list li:hover,
.ge-autocomplete-list li.ge-ac-active {
  background: #f0f6fc;
}

.ge-autocomplete-list li small {
  display: block;
  color: #787c82;
  font-size: 0.85em;
}

/* ── Minimap ── */
.ge-minimap-wrap {
  margin-top: 16px;
  border: 1px solid #dcdcde;
  border-radius: 6px;
  overflow: hidden;
}

.ge-minimap-title {
  padding: 8px 12px;
  font-size: 0.82em;
  font-weight: 600;
  background: #f6f7f7;
  border-bottom: 1px solid #dcdcde;
  color: #3c434a;
}

.ge-minimap {
  height: 220px;
  width: 100%;
}

.ge-minimap-empty {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.85em;
  background: #fafafa;
}

/* ── Status messages ── */
.ge-status {
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.85em;
  margin-bottom: 12px;
  display: none;
}

.ge-status-success {
  background: #edfaef;
  color: #1e7e34;
  border: 1px solid #c3e6cb;
}

.ge-status-error {
  background: #fce4e4;
  color: #a02020;
  border: 1px solid #f5c6cb;
}

/* ── SVG reset inside experience section ── */
.ge-section svg {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  vertical-align: middle;
  pointer-events: none;
  width: auto;
  height: auto;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .ge-form-row {
    flex-direction: column;
    gap: 0;
  }

  .ge-form-field {
    min-width: 100%;
    margin-bottom: 10px;
  }

  .ge-card-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .ge-card-actions {
    margin-left: 0;
    margin-top: 8px;
  }
}

/* ── Owner studio listing (graduate profile) ── */
.ge-owner-studios-section {
  margin-top: 28px;
}

.ge-owner-studio-card {
  border: 1px solid #dcdcde;
  border-radius: 6px;
  padding: 16px 18px;
  margin-bottom: 16px;
  background: #fafafa;
}

.ge-owner-studio-title {
  margin: 0 0 8px;
  font-size: 1.1em;
  color: #1d2327;
}

.ge-owner-form-grid {
  max-width: 720px;
}



