/* ================================
   RESUME BUILDER DASHBOARD
================================ */

.resume-builder-page {
  min-height: 100vh;
  padding: 2.5rem 6%;
  /* background: #f7fafc; */
  color: #0b1f3a;
}

.resume-builder-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.resume-builder-eyebrow,
.resume-card-label {
  color: #1ca7a3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resume-builder-header h1 {
  margin: 0.5rem 0 1rem;
  color: #0a2d64;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 1.05;
}

.resume-builder-header p,
.resume-list-header p,
.resume-card p {
  color: #42526e;
  line-height: 1.7;
}

.resume-builder-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: #0a2d64;
  color: white;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.resume-builder-primary-btn:hover {
  background: #12397d;
}

.resume-builder-guest-notice {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 24px;
  background: rgba(28, 167, 163, 0.08);
  border: 1px solid rgba(28, 167, 163, 0.18);
}

.resume-builder-guest-notice h2 {
  margin: 0 0 0.5rem;
  color: #0a2d64;
  font-size: 1.3rem;
}

.resume-builder-guest-notice p {
  margin: 0;
  color: #42526e;
}

.resume-list-section {
  margin-top: 2rem;
}

.resume-list-header {
  margin-bottom: 1.5rem;
}

.resume-list-header h2 {
  margin: 0;
  color: #0a2d64;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.resume-empty-state {
  max-width: 640px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 32px;
  background: white;
  border: 1px solid rgba(10, 45, 100, 0.08);
  box-shadow: 0 18px 50px rgba(10, 45, 100, 0.06);
}

.resume-empty-state img {
  width: min(260px, 80%);
  margin-bottom: 1.5rem;
}

.resume-empty-state h3 {
  color: #0a2d64;
  font-size: 1.6rem;
}

.resume-empty-state p {
  color: #42526e;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.resume-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.resume-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 1.6rem;
  border-radius: 28px;
  background: white;
  border: 1px solid rgba(10, 45, 100, 0.08);
  box-shadow: 0 14px 40px rgba(10, 45, 100, 0.05);
}

.resume-card h3 {
  margin: 0.85rem 0;
  color: #0a2d64;
  font-size: 1.35rem;
  line-height: 1.3;
}

.resume-card-role,
.resume-card-date {
  margin: 0.4rem 0;
}

.resume-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.resume-card-actions a,
.resume-card-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 45, 100, 0.15);
  background: #ffffff;
  color: #0a2d64;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.resume-card-actions a:hover,
.resume-card-actions button:hover {
  background: #eefafa;
}

.resume-card-actions .delete-btn {
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.2);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(11, 31, 58, 0.55);
}

.modal.is-open {
  display: flex;
}

.modal-content {
  width: min(460px, 100%);
  padding: 2rem;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.modal-content h3 {
  margin: 0 0 0.75rem;
  color: #0a2d64;
}

.modal-content p {
  color: #42526e;
  line-height: 1.7;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.confirm-btn,
.cancel-btn {
  flex: 1;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.confirm-btn {
  border: none;
  background: #b42318;
  color: white;
}

.cancel-btn {
  border: 1px solid rgba(10, 45, 100, 0.15);
  background: white;
  color: #0a2d64;
}

/* Responsive */
@media (max-width: 1100px) {
  .resume-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .resume-builder-page {
    padding: 2rem 1.25rem;
  }

  .resume-builder-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .resume-builder-primary-btn {
    width: 100%;
  }

  .resume-card-grid {
    grid-template-columns: 1fr;
  }

  .resume-card {
    min-height: auto;
  }

  .modal-actions {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .resume-builder-page {
    padding: 1.5rem 1rem;
  }

  .resume-builder-header h1 {
    font-size: 2.3rem;
    text-wrap: balance;
  }

  .resume-empty-state,
  .resume-card,
  .modal-content {
    border-radius: 24px;
  }
}
@media (max-width: 1100px) {
    .left-sidebar {
        display: none;
    }
    .main-view-container {
        margin: 0;
        gap: 2rem;
    }
}
