/* Workspace shell */

.workspace-layout {
  background: #FAFAF7;
}

.workspace-main {
  padding: 0;
  background: white;
}

.workspace-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  border-bottom: 0.5px solid #E8E5DC;
  background: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Breadcrumb */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #5F5E5A;
}

.breadcrumb-link {
  color: #185FA5;
  text-decoration: none;
}

.breadcrumb-link:hover {
  text-decoration: underline;
}

.breadcrumb-current {
  color: #1a1a1a;
  font-weight: 500;
}

.breadcrumb-separator {
  color: #B4B2A9;
}

/* Status pill */

.workspace-status .status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.status-free {
  background: #FAEEDA;
  color: #854F0B;
  border: 0.5px solid #EF9F27;
}

.status-free:hover {
  background: #FAC775;
}

.status-paid {
  background: #E1F5EE;
  color: #0F6E56;
  border: 0.5px solid #1D9E75;
}

/* Content area */

.workspace-content {
  padding: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hub placeholder */

.hub-empty {
  text-align: center;
  padding: 80px 24px;
  max-width: 640px;
  margin: 0 auto;
}

.hub-empty-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #185FA5;
  margin-bottom: 16px;
}

.hub-empty-title {
  font-family: Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  color: #0a0a0a;
  margin: 0 0 16px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hub-empty-subtitle {
  font-size: 15px;
  color: #5F5E5A;
  line-height: 1.6;
  margin: 0 0 32px;
}

.hub-empty-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hub-empty-note {
  font-size: 12px;
  color: #888780;
  font-style: italic;
}

/* Buttons */

.btn-primary {
  display: inline-block;
  padding: 12px 22px;
  background: #0a0a0a;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.btn-primary:hover {
  background: #2C2C2A;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 22px;
  background: white;
  color: #1a1a1a;
  border: 0.5px solid #B4B2A9;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}

.btn-secondary:hover {
  background: #F1EFE8;
  border-color: #888780;
}

/* Shortlist page */

.shortlist-header {
  margin-bottom: 32px;
}

.shortlist-title {
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  color: #0a0a0a;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.shortlist-meta {
  font-size: 13px;
  color: #5F5E5A;
}

.shortlist-empty {
  text-align: center;
  padding: 80px 24px;
}

.empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #F1EFE8;
  border-radius: 50%;
  color: #888780;
  margin-bottom: 16px;
}

.empty-title {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 8px;
}

.empty-subtitle {
  font-size: 14px;
  color: #5F5E5A;
  margin: 0 0 24px;
}

.shortlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.shortlist-tile {
  background: white;
  border: 0.5px solid #E8E5DC;
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
}

.shortlist-tile .tile-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #5F5E5A;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.shortlist-tile .tile-name {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 4px;
  line-height: 1.25;
}

.shortlist-tile .tile-location {
  font-size: 12px;
  color: #5F5E5A;
  margin-bottom: 12px;
}

.shortlist-tile .tile-stats {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.shortlist-tile .tile-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  align-items: center;
}

.shortlist-tile .tile-btn-view {
  font-size: 12px;
  color: #5F5E5A;
  text-decoration: none;
  font-weight: 500;
}

.shortlist-tile .tile-btn-view:hover {
  color: #185FA5;
}

/* Settings page */

.settings-page {
  max-width: 720px;
  margin: 0 auto;
}

.settings-header {
  margin-bottom: 32px;
}

.settings-title {
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

.settings-section {
  background: #FAFAF7;
  border: 0.5px solid #E8E5DC;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 16px;
}

.settings-section-warning {
  background: #FAEEDA;
  border-color: #EF9F27;
}

.section-heading {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  color: #0a0a0a;
  margin: 0 0 8px;
}

.section-subtitle {
  font-size: 13px;
  color: #5F5E5A;
  margin: 0 0 16px;
  line-height: 1.6;
}

.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 0.5px solid #E8E5DC;
}

.setting-row:last-child {
  border-bottom: none;
}

.setting-label {
  font-size: 12px;
  color: #5F5E5A;
}

.setting-value {
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 500;
}

.link-blue {
  color: #185FA5;
  text-decoration: none;
}

.link-blue:hover {
  text-decoration: underline;
}

/* ============================================
   Hub page
   ============================================ */

.hub-page {
  max-width: 800px;
}

.hub-header {
  margin-bottom: 32px;
}

.hub-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #185FA5;
  margin-bottom: 8px;
}

.hub-title {
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  color: #0a0a0a;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.hub-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hub-section {
  background: #FAFAF7;
  border: 0.5px solid #E8E5DC;
  border-radius: 12px;
  padding: 24px 28px;
}

.hub-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}

.hub-section-title {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  color: #0a0a0a;
  margin: 0;
}

.hub-section-link {
  font-size: 12px;
  color: #185FA5;
  text-decoration: none;
  font-weight: 500;
}

.hub-section-link:hover {
  text-decoration: underline;
}

/* Empty state */

.hub-empty-state {
  text-align: center;
  padding: 24px 0;
}

.hub-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #F1EFE8;
  border-radius: 50%;
  color: #888780;
  margin-bottom: 14px;
}

.hub-empty-text {
  font-size: 14px;
  color: #5F5E5A;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

/* Shortlist preview rows */

.hub-college-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
}

.hub-college-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 0.5px solid #E8E5DC;
  text-decoration: none;
  gap: 12px;
}

.hub-college-row:first-child {
  border-top: 0.5px solid #E8E5DC;
}

.hub-college-row:hover .hub-college-name {
  color: #185FA5;
}

.hub-college-info {
  flex: 1;
  min-width: 0;
}

.hub-college-name {
  font-size: 14px;
  font-weight: 500;
  color: #0a0a0a;
  line-height: 1.3;
  transition: color 0.15s;
}

.hub-college-meta {
  font-size: 11px;
  color: #5F5E5A;
  margin-top: 2px;
}

.hub-college-fee {
  font-size: 12px;
  color: #1a1a1a;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.hub-college-more {
  font-size: 12px;
  color: #888780;
  padding-top: 10px;
  font-style: italic;
}

.hub-shortlist-btn {
  display: inline-block;
}

/* Tools grid */

.hub-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hub-tool-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: white;
  border: 0.5px solid #E8E5DC;
  border-radius: 10px;
  padding: 16px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.hub-tool-card:hover:not(.hub-tool-locked) {
  border-color: #185FA5;
  background: #F7FBFF;
}

.hub-tool-locked {
  opacity: 0.55;
  cursor: default;
}

.hub-tool-locked:hover {
  border-color: #B4B2A9 !important;
  background: white !important;
}

.hub-tool-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #F1EFE8;
  border-radius: 8px;
  color: #5F5E5A;
  flex-shrink: 0;
}

.hub-tool-locked .hub-tool-icon {
  color: #B4B2A9;
}

.hub-tool-body {
  flex: 1;
  min-width: 0;
}

.hub-tool-name {
  font-size: 13px;
  font-weight: 500;
  color: #0a0a0a;
  margin-bottom: 3px;
}

.hub-tool-locked .hub-tool-name {
  color: #888780;
}

.hub-tool-desc {
  font-size: 11px;
  color: #5F5E5A;
  line-height: 1.4;
}

/* Upgrade section */

.hub-upgrade-section {
  background: #F7F4ED;
  border-color: #D3D1C7;
}

.hub-upgrade-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.hub-upgrade-text {
  flex: 1;
}

.hub-upgrade-heading {
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  color: #0a0a0a;
  margin: 0 0 8px;
  line-height: 1.4;
}

.hub-upgrade-sub {
  font-size: 13px;
  color: #5F5E5A;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */

@media (max-width: 768px) {
  .workspace-header {
    padding: 12px 16px;
  }

  .workspace-content {
    padding: 24px 16px 80px;
  }

  .hub-empty-title {
    font-size: 28px;
  }

  .shortlist-title,
  .settings-title {
    font-size: 28px;
  }

  .shortlist-grid {
    grid-template-columns: 1fr;
  }

  .hub-empty-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
  }

  .hub-title {
    font-size: 28px;
  }

  .hub-tools-grid {
    grid-template-columns: 1fr;
  }

  .hub-upgrade-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hub-upgrade-inner .btn-primary {
    align-self: stretch;
    text-align: center;
  }
}
