/* ========================================
 * GLOBAL STYLES
 * ========================================
 * Global CSS reset and base styles for the entire application
 * 
 * 📋 For file structure guidelines, refer to:
 *    docs/conventions/03-naming.md
 * ======================================== */

/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
}

#root {
  width: 100%;
  margin: 0;
  padding: 0;
}
/* ========================================
 * ERROR BOUNDARY STYLES
 * ========================================
 * Styling for error boundary fallback UI
 * 
 * 📋 For file structure guidelines, refer to:
 *    docs/conventions/03-naming.md
 * ======================================== */

/* ===== ERROR BOUNDARY CONTAINER ===== */
/* Full viewport overlay above module chrome (operations header uses z-index 10000) */
.error-boundary {
  position: fixed;
  inset: 0;
  z-index: 2147483020;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) 20px 24px;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.72);
  overflow: hidden;
}

.error-boundary-content {
  text-align: center;
  width: 100%;
  max-width: min(960px, 96vw);
  max-height: min(92vh, 900px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  padding: 32px 36px;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  border: 1px solid #e2e8f0;
}

/* ===== ERROR ICON ===== */
.error-boundary-icon {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.8;
}

/* ===== ERROR TITLE ===== */
.error-boundary-title {
  color: #2c3e50;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px 0;
  font-family: 'Roboto', sans-serif;
}

/* ===== ERROR MESSAGE ===== */
.error-boundary-message {
  color: #6c757d;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 30px 0;
  font-family: 'Roboto', sans-serif;
}

/* ===== ERROR ACTIONS ===== */
.error-boundary-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-boundary-retry-btn,
.error-boundary-refresh-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Roboto', sans-serif;
}

.error-boundary-retry-btn {
  background: #5c737d;
  color: white;
}

.error-boundary-retry-btn:hover {
  background: #4a5d66;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(92, 115, 125, 0.3);
}

.error-boundary-refresh-btn {
  background: #e9ecef;
  color: #495057;
  border: 1px solid #dee2e6;
}

.error-boundary-refresh-btn:hover {
  background: #dee2e6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== ERROR DETAILS (DEVELOPMENT) ===== */
.error-boundary-details {
  margin-top: 24px;
  text-align: left;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  min-height: 0;
}

.error-boundary-details-summary {
  cursor: pointer;
  font-weight: 600;
  color: #495057;
  margin-bottom: 12px;
  font-family: 'Roboto', sans-serif;
  list-style: none;
}

.error-boundary-details-summary::-webkit-details-marker {
  display: none;
}

.error-boundary-details-body {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.error-boundary-details-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.error-boundary-copy-btn {
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #5c737d;
  background: #5c737d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
}

.error-boundary-copy-btn:hover {
  background: #4a5d66;
  border-color: #4a5d66;
}

.error-boundary-stack {
  min-height: 120px;
  max-height: min(52vh, 560px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #1e293b;
  color: #e2e8f0;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  border: 1px solid #334155;
  margin: 0;
}

/* ===== TABLET VIEW STYLES (768px and below) ===== */
@media (max-width: 768px) {
  .error-boundary {
    padding: 12px 14px 20px;
  }

  .error-boundary-content {
    padding: 24px 20px;
    max-height: 94vh;
  }

  .error-boundary-icon {
    font-size: 40px;
    margin-bottom: 16px;
  }

  .error-boundary-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .error-boundary-message {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .error-boundary-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-boundary-retry-btn,
  .error-boundary-refresh-btn {
    width: 100%;
    max-width: 200px;
  }
}

/* ===== MOBILE VIEW STYLES (480px and below) ===== */
@media (max-width: 480px) {
  .error-boundary {
    padding: 10px 12px 16px;
  }

  .error-boundary-content {
    padding: 20px 16px;
    max-height: 95vh;
  }

  .error-boundary-stack {
    max-height: min(48vh, 340px);
    font-size: 11px;
  }

  .error-boundary-icon {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .error-boundary-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .error-boundary-message {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .error-boundary-retry-btn,
  .error-boundary-refresh-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}
/* ========================================
 * LOADING SPINNER STYLES
 * ========================================
 * Styling for loading spinner component
 * 
 * 📋 For file structure guidelines, refer to:
 *    docs/conventions/03-naming.md
 * ======================================== */

/* ===== LOADING SPINNER CONTAINER ===== */
.loading-spinner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.loading-spinner-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.loading-spinner-circle {
  border-radius: 50%;
  animation: loading-spinner-bounce 1.4s ease-in-out infinite both;
}

/* ===== SIZE VARIANTS ===== */
.loading-spinner-small .loading-spinner-circle {
  width: 6px;
  height: 6px;
}

.loading-spinner-medium .loading-spinner-circle {
  width: 8px;
  height: 8px;
}

.loading-spinner-large .loading-spinner-circle {
  width: 12px;
  height: 12px;
}

/* ===== COLOR VARIANTS ===== */
.loading-spinner-primary .loading-spinner-circle {
  background-color: #5c737d;
}

.loading-spinner-secondary .loading-spinner-circle {
  background-color: #6c757d;
}

.loading-spinner-white .loading-spinner-circle {
  background-color: #ffffff;
}

/* ===== ANIMATION DELAYS ===== */
.loading-spinner-circle:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-spinner-circle:nth-child(2) {
  animation-delay: -0.16s;
}

.loading-spinner-circle:nth-child(3) {
  animation-delay: 0s;
}

/* ===== LOADING TEXT ===== */
.loading-spinner-text {
  margin-top: 16px;
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  font-family: 'Roboto', sans-serif;
}

.loading-spinner-fullscreen .loading-spinner-text {
  color: #2c3e50;
  font-size: 16px;
  font-weight: 600;
}

/* ===== ANIMATION KEYFRAMES ===== */
@keyframes loading-spinner-bounce {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== TABLET VIEW STYLES (768px and below) ===== */
@media (max-width: 768px) {
  .loading-spinner-container {
    padding: 16px;
  }

  .loading-spinner-text {
    font-size: 13px;
    margin-top: 12px;
  }

  .loading-spinner-fullscreen .loading-spinner-text {
    font-size: 15px;
  }
}

/* ===== MOBILE VIEW STYLES (480px and below) ===== */
@media (max-width: 480px) {
  .loading-spinner-container {
    padding: 12px;
  }

  .loading-spinner-text {
    font-size: 12px;
    margin-top: 10px;
  }

  .loading-spinner-fullscreen .loading-spinner-text {
    font-size: 14px;
  }
}
/* NOTIFICATION TOAST STYLES */

/* ===== TOAST CONTAINER ===== */
.notification-toast-container {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 460px;
  pointer-events: none;
}

/* ===== INDIVIDUAL TOAST ===== */
.notification-toast {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  background: #1a2233; /* Unified Dark Background */
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  width: 420px;
  position: relative;
  overflow: hidden;
  margin-bottom: 8px;
  backdrop-filter: blur(12px);
  color: #f1f5f9;
}

.notification-toast:hover {
  background: #242c3d;
  transform: translateY(-2px);
}

.notification-toast.toast-exit {
  animation: toastSlideOut 0.2s ease forwards;
}

/* Body Layout */
.toast-body {
  padding: 18px 20px 18px 12px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

/* Left Column: Icon + Category Name Below */
.toast-left-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 65px;
  flex-shrink: 0;
}

.toast-icon-wrapper {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24; /* Amber icon color */
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.toast-category-name {
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  padding: 2px 8px;
  border-radius: 6px;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

/* Main Column: ActionBadge, Time, Message */
.toast-main-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.toast-action-badge {
  font-size: 10.5px;
  font-weight: 900;
  color: #fff;
  padding: 2.5px 12px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.toast-time-meta {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  opacity: 0.8;
}

.toast-message-text {
  font-size: 15px;
  line-height: 1.45;
  color: #e2e8f0;
  font-weight: 500;
  letter-spacing: -0.1px;
}

/* Animations */
@keyframes toastSlideIn {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes toastSlideOut {
  0% { opacity: 1; }
  100% { opacity: 0; transform: scale(0.96); }
}

/* ===== TOAST PROGRESS (THICKER & MORE VISIBLE) ===== */
.notification-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px; /* Thicker line */
  background: rgba(255, 255, 255, 0.04);
}

.notification-toast-progress-bar {
  height: 100%;
  animation: toastProgress linear forwards;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Distinctive visible colors for the progress bar */
.notification-toast-progress-bar { background: #3b82f6; } /* Default Blue */
.notification-toast-progress-bar.toast-priority-high { background: #f87171; } /* Bright Red */
.notification-toast-progress-bar.toast-priority-medium { background: #fbbf24; } /* Bright Amber */
.notification-toast-progress-bar.toast-priority-low { background: #4ade80; } /* Bright Green */

@keyframes toastProgress {
  0% { width: 100%; }
  100% { width: 0%; }
}
/* ========================================
 * HOMEPAGE HEADER FAQ STYLES
 * ======================================== */

.homepage-faq-button {
  background: none;
  border: 1px solid rgba(43, 143, 175, 0.4);
  color: #2b8faf;
  padding: 6px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homepage-faq-button:hover {
  background-color: #2b8faf;
  color: white;
  border-color: #2b8faf;
}

/* ===== FAQ OVERLAY ===== */
.homepage-faq-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: flex-end; /* Align to right */
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
  animation: fadeInFAQ 0.3s ease-out;
}

@keyframes fadeInFAQ {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== FAQ CONTENT CONTAINER (Panel sliding from right) ===== */
.homepage-faq-content {
  width: min(900px, 60vw);
  min-width: 600px;
  max-width: 1100px;
  height: 100vh;
  background-color: white;
  display: flex;
  flex-direction: column;
  animation: slideInFromRightFAQ 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

@keyframes slideInFromRightFAQ {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* ===== FAQ HEADER ===== */
.homepage-faq-header {
  height: 60px;
  background-color: #2b8faf;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 25px;
  flex-shrink: 0;
  position: relative;
}

.homepage-faq-header-center {
  display: flex;
  align-items: center;
  gap: 12px;
}

.homepage-faq-icon-wrapper {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.homepage-faq-title {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: white;
}

.homepage-faq-close-btn {
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.2s ease;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homepage-faq-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.05);
}

/* ===== FAQ CONTROLS ===== */
.homepage-faq-controls {
  padding: 15px 25px;
  background-color: #ffffff;
  border-bottom: 1px solid #f1f1f1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.homepage-faq-search-section {
  flex: 1;
}

.homepage-faq-search-wrapper {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 8px 15px;
  width: 250px;
  transition: all 0.2s ease;
}

.homepage-faq-search-wrapper:focus-within {
  border-color: #2b8faf;
  background: white;
  box-shadow: 0 0 0 3px rgba(43, 143, 175, 0.1);
}

.homepage-faq-search-input {
  width: 100%;
  border: none;
  font-size: 14px;
  outline: none;
  color: #333;
  background: transparent;
}

.homepage-faq-search-input::placeholder {
  color: #999;
}

.homepage-faq-filters {
  display: flex;
  gap: 10px;
  align-items: center;
}

.homepage-faq-filter-btn {
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid #f1f1f1;
  background: #f8f9fa;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #6c757d;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 80px;
}

.homepage-faq-filter-btn:hover {
  background-color: #ffffff;
  border-color: rgba(43, 143, 175, 0.3);
  color: #2b8faf;
}

.homepage-faq-filter-btn.active {
  background-color: #2b8faf;
  color: white;
  border-color: #2b8faf;
  box-shadow: 0 4px 12px rgba(43, 143, 175, 0.2);
}

/* ===== FAQ BODY ===== */
.homepage-faq-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 25px;
  background-color: #fcfcfc;
}

.homepage-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.homepage-faq-item {
  background-color: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.homepage-faq-item:hover {
  border-color: rgba(43, 143, 175, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.homepage-faq-item.active {
  border-color: rgba(43, 143, 175, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.homepage-faq-question {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: #fff;
  transition: background-color 0.2s;
}

.homepage-faq-question-text {
  font-weight: 500;
  font-size: 15px;
  color: #333;
  line-height: 1.4;
}

.homepage-faq-arrow {
  font-size: 12px;
  color: #bbb;
  transition: all 0.3s ease;
}

.homepage-faq-item.active .homepage-faq-arrow {
  color: #2b8faf;
  transform: rotate(180deg);
}

.homepage-faq-answer {
  padding: 0 24px 20px 24px;
  background-color: white;
  color: #666;
  animation: slideDownFade 0.3s ease-out;
}

@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.homepage-faq-answer p {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.homepage-faq-no-results {
  text-align: center;
  padding: 80px 20px;
  color: #999;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .homepage-faq-content {
    width: 100vw;
    min-width: 100vw;
  }
  
  .homepage-faq-controls {
    flex-direction: column;
    align-items: stretch;
    padding: 15px 20px;
  }
  
  .homepage-faq-search-wrapper {
    width: 100%;
    margin-bottom: 10px;
  }

  .homepage-faq-filters {
    overflow-x: auto;
    padding-bottom: 5px;
    justify-content: flex-start;
  }

  .homepage-faq-filter-btn {
    flex: 0 0 auto;
  }
}

/* ========================================
 * HOMEPAGE HEADER STYLES
 * ========================================
 * Main homepage header component with navigation and branding
 * 
 * 📋 For file structure guidelines, refer to:
 *    docs/conventions/03-naming.md
 * ======================================== */

/* ===== PAGE LEVEL SETTINGS ===== */
.homepage-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  min-height: 60px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 12px;
}

.homepage-header .header-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 120px;
}

.homepage-header .header-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: 100%;
}

.homepage-header .header-logo img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.homepage-header .header-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  white-space: nowrap;
}

.homepage-header .header-right-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 10px;
  min-width: 200px;
}

/* ===== ADMIN DROPDOWN STYLES ===== */
.homepage-header .admin-dropdown-container {
  position: relative;
}

.homepage-header .admin-dropdown-container a {
  text-decoration: none;
}

.homepage-header .admin-button {
  background-color: #5c737d;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.homepage-header .admin-button:hover {
  background-color: #4a5d63;
}

/* Active state (when on admin pages) */
.homepage-header .admin-button.admin-active {
  background-color: #4a5d63;
  border: 3px solid #2b8faf;
}

/* Logged-in state */
.homepage-header .admin-button.admin-logged-in {
  background-color: #10b981;
  padding: 6px 14px;
}

.homepage-header .admin-button.admin-logged-in:hover {
  background-color: #059669;
}

.homepage-header .admin-avatar {
  font-size: 16px;
  line-height: 1;
}

.homepage-header .admin-username {
  font-size: 14px;
  font-weight: 500;
}

.homepage-header .admin-dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1500;
}

.homepage-header .admin-dropdown-menu {
  padding: 8px 0;
}

.homepage-header .admin-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease;
  cursor: pointer;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
}

.homepage-header .admin-dropdown-item:hover {
  background-color: #f3f4f6;
}

.homepage-header .admin-logout-btn {
  border-top: 1px solid #e5e7eb;
}

/* ========================================
 * 2. LOGO & BRANDING STYLES
 * ======================================== */

/* ========================================
 * 3. NAVIGATION ELEMENTS
 * ======================================== */

/* ========================================
 * 4. RESPONSIVE DESIGN
 * ======================================== */
/* 
 * BREAKPOINT STANDARDIZATION:
 * Both homepage-body.css and homepage-header.css MUST have the same breakpoints:
 * - 768px: Tablet/Mobile layout
 * - 480px: Small mobile adjustments  
 * - 360px: Extra small mobile optimizations
 */

/* ===== RESPONSIVE: TABLET (<= 768px) ===== */
@media (max-width: 768px) {
  .homepage-header {
    padding: 0 10px;
    height: 50px;
    min-height: 50px;
  }
  
  .homepage-header .header-logo {
    min-width: 80px;
    flex: 0 0 auto;
  }
  
  .homepage-header .header-logo img {
    height: 45px;
  }
  
  .homepage-header .header-title {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 200px);
  }
  
  .homepage-header .header-right-panel {
    min-width: auto;
    gap: 8px;
    flex: 0 0 auto;
  }
  
  .homepage-header .admin-button {
    padding: 8px 14px;
    font-size: 14px;
    min-width: 75px;
  }
  
  .homepage-header .faq-button {
    padding: 8px 14px;
    font-size: 14px;
    min-width: 75px;
  }
  
  .dkg-login-faq-modal-content {
    width: 100%;
    height: 100vh;
  }
  
  .dkg-login-faq-modalheader-21 {
    padding: 16px 20px;
  }
  
  .dkg-login-faq-modalheader-21 h3 {
    font-size: 16px;
  }
  
  .dkg-login-faq-modalbody-21 {
    padding: 20px;
    flex: 1;
  }
  
  .dkg-screen-faq-accodion-suMM {
    padding: 16px 20px;
  }
  
  .faq-question {
    font-size: 14px;
  }
  
  .faq-answer {
    padding: 20px;
    font-size: 13px;
  }
}

/* ===== RESPONSIVE: MOBILE (<= 480px) ===== */
@media (max-width: 480px) {
  .homepage-header {
    padding: 0 8px;
    height: 48px;
    min-height: 48px;
  }
  
  .homepage-header .header-logo {
    min-width: 70px;
    flex: 0 0 auto;
  }
  
  .homepage-header .header-logo img {
    height: 42px;
  }
  
  .homepage-header .header-title {
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 180px);
  }
  
  .homepage-header .header-right-panel {
    min-width: auto;
    gap: 6px;
    flex: 0 0 auto;
  }
  
  .homepage-header .admin-button {
    padding: 7px 12px;
    font-size: 13px;
    min-width: 70px;
  }
  
  .homepage-header .faq-button {
    padding: 7px 12px;
    font-size: 13px;
    min-width: 70px;
  }
}

/* ===== RESPONSIVE: SMALL MOBILE (<= 360px) ===== */
@media (max-width: 360px) {
  .homepage-header {
    padding: 0 6px;
    height: 46px;
    min-height: 46px;
  }
  
  .homepage-header .header-logo {
    min-width: 60px;
    flex: 0 0 auto;
  }
  
  .homepage-header .header-logo img {
    height: 40px;
  }
  
  .homepage-header .header-title {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 160px);
  }
  
  .homepage-header .header-right-panel {
    min-width: auto;
    gap: 6px;
    flex: 0 0 auto;
  }
  
  .homepage-header .admin-button {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 65px;
  }
  
  .homepage-header .faq-button {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 65px;
  }
} /* ========================================
 * HOMEPAGE BODY STYLES
 * ========================================
 * Main homepage body component with module cards and content
 * 
 * 📋 For file structure guidelines, refer to:
 *    docs/conventions/03-naming.md
 * 
 * MODULE COLOR REFERENCE
 * ========================================
 * UPDATED: Now using solid colors for better visual appearance
 * 
 * 1. DK GLOBAL MANAGEMENT (Magenta)
 *    Card & Button: #9d265c
 *    Login File: src/modules/management/pages/1-Login/management-login.css
 * 
 * 2. DK GLOBAL OPERATIONS (Teal)
 *    Card & Button: #006666
 *    Login File: src/modules/operations/pages/1-Login/operations-login.css
 * 
 * 3. DK GLOBAL WORKFORCE (Purple)
 *    Card & Button: #667eea
 *    Login File: src/modules/workforce/pages/login/workforce-login.css
 * 
 * 4. DK GLOBAL WORKSPACE (Blue)
 *    Card & Button: #2b8faf
 *    Login File: src/modules/workspace/1-Login/pages/workspace-recruitment-login.css
 * 
 * 5. DK GLOBAL RECRUITERS (Dark Blue-Gray)
 *    Card & Button: #2c3e50
 *    Login File: src/modules/suppliers/pages/login/suppliers-login.css
 * 
 * 6. DK GLOBAL PARTNERS (Gray)
 *    Card & Button: #3b4a51
 *    Login File: src/modules/partners/pages/partners-login.css
 * 
 * 7. DK GLOBAL JOBSEEKERS (Dark Blue)
 *    Card & Button: #00506e
 *    Login File: src/modules/jobseekers/pages/jobseekers-login.css
 * 
 * 8. DK GLOBAL WEBSITE (Dark Gray)
 *    Card & Button: #3b4a51
 *    Login File: src/modules/consultants/pages/consultants-login.css
 * 
 * 🔴  UPDATED RULES:
 * - HOMEPAGE CARDS: Now use solid colors for better visual appearance
 * - LOGIN PAGES: Still use gradients (login pages unchanged)
 * - OTHER FILES (navbar, headers, etc.): Use solid colors only
 * - Homepage cards now have cleaner, more professional solid color appearance
 * ========================================
 * 
 * Contents:
 * 1. Main Container Layout
 * 2. Card Grid System
 * 3. Individual Card Styles
 * 4. Card Hover & Focus States
 * 5. Card Content Elements
 * 6. Module-Specific Color Classes
 * 7. Mobile Responsive Styles
 * 8. Accessibility & Interactions
 * ========================================
 */

/* ========================================
 * 0. PAGE WRAPPER
 * Main area fills first viewport so legal footer
 * stays below the fold on large screens.
 * ======================================== */
.homepage-body-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.homepage-body-page .homepage-body-container {
  flex: 1 0 auto;
  /* Fixed header is out of flow (60px). Fill the rest of the viewport. */
  min-height: calc(100vh - 60px);
}

/* ========================================
 * 1. MAIN CONTAINER LAYOUT
 * ======================================== */
.homepage-body-container {
  margin: 0;
  padding: 80px 2rem 100px 2rem;
  margin-top: 60px;
  min-height: calc(100vh - 60px);
  background-color: #fff;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
}

.homepage-body-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: block;
}

.homepage-body-modules {
  width: 100%;
}

/* ========================================
 * 2. CARD GRID SYSTEM
 * ======================================== */
.dkg-crm-card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 0 2rem 0;
  box-sizing: border-box;
}

/* ========================================
 * 3. INDIVIDUAL CARD STYLES
 * ======================================== */
.dkg-crm-main-card {
  align-items: center;
  background-color: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  height: 250px;
  justify-content: center;
  text-align: center;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #333;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

/* ========================================
 * 4. CARD HOVER & FOCUS STATES
 * ======================================== */
.dkg-crm-main-card:hover,
.dkg-crm-main-card:focus {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 1px;
}

.dkg-crm-main-card:active {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
}

/* ========================================
 * 5. CARD CONTENT ELEMENTS
 * ======================================== */
.dkg-usertype-image-crop {
  position: relative;
  background-color: rgba(255, 255, 255, 0.2);
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
}

.dkg-crm-main-card:hover .dkg-usertype-image-crop {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.dkg-usertype-image {
  height: 60px;
  width: 60px;
  object-fit: contain;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.dkg-acc-type-tabcon {
  margin-top: 0;
  width: 100%;
}

.dkg-acc-type-tabname {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 12px 25px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  z-index: 1;
}

.dkg-crm-main-card:hover .dkg-acc-type-tabname {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  color: rgba(255, 255, 255, 0.85);
}

.dkg-crm-main-card:active .dkg-acc-type-tabname {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dkg-acc-type-tabname:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s;
  z-index: -1;
}

.dkg-crm-main-card:hover .dkg-acc-type-tabname:before {
  left: 100%;
}

/* Mobile View */
.homepage-body-mobile-content {
  width: 100%;
  display: none;
  flex-direction: column;
  padding: 0;
  box-sizing: border-box;
  height: auto;
  overflow: visible;
}

.dkg-crm-mo-card-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  height: auto;
  min-height: 100%;
  padding: 15px;
  box-sizing: border-box;
  overflow: visible;
}

.dkg-crm-mo-card-row {
  display: flex;
  gap: 12px;
  width: 100%;
  flex: 1;
}

.dkg-crm-main-mo-card {
  width: 100%;
  height: 100%;
  min-height: 80px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
  padding: 15px 12px;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.dkg-crm-main-mo-card:hover,
.dkg-crm-main-mo-card:focus {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: #fff;
  transform: translateY(-2px);
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 1px;
}

.dkg-crm-main-mo-card:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
}

.dkg-crm-main-mo-card .dkg-usertype-image-crop {
  width: 45px;
  height: 45px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dkg-crm-main-mo-card .dkg-usertype-image {
  height: 30px;
  width: 30px;
}

.dkg-crm-main-mo-card .dkg-acc-type-tabname {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  border: none;
  background-color: transparent;
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.2;
  box-shadow: none;
  text-shadow: none;
}

.dkg-mo-box-btmtitle {
  display: block;
  font-size: inherit;
  text-transform: inherit;
  text-decoration: inherit;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  margin: 0;
  padding: 0;
}

/* ========================================
 * 6. MODULE-SPECIFIC COLOR CLASSES
 * ======================================== */

/* Desktop card colors - solid colors */
.dkg-crm-main-card.dkg-management-bg {
  background: #9d265c;
}

.dkg-crm-main-card.dkg-operations-bg {
  background: #006666;
}

.dkg-crm-main-card.dkg-workforce-bg {
  background: #667eea;
}

.dkg-crm-main-card.dkg-workspace-recruitment-bg {
  background: #2b8faf;
}

.dkg-crm-main-card.dkg-recruiters-bg {
  background: #2c3e50;
}

.dkg-crm-main-card.dkg-consultants-bg {
  background: #4d4262;
}

.dkg-crm-main-card.dkg-partners-bg {
  background: #3b4a51;
}

.dkg-crm-main-card.dkg-jobseekers-bg {
  background: #00506e;
}

/* Desktop button background colors matching card colors - solid colors */
.dkg-crm-main-card.dkg-management-bg .dkg-acc-type-tabname {
  background: #9d265c;
  color: white;
}

.dkg-crm-main-card.dkg-operations-bg .dkg-acc-type-tabname {
  background: #006666;
  color: white;
}

.dkg-crm-main-card.dkg-workspace-recruitment-bg .dkg-acc-type-tabname {
  background: #2b8faf;
  color: white;
}

.dkg-crm-main-card.dkg-workforce-bg .dkg-acc-type-tabname {
  background: #667eea;
  color: white;
}

.dkg-crm-main-card.dkg-recruiters-bg .dkg-acc-type-tabname {
  background: #2c3e50;
  color: white;
}

.dkg-crm-main-card.dkg-consultants-bg .dkg-acc-type-tabname {
  background: #4d4262;
  color: white;
}

.dkg-crm-main-card.dkg-partners-bg .dkg-acc-type-tabname {
  background: #3b4a51;
  color: white;
}

.dkg-crm-main-card.dkg-jobseekers-bg .dkg-acc-type-tabname {
  background: #00506e;
  color: white;
}

/* ========================================
 * 7. MOBILE RESPONSIVE STYLES
 * ======================================== */

/* Tablet View - 768px and below */
@media (max-width: 768px) {
  .homepage-body-container {
    margin-top: 60px;
    height: auto;
    min-height: calc(100vh - 60px);
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: visible;
  }

  .homepage-body-content {
    display: block;
    width: 100%;
  }

  .homepage-body-modules {
    display: none;
  }

  .homepage-body-mobile-content {
    display: grid;
  }

  /* Mobile card colors - solid colors */
  .dkg-crm-main-mo-card.dkg-management-bg {
    background: #9d265c;
  }

  .dkg-crm-main-mo-card.dkg-operations-bg {
    background: #006666;
  }

  .dkg-crm-main-mo-card.dkg-workforce-bg {
    background: #667eea;
  }

  .dkg-crm-main-mo-card.dkg-workspace-recruitment-bg {
    background: #2b8faf;
  }

  .dkg-crm-main-mo-card.dkg-recruiters-bg {
    background: #2c3e50;
  }

  .dkg-crm-main-mo-card.dkg-consultants-bg {
    background: #4d4262;
  }

  .dkg-crm-main-mo-card.dkg-partners-bg {
    background: #3b4a51;
  }

  .dkg-crm-main-mo-card.dkg-jobseekers-bg {
    background: #00506e;
  }

  /* Mobile button colors - solid colors */
  .dkg-crm-main-mo-card.dkg-management-bg .dkg-acc-type-tabname {
    background: #9d265c;
    color: white;
  }

  .dkg-crm-main-mo-card.dkg-operations-bg .dkg-acc-type-tabname {
    background: #006666;
    color: white;
  }

  .dkg-crm-main-mo-card.dkg-workforce-bg .dkg-acc-type-tabname {
    background: #667eea;
    color: white;
  }

  .dkg-crm-main-mo-card.dkg-workspace-recruitment-bg .dkg-acc-type-tabname {
    background: #2b8faf;
    color: white;
  }

  .dkg-crm-main-mo-card.dkg-recruiters-bg .dkg-acc-type-tabname {
    background: #2c3e50;
    color: white;
  }

  .dkg-crm-main-mo-card.dkg-consultants-bg .dkg-acc-type-tabname {
    background: #4d4262;
    color: white;
  }

  .dkg-crm-main-mo-card.dkg-partners-bg .dkg-acc-type-tabname {
    background: #3b4a51;
    color: white;
  }

  .dkg-crm-main-mo-card.dkg-jobseekers-bg .dkg-acc-type-tabname {
    background: #00506e;
    color: white;
  }
}

/* Responsive Design */

@media (max-width: 768px) {
  .homepage-body-container {
    margin-top: 60px;
    height: auto;
    min-height: calc(100vh - 60px);
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: visible;
  }

  .homepage-body-content {
    display: block;
    width: 100%;
  }

  .homepage-body-modules {
    display: none;
  }

  .homepage-body-mobile-content {
    display: grid;
    padding: 0;
    height: auto;
    min-height: calc(100vh - 120px);
    width: 100%;
    overflow: visible;
  }

  /* Override desktop card container padding for mobile */
  .dkg-crm-card-container {
    padding: 0;
  }

  /* Apply flexbox layout for 768px (2 cards per row) */
  .dkg-crm-mo-card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    width: 100%;
    height: 100%;
  }

  .dkg-crm-mo-card-row {
    display: flex;
    gap: 20px;
    width: 100%;
    flex: 1;
  }

  /* Ensure mobile cards fill viewport exactly */
  .dkg-crm-main-mo-card {
    height: 100%;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px;
  }

  /* Remove shadows from button titles in 768px */
  .dkg-crm-main-mo-card .dkg-acc-type-tabname {
    box-shadow: none;
    text-shadow: none;
    background-color: transparent;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 0;
  }

  /* Specifically target WORKFORCE card to remove shadow */
  .dkg-crm-main-mo-card.dkg-client-bg .dkg-acc-type-tabname {
    box-shadow: none;
    text-shadow: none;
    background-color: #764ba2;
  }

  /* Ultra-specific shadow removal for all mobile cards */
  .dkg-crm-mo-card-container .dkg-crm-main-mo-card .dkg-acc-type-tabname {
    box-shadow: none;
    text-shadow: none;
    filter: none;
  }

  /* Remove all shadows from mobile cards completely */
  .dkg-crm-main-mo-card .dkg-acc-type-tabname,
  .dkg-crm-main-mo-card .dkg-acc-type-tabname * {
    box-shadow: none;
    text-shadow: none;
    filter: none;
  }

  /* Make icons bigger in 768px */
  .dkg-crm-main-mo-card .dkg-usertype-image-crop {
    width: 65px;
    height: 65px;
    margin-bottom: 15px;
  }

  .dkg-crm-main-mo-card .dkg-usertype-image {
    height: 50px;
    width: 50px;
  }
}

@media (max-width: 480px) {
  .homepage-body-container {
    height: auto;
    min-height: calc(100vh - 60px);
  }

  .homepage-body-mobile-content {
    padding: 0;
    height: auto;
    min-height: calc(100vh - 120px);
  }

  .dkg-crm-mo-card-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px;
    width: 100%;
    height: 100%;
  }

  .dkg-crm-mo-card-row {
    display: flex;
    gap: 18px;
    width: 100%;
    flex: 1;
  }

  .dkg-crm-main-mo-card {
    height: 100%;
    min-height: 50px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .dkg-crm-main-mo-card .dkg-usertype-image-crop {
    width: 55px;
    height: 55px;
    margin-bottom: 15px;
  }

  .dkg-crm-main-mo-card .dkg-usertype-image {
    height: 40px;
    width: 40px;
  }

  .dkg-crm-main-mo-card .dkg-acc-type-tabname {
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: none;
    text-shadow: none;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 360px) {
  .homepage-body-container {
    height: auto;
    min-height: calc(100vh - 60px);
  }

  .homepage-body-mobile-content {
    padding: 0;
    height: auto;
  }

  .dkg-crm-mo-card-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    width: 100%;
    height: 100%;
  }

  .dkg-crm-mo-card-row {
    display: flex;
    gap: 15px;
    width: 100%;
    flex: 1;
  }

  .dkg-crm-main-mo-card {
    height: 100%;
    min-height: 50px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .dkg-crm-main-mo-card .dkg-usertype-image-crop {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }

  .dkg-crm-main-mo-card .dkg-usertype-image {
    height: 35px;
    width: 35px;
  }

  .dkg-crm-main-mo-card .dkg-acc-type-tabname {
    padding: 3px 6px;
    font-size: 10px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: none;
    text-shadow: none;
    letter-spacing: 0.3px;
  }
}
.crm-legal-footer {
  width: 100%;
  background-color: #0f172a;
  color: #e5e7eb;
  padding: 40px 24px 20px;
  flex-shrink: 0;
}

.crm-legal-footer-grid {
  max-width: 1200px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.crm-legal-footer-about-content {
  display: flex;
  gap: 24px;
}

.crm-legal-footer-about-content .crm-legal-footer-text {
  flex: 1;
  margin-bottom: 0;
}

.crm-legal-footer-column {
  min-width: 0;
}

.crm-legal-footer-title {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.crm-legal-footer-text {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
}

.crm-legal-footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.crm-legal-footer-list li {
  margin-bottom: 8px;
}

.crm-legal-footer-link {
  color: #93c5fd;
  text-decoration: none;
  font-size: 13px;
}

.crm-legal-footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.crm-legal-footer-contact-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 6px;
  background-color: #2b8faf;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.crm-legal-footer-contact-btn:hover {
  background-color: #247a96;
}

.crm-legal-footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 16px;
  border-top: 1px solid #334155;
  text-align: center;
}

.crm-legal-footer-copy {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}

@media (max-width: 900px) {
  .crm-legal-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .crm-legal-footer-about-col {
    grid-column: 1 / -1;
  }

  .crm-legal-footer-about-content {
    flex-direction: column;
    gap: 12px;
  }
}

.crm-legal-footer-link-btn {
  background: transparent;
  border: none;
  color: #93c5fd;
  text-decoration: none;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  text-align: left;
  transition: all 0.2s ease;
}

.crm-legal-footer-link-btn:hover {
  color: #ffffff;
  text-decoration: underline;
}

button.crm-legal-footer-contact-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  outline: none;
}
/* Send Message Modal Overlays */
.crm-send-message-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: crm-fadeIn 0.25s ease-out;
}

.crm-send-message-modal {
  background-color: #ffffff;
  width: min(520px, 90vw);
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: crm-slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes crm-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes crm-slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.crm-send-message-header {
  padding: 16px 24px;
  background-color: #2b8faf;
  border-bottom: 1px solid #247a96;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.crm-send-message-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.crm-send-message-close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.crm-send-message-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.crm-send-message-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* HoneypotBot Trap styling */
.crm-send-message-honeypot-wrap {
  display: none !important;
}

.crm-send-message-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.crm-send-message-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .crm-send-message-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.crm-send-message-label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.crm-send-message-input,
.crm-send-message-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13.5px;
  color: #1e293b;
  outline: none;
  background-color: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.crm-send-message-input:focus,
.crm-send-message-textarea:focus {
  border-color: #2b8faf;
  box-shadow: 0 0 0 2px rgba(43, 143, 175, 0.15);
}

.crm-send-message-dropdown {
  position: relative;
  width: 100%;
}

.crm-send-message-dropdown-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13.5px;
  color: #1e293b;
  background-color: #ffffff;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.crm-send-message-dropdown-trigger:hover {
  border-color: #94a3b8;
}

.crm-send-message-dropdown-trigger-open,
.crm-send-message-dropdown-trigger:focus {
  border-color: #2b8faf;
  box-shadow: 0 0 0 2px rgba(43, 143, 175, 0.15);
  outline: none;
}

.crm-send-message-dropdown-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-send-message-dropdown-caret {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #64748b;
  transition: transform 0.2s ease;
}

.crm-send-message-dropdown-trigger-open .crm-send-message-dropdown-caret {
  transform: rotate(180deg);
  border-top-color: #2b8faf;
}

.crm-send-message-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.crm-send-message-dropdown-option {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  color: #1e293b;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.crm-send-message-dropdown-option:hover {
  background-color: rgba(43, 143, 175, 0.1);
  color: #0f172a;
}

.crm-send-message-dropdown-option-active {
  background-color: rgba(43, 143, 175, 0.16);
  color: #2b8faf;
  font-weight: 600;
}

.crm-send-message-challenge-group {
  background-color: #f8fafc;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.crm-send-message-challenge-group .crm-send-message-label {
  margin-bottom: 0;
  flex: 1;
}

.crm-send-message-challenge-input {
  width: 100px;
  text-align: center;
  padding: 6px 8px;
}

.crm-send-message-error-alert {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 12px;
  color: #b91c1c;
  font-size: 13px;
  line-height: 1.4;
}

.crm-send-message-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}

.crm-send-message-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crm-send-message-btn-primary {
  background-color: #2b8faf;
  border: 1px solid #2b8faf;
  color: #ffffff;
}

.crm-send-message-btn-primary:hover:not(:disabled) {
  background-color: #247a96;
  border-color: #247a96;
}

.crm-send-message-btn-secondary {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
}

.crm-send-message-btn-secondary:hover:not(:disabled) {
  background-color: #f8fafc;
  color: #0f172a;
}

.crm-send-message-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success State Styles */
.crm-send-message-success-state {
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.crm-send-message-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crm-send-message-success-state h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
}

.crm-send-message-success-state p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  max-width: 380px;
}

.crm-send-message-success-state .crm-send-message-btn {
  margin-top: 8px;
  min-width: 120px;
}
/* ========================================
 * HOME PAGE LAYOUT
 * Public front page shell (header + body + footer)
 * ======================================== */

.home-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* ========================================
 * RESET PASSWORD PAGE STYLES
 * ========================================
 * Styles for the reset password page
 * 
 * 📋 For file structure guidelines, refer to:
 *    docs/conventions/03-naming.md
 * ======================================== */

.reset-password-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.reset-password-container {
  width: 100%;
  max-width: 450px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.reset-password-form-wrapper {
  padding: 40px;
}

.reset-password-header {
  text-align: center;
  margin-bottom: 30px;
}

.reset-password-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.reset-password-header h2 {
  color: #333;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.reset-password-email {
  color: #666;
  font-size: 14px;
  margin: 0;
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
}

.reset-password-form {
  margin-bottom: 20px;
}

.reset-password-input-group {
  margin-bottom: 20px;
}

.reset-password-input-group label {
  display: block;
  color: #333;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 14px;
}

.reset-password-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.reset-password-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.reset-password-submit {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.reset-password-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.reset-password-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.reset-password-error-message {
  background: #fee;
  color: #c33;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 14px;
  border: 1px solid #fcc;
}

.reset-password-success-message {
  background: #efe;
  color: #363;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 14px;
  border: 1px solid #cfc;
}

.reset-password-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #e1e5e9;
}

.reset-password-footer p {
  color: #666;
  margin: 0 0 10px 0;
  font-size: 14px;
}

.reset-password-link {
  background: none;
  border: none;
  color: #667eea;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.reset-password-link:hover {
  color: #5a67d8;
}

.reset-password-loading {
  text-align: center;
  padding: 60px 40px;
}

.reset-password-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.reset-password-loading p {
  color: #666;
  font-size: 16px;
  margin: 0;
}

.reset-password-error {
  text-align: center;
  padding: 60px 40px;
}

.reset-password-error .reset-password-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.reset-password-error h2 {
  color: #333;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 15px 0;
}

.reset-password-error p {
  color: #666;
  margin: 0 0 25px 0;
  line-height: 1.5;
}

.reset-password-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reset-password-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 480px) {
  .reset-password-page {
    padding: 10px;
  }
  
  .reset-password-form-wrapper {
    padding: 30px 20px;
  }
  
  .reset-password-header h2 {
    font-size: 24px;
  }
  
  .reset-password-icon {
    font-size: 40px;
  }
}
.jobseekers-tools-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-top: 12px;
}

.jobseekers-tools-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.jobseekers-tools-table th,
.jobseekers-tools-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #cbd5e1;
}

.jobseekers-tools-table th {
  background-color: #f8fafc;
  font-weight: 600;
  color: #475569;
}

.jobseekers-tools-table tbody tr:last-child td {
  border-bottom: none;
}

.jobseekers-tools-table tbody tr:hover {
  background-color: #f8fafc;
}
.jobseekers-tracker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.jobseekers-tracker-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.jobseekers-tracker-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.jobseekers-tracker-company {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.jobseekers-tracker-status {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.jobseekers-tracker-status-applied {
  background: #e0f2fe;
  color: #0369a1;
}

.jobseekers-tracker-status-interviewing {
  background: #fef3c7;
  color: #d97706;
}

.jobseekers-tracker-status-offered {
  background: #dcfce7;
  color: #15803d;
}

.jobseekers-tracker-jobtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.jobseekers-tracker-date {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.jobseekers-tracker-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #475569;
  border-top: 1px dashed #f1f5f9;
  padding-top: 12px;
}
/* Mailbox Container Layout */
.jobseekers-mailbox-container {
  display: flex;
  height: calc(100vh - 120px);
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.jobseekers-platforms-mailbox-mode {
  padding: 0;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1;
  box-sizing: border-box;
}

/* Pane 1: Sidebar */
.jobseekers-mailbox-pane1 {
  width: 220px;
  background: #f8fafc;
  border-right: 1px solid #cbd5e1;
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  flex-shrink: 0;
  overflow-y: auto;
}

.jobseekers-mailbox-compose-btn {
  width: 100%;
  padding: 10px 16px;
  background-color: #4f46e5;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  margin-bottom: 0;
  text-align: center;
  transition: background-color 0.2s;
}

.jobseekers-mailbox-compose-btn:hover {
  background-color: #4338ca;
}

.jobseekers-mailbox-folder-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jobseekers-mailbox-folder-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #475569;
  font-weight: 500;
  transition: all 0.2s;
}

.jobseekers-mailbox-folder-item:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}

.jobseekers-mailbox-folder-item.active {
  background-color: #e0e7ff;
  color: #4f46e5;
  font-weight: 600;
}

.jobseekers-mailbox-folder-badge {
  background-color: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
}

/* Pane 2: List */
.jobseekers-mailbox-pane2 {
  width: 320px;
  border-right: 1px solid #cbd5e1;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  background: #ffffff;
}

.jobseekers-mailbox-search-wrap {
  padding: 12px;
  border-bottom: 1px solid #cbd5e1;
}

.jobseekers-mailbox-search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.85rem;
  outline: none;
}

.jobseekers-mailbox-search-input:focus {
  border-color: #4f46e5;
}

.jobseekers-mailbox-list-scroll {
  flex: 1;
  overflow-y: auto;
}

.jobseekers-mailbox-card {
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s;
}

.jobseekers-mailbox-card:hover {
  background-color: #f8fafc;
}

.jobseekers-mailbox-card.selected {
  background-color: #f5f3ff;
}

.jobseekers-mailbox-card-unread-dot {
  position: absolute;
  top: 18px;
  left: 6px;
  width: 8px;
  height: 8px;
  background-color: #3b82f6;
  border-radius: 50%;
}

.jobseekers-mailbox-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.jobseekers-mailbox-card-sender {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jobseekers-mailbox-card.unread .jobseekers-mailbox-card-sender {
  color: #0f172a;
}

.jobseekers-mailbox-card-date {
  font-size: 0.75rem;
  color: #94a3b8;
}

.jobseekers-mailbox-card-subject {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jobseekers-mailbox-card.unread .jobseekers-mailbox-card-subject {
  color: #0f172a;
  font-weight: 600;
}

/* Pane 3: Detail */
.jobseekers-mailbox-pane3 {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  overflow-y: auto;
}

.jobseekers-mailbox-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #94a3b8;
  gap: 12px;
}

.jobseekers-mailbox-empty-icon {
  font-size: 3rem;
}

.jobseekers-mailbox-detail {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.jobseekers-mailbox-detail-actionbar {
  padding: 12px 20px;
  border-bottom: 1px solid #cbd5e1;
  display: flex;
  gap: 8px;
  align-items: center;
  background: #f8fafc;
}

.jobseekers-mailbox-detail-btn {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}

.jobseekers-mailbox-detail-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.jobseekers-mailbox-detail-btn-danger {
  color: #ef4444;
}

.jobseekers-mailbox-detail-btn-danger:hover {
  background: #fef2f2;
  color: #b91c1c;
}

.jobseekers-mailbox-detail-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.jobseekers-mailbox-detail-subject {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.jobseekers-mailbox-detail-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.jobseekers-mailbox-detail-meta-left {
  display: flex;
  gap: 6px;
}

.jobseekers-mailbox-detail-sender-name {
  font-weight: 600;
  color: #1e293b;
}

.jobseekers-mailbox-detail-sender-email {
  color: #64748b;
}

.jobseekers-mailbox-detail-date {
  color: #64748b;
}

.jobseekers-mailbox-detail-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334155;
  white-space: pre-wrap;
  margin-top: 10px;
}

/* User/Mailbox Dropdown Switcher */
.jobseekers-mailbox-user-dropdown {
  width: 100%;
  position: relative;
  margin-bottom: 0;
}

.jobseekers-mailbox-user-info {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
}

.jobseekers-mailbox-user-info:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.jobseekers-mailbox-user-avatar {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.jobseekers-mailbox-user-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.jobseekers-mailbox-dropdown-arrow {
  font-size: 12px;
  color: #64748b;
  transition: transform 0.2s;
}

.jobseekers-mailbox-dropdown-arrow.open {
  transform: rotate(180deg);
}

.jobseekers-mailbox-user-dropdown-menu {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  z-index: 50;
  overflow: hidden;
}

.jobseekers-mailbox-user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.jobseekers-mailbox-user-dropdown-item:hover {
  background: #f1f5f9;
}

.jobseekers-mailbox-user-dropdown-item.active {
  background: #e0e7ff;
}

.jobseekers-mailbox-user-dropdown-item-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: #ffffff;
  flex-shrink: 0;
}

.jobseekers-mailbox-user-dropdown-item-name {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.jobseekers-mailbox-user-dropdown-item-count {
  font-size: 11px;
  font-weight: 600;
  color: #4f46e5;
  background: #e0e7ff;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}

/* Compose Email Slide-over Popup Drawer */
.jobseekers-mailbox-compose-email-popup {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 12999;
  display: flex;
  justify-content: flex-end;
  animation: jobseekers-slideIn 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.jobseekers-mailbox-compose-email-content {
  width: min(1150px, 95vw);
  height: 100vh;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 25px rgba(15, 23, 42, 0.15);
  animation: jobseekers-slideInContent 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

@keyframes jobseekers-slideIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes jobseekers-slideInContent {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.jobseekers-mailbox-compose-email-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background: #2b8faf;
  border-bottom: 1px solid #e2e8f0;
  height: 56px;
  position: relative;
  flex-shrink: 0;
}

.jobseekers-mailbox-compose-email-header h3 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  pointer-events: none;
}

.jobseekers-mailbox-compose-email-header-left {
  display: flex;
  align-items: center;
}

.jobseekers-mailbox-compose-email-header-right {
  display: flex;
  align-items: center;
}

.jobseekers-mailbox-compose-email-send-btn-header {
  background: #1e6b8a;
  border: 1px solid #1e6b8a;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jobseekers-mailbox-compose-email-send-btn-header:hover {
  background: #155a73;
  border-color: #155a73;
}

.jobseekers-mailbox-compose-email-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
  opacity: 0.7;
}

.jobseekers-mailbox-compose-email-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

.jobseekers-mailbox-compose-email-body {
  flex: 1;
  padding: 20px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  min-height: 0;
}

.jobseekers-mailbox-compose-email-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.jobseekers-mailbox-compose-email-field {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jobseekers-mailbox-compose-email-field label {
  min-width: 60px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.jobseekers-mailbox-compose-email-field input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s;
}

.jobseekers-mailbox-compose-email-field input:focus {
  border-color: #4f46e5;
}

.jobseekers-mailbox-compose-email-field input[readonly] {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #64748b;
  cursor: default;
}

.jobseekers-mailbox-compose-email-textarea-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.jobseekers-mailbox-compose-email-textarea-wrap textarea {
  flex: 1;
  width: 100%;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #1e293b;
  outline: none;
  resize: none;
  font-family: inherit;
  line-height: 1.6;
  min-height: 250px;
}

.jobseekers-mailbox-compose-email-textarea-wrap textarea:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.1);
}

.jobseekers-mailbox-alert-banner {
  margin: 12px 16px;
  position: absolute;
  z-index: 10;
  right: 0;
}

.jobseekers-mailbox-no-messages {
  padding: 24px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

.jobseekers-mailbox-compose-form {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

/* Attachment button row */
.jobseekers-mailbox-compose-email-header-tabs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.jobseekers-mailbox-compose-email-attachments-tab {
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 12px;
  min-width: 140px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
}

.jobseekers-mailbox-compose-email-attachments-tab:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.jobseekers-mailbox-compose-email-attachments-tab.has-files {
  background: #e0e7ff;
  border-color: #c7d2fe;
  color: #4f46e5;
  font-weight: 600;
}

.jobseekers-mailbox-compose-email-attachments-tab svg {
  margin-right: 4px;
  vertical-align: middle;
}

/* Attachments Sidebar Drawer */
.jobseekers-mailbox-compose-email-attachments-popup-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 23, 42, 0.2);
  z-index: 13005;
  animation: jobseekers-fadeIn 0.2s ease-out;
}

@keyframes jobseekers-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.jobseekers-mailbox-compose-email-attachments-popup {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  box-shadow: -4px 0 12px rgba(15, 23, 42, 0.1);
  z-index: 13006;
  display: flex;
  flex-direction: column;
  animation: jobseekers-slideInRight 0.3s ease-out;
}

@keyframes jobseekers-slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.jobseekers-mailbox-compose-email-attachments-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.jobseekers-mailbox-compose-email-attachments-popup-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.jobseekers-mailbox-compose-email-attachments-popup-close {
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: #64748b;
}

.jobseekers-mailbox-compose-email-attachments-popup-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.jobseekers-mailbox-compose-email-attachments-popup-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  overflow-y: auto;
}

.jobseekers-mailbox-compose-email-attachments-popup-add-btn {
  width: 100%;
  padding: 10px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #4f46e5;
  cursor: pointer;
  transition: all 0.2s;
}

.jobseekers-mailbox-compose-email-attachments-popup-add-btn:hover {
  background: #f1f5f9;
  border-color: #4f46e5;
}

.jobseekers-mailbox-compose-email-attached-files-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jobseekers-mailbox-compose-email-attached-file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.jobseekers-mailbox-compose-email-attached-file-name {
  font-size: 12px;
  font-weight: 500;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.jobseekers-mailbox-compose-email-attached-file-actions {
  display: flex;
  align-items: center;
}

.jobseekers-mailbox-compose-email-attached-file-remove {
  background: transparent;
  border: none;
  font-size: 16px;
  color: #ef4444;
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jobseekers-mailbox-compose-email-attached-file-remove:hover {
  color: #dc2626;
}

.jobseekers-mailbox-compose-email-attachments-popup-empty {
  font-size: 13px;
  color: #94a3b8;
  text-align: center;
  padding: 24px 0;
}

.jobseekers-mailbox-compose-email-send-svg-icon {
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
}

.jobseekers-mailbox-hidden-file-input {
  display: none;
}
/* ========================================
 * JOBSEEKERS TOOLS — SHARED CSS
 * Blank stubs + Overview Gmail chrome classes
 * ======================================== */

.jobseekers-tools-blank-page {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: 15px;
  background-color: #ffffff;
}

.jobseekers-tools-blank-content-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
  padding: 0;
}

.jobseekers-tools-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 15px;
  width: 100%;
  box-sizing: border-box;
}

.jobseekers-tools-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jobseekers-tools-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
}

.jobseekers-tools-subtitle {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.jobseekers-tools-banner {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.jobseekers-tools-banner-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.jobseekers-tools-banner-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.jobseekers-tools-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.jobseekers-tools-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  padding-bottom: 8px;
  border-bottom: 1px dashed #f1f5f9;
}

.jobseekers-tools-card-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.jobseekers-tools-label {
  color: #64748b;
  font-weight: 500;
}

.jobseekers-tools-value {
  color: #0f172a;
  font-weight: 600;
}

.jobseekers-tools-status-on {
  color: #166534;
  background-color: #dcfce7;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.jobseekers-tools-status-off {
  color: #b45309;
  background-color: #fef3c7;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.jobseekers-tools-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.jobseekers-tools-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jobseekers-tools-btn:hover:not(:disabled) {
  background-color: #f8fafc;
  border-color: #94a3b8;
}

.jobseekers-tools-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.jobseekers-tools-btn-primary {
  background-color: #4f46e5;
  border-color: #4f46e5;
  color: #ffffff;
}

.jobseekers-tools-btn-primary:hover:not(:disabled) {
  background-color: #4338ca;
  border-color: #4338ca;
}

.jobseekers-tools-btn-danger {
  background-color: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}

.jobseekers-tools-btn-danger:hover:not(:disabled) {
  background-color: #dc2626;
  border-color: #dc2626;
}

.jobseekers-tools-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.jobseekers-tools-form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}

.jobseekers-tools-form-input {
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.jobseekers-tools-form-input:focus {
  border-color: #4f46e5;
}

.jobseekers-tools-form-textarea {
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s;
  min-height: 150px;
  resize: vertical;
  font-family: inherit;
  width: 100%;
}

.jobseekers-tools-form-textarea:focus {
  border-color: #4f46e5;
}
/* Matches JobSeeker account sidebar: 260px expanded / 64px collapsed */

.jobseekers-tools-cv-builder-sidebar {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e2e8f0;
  background: #f8fafc;
  flex-shrink: 0;
  overflow: hidden;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.jobseekers-tools-cv-builder-sidebar-expanded {
  width: 260px;
  min-width: 260px;
}

.jobseekers-tools-cv-builder-sidebar-collapsed {
  width: 64px;
  min-width: 64px;
}

.jobseekers-tools-cv-builder-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 52px;
  padding: 12px 10px 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  box-sizing: border-box;
}

.jobseekers-tools-cv-builder-sidebar-collapsed .jobseekers-tools-cv-builder-sidebar-header {
  flex-direction: column;
  justify-content: center;
  padding: 12px 8px;
}

.jobseekers-tools-cv-builder-sidebar-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
}

.jobseekers-tools-cv-builder-sidebar-title-collapsed {
  display: none;
}

.jobseekers-tools-cv-builder-sidebar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.jobseekers-tools-cv-builder-sidebar-toggle:hover {
  color: #26596d;
  background: #e2e8f0;
}

.jobseekers-tools-cv-builder-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px;
}

.jobseekers-tools-cv-builder-sidebar-collapsed .jobseekers-tools-cv-builder-sidebar-nav {
  align-items: center;
  padding: 12px 8px;
}

.jobseekers-tools-cv-builder-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
  box-sizing: border-box;
}

.jobseekers-tools-cv-builder-sidebar-collapsed .jobseekers-tools-cv-builder-sidebar-link {
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
}

.jobseekers-tools-cv-builder-sidebar-link:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.jobseekers-tools-cv-builder-sidebar-link-active {
  background: #26596d;
  color: #ffffff;
}

.jobseekers-tools-cv-builder-sidebar-link-active:hover {
  background: #1e4655;
  color: #ffffff;
}

.jobseekers-tools-cv-builder-sidebar-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.jobseekers-tools-cv-builder-sidebar-link-label {
  white-space: nowrap;
  overflow: hidden;
}

.jobseekers-tools-cv-builder-sidebar-collapsed .jobseekers-tools-cv-builder-sidebar-link-label {
  display: none;
}

@media (max-width: 768px) {
  .jobseekers-tools-cv-builder-sidebar,
  .jobseekers-tools-cv-builder-sidebar-expanded,
  .jobseekers-tools-cv-builder-sidebar-collapsed {
    width: 100%;
    min-width: 0;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .jobseekers-tools-cv-builder-sidebar-header {
    flex-direction: row;
    padding: 12px 14px;
  }

  .jobseekers-tools-cv-builder-sidebar-title-collapsed {
    display: none;
  }

  .jobseekers-tools-cv-builder-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 12px 10px;
  }

  .jobseekers-tools-cv-builder-sidebar-collapsed .jobseekers-tools-cv-builder-sidebar-nav {
    align-items: stretch;
  }

  .jobseekers-tools-cv-builder-sidebar-collapsed .jobseekers-tools-cv-builder-sidebar-link {
    width: auto;
    height: auto;
    padding: 10px 12px;
  }

  .jobseekers-tools-cv-builder-sidebar-collapsed .jobseekers-tools-cv-builder-sidebar-link-label {
    display: inline;
  }

  .jobseekers-tools-cv-builder-sidebar-toggle {
    display: none;
  }
}
.jobseekers-cv-builder-ai-preview {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: auto;
  background: #1a1d21;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  box-sizing: border-box;
  position: relative;
}

.jobseekers-cv-builder-ai-preview-overflow {
  flex-shrink: 0;
  align-self: stretch;
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #7f1d1d;
  color: #fecaca;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.jobseekers-cv-builder-ai-preview-overflow.is-info {
  background: #1e3a5f;
  color: #bfdbfe;
}

.jobseekers-cv-builder-ai-preview-page-summary {
  flex-shrink: 0;
  align-self: stretch;
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.jobseekers-cv-builder-ai-preview-zoom-shell {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.jobseekers-cv-builder-ai-preview-zoom {
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(var(--preview-scale, 0.95));
  transform-origin: top left;
}

.jobseekers-cv-builder-ai-preview-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.jobseekers-cv-builder-ai-preview-sheet-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.jobseekers-cv-builder-ai-preview-sheet-label {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* A4 sheet — full 210 × 297 mm; template padding is on `.resume-page` inside */
.jobseekers-cv-builder-ai-preview-a4-sheet {
  width: 210mm;
  height: 297mm;
  min-width: 210mm;
  max-width: 210mm;
  min-height: 297mm;
  max-height: 297mm;
  aspect-ratio: 210 / 297;
  flex-shrink: 0;
  overflow: hidden;
  background: #ffffff;
  border-radius: 2px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 18px 42px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.jobseekers-cv-builder-ai-preview.is-letter
  .jobseekers-cv-builder-ai-preview-a4-sheet {
  width: 216mm;
  height: 279mm;
  min-width: 216mm;
  max-width: 216mm;
  min-height: 279mm;
  max-height: 279mm;
  aspect-ratio: 216 / 279;
}

.jobseekers-cv-builder-ai-preview-a4-sheet.is-guides
  .jobseekers-cv-builder-ai-preview-a4-content .resume-page {
  outline: 1px dashed rgba(59, 130, 246, 0.45);
  outline-offset: -1px;
}

.jobseekers-cv-builder-ai-preview-a4-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.jobseekers-cv-builder-ai-preview-a4-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  overflow-wrap: break-word;
  word-break: break-word;
}

.jobseekers-cv-builder-ai-preview-a4-content > div {
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

.jobseekers-cv-builder-ai-preview-mm-calibrator {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}

.jobseekers-cv-builder-ai-preview-mm-calibrator.is-width {
  top: 0;
  left: 0;
  height: 0;
}

.jobseekers-cv-builder-ai-preview-mm-calibrator.is-height {
  top: 0;
  left: 0;
  width: 0;
}

.jobseekers-cv-builder-ai-preview-a4-content .simple-resume,
.jobseekers-cv-builder-ai-preview-measure-host .simple-resume,
.jobseekers-cv-builder-ai-preview-a4-content .sb-resume,
.jobseekers-cv-builder-ai-preview-measure-host .sb-resume,
.jobseekers-cv-builder-ai-preview-a4-content .sb-grid,
.jobseekers-cv-builder-ai-preview-measure-host .sb-grid,
.jobseekers-cv-builder-ai-preview-a4-content .resume-page,
.jobseekers-cv-builder-ai-preview-measure-host .resume-page {
  min-height: 0 !important;
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
}

.jobseekers-cv-builder-ai-preview-a4-content .resume-basics-contact-value,
.jobseekers-cv-builder-ai-preview-a4-content .resume-field-value,
.jobseekers-cv-builder-ai-preview-a4-content .resume-language-name,
.jobseekers-cv-builder-ai-preview-a4-content .resume-experience-title,
.jobseekers-cv-builder-ai-preview-a4-content .resume-experience-company,
.jobseekers-cv-builder-ai-preview-a4-content .resume-education-value,
.jobseekers-cv-builder-ai-preview-measure-host .resume-basics-contact-value,
.jobseekers-cv-builder-ai-preview-measure-host .resume-field-value,
.jobseekers-cv-builder-ai-preview-measure-host .resume-language-name,
.jobseekers-cv-builder-ai-preview-measure-host .resume-experience-title,
.jobseekers-cv-builder-ai-preview-measure-host .resume-experience-company,
.jobseekers-cv-builder-ai-preview-measure-host .resume-education-value {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  word-break: break-word;
}

.jobseekers-cv-builder-ai-preview-measure-host {
  position: absolute;
  left: -9999px;
  top: 0;
  visibility: hidden;
  pointer-events: none;
}

.jobseekers-cv-builder-ai-preview-measure-inner {
  box-sizing: border-box;
}

.jobseekers-cv-builder-ai-preview-a4-content.is-measure {
  position: relative;
  min-height: 0;
}
.jobseekers-cv-builder-ai-form {
  display: flex;
  flex-direction: column;
  background: #4b5563;
}

.jobseekers-cv-builder-ai-form-accordion {
  border-bottom: 1px solid #3f4754;
}

.jobseekers-cv-builder-ai-form-accordion-header {
  width: 100%;
  height: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 16px;
  border: none;
  background: #4b5563;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.15s ease;
}

.jobseekers-cv-builder-ai-form-accordion-header:hover {
  background: #565f6d;
}

.jobseekers-cv-builder-ai-form-accordion.is-open
  > .jobseekers-cv-builder-ai-form-accordion-header {
  background: #f3f4f6;
  border-bottom: 1px solid #d1d5db;
}

.jobseekers-cv-builder-ai-form-accordion-body {
  padding: 16px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #ffffff;
}

.jobseekers-cv-builder-ai-form-accordion-actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.jobseekers-cv-builder-ai-form-accordion-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 6px;
  color: #64748b;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.jobseekers-cv-builder-ai-form-accordion-action:hover {
  color: #0f172a;
  background: #e2e8f0;
}

.jobseekers-cv-builder-ai-form-accordion-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.jobseekers-cv-builder-ai-form-accordion-chevron {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  transition: transform 0.15s ease, color 0.15s ease;
  transform: rotate(-90deg);
}

.jobseekers-cv-builder-ai-form-accordion.is-open
  .jobseekers-cv-builder-ai-form-accordion-chevron {
  transform: rotate(0deg);
  color: #64748b;
}

.jobseekers-cv-builder-ai-form-accordion-icon {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.75);
  flex-shrink: 0;
}

.jobseekers-cv-builder-ai-form-accordion.is-open
  .jobseekers-cv-builder-ai-form-accordion-icon {
  color: #0f172a;
}

.jobseekers-cv-builder-ai-form-accordion-label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.jobseekers-cv-builder-ai-form-accordion.is-open
  .jobseekers-cv-builder-ai-form-accordion-label {
  color: #0f172a;
}

.jobseekers-cv-builder-ai-form-stub {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
}

.jobseekers-cv-builder-ai-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.jobseekers-cv-builder-ai-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.jobseekers-cv-builder-ai-form-field-wide {
  grid-column: 1 / -1;
}

.jobseekers-cv-builder-ai-form-label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.jobseekers-cv-builder-ai-form-input,
.jobseekers-cv-builder-ai-form-textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  padding: 9px 11px;
  font-size: 13px;
  color: #0f172a;
  background: #ffffff;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jobseekers-cv-builder-ai-form-input {
  min-height: 38px;
}

.jobseekers-cv-builder-ai-form-textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}

.jobseekers-cv-builder-ai-form-input:focus,
.jobseekers-cv-builder-ai-form-textarea:focus {
  outline: none;
  border-color: #1e3a5f;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
}

.jobseekers-cv-builder-ai-form-entries {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jobseekers-cv-builder-ai-form-entries-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
}

.jobseekers-cv-builder-ai-form-entry {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jobseekers-cv-builder-ai-form-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.jobseekers-cv-builder-ai-form-entry-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.jobseekers-cv-builder-ai-form-entry-index {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #64748b;
}

.jobseekers-cv-builder-ai-form-entry-save-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #ffffff;
  color: #1e3a5f;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-form-entry-save-btn:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.jobseekers-cv-builder-ai-form-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jobseekers-cv-builder-ai-form-bullet-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jobseekers-cv-builder-ai-form-bullet-mark {
  flex-shrink: 0;
  width: 14px;
  text-align: center;
  font-size: 16px;
  line-height: 1;
  color: #1e3a5f;
}

.jobseekers-cv-builder-ai-form-bullet-row .jobseekers-cv-builder-ai-form-input {
  flex: 1;
  min-width: 0;
}

.jobseekers-cv-builder-ai-form-bullet-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #ffffff;
  color: #94a3b8;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-form-bullet-remove:hover {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fef2f2;
}

.jobseekers-cv-builder-ai-form-bullet-add {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  margin-left: 22px;
  height: 28px;
  padding: 0 10px;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-form-bullet-add:hover {
  border-color: #1e3a5f;
  color: #1e3a5f;
}

.jobseekers-cv-builder-ai-form-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #1e3a5f;
  border-radius: 7px;
  background: #1e3a5f;
  color: #ffffff;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-end;
  transition: background-color 0.15s ease;
}

.jobseekers-cv-builder-ai-form-add-btn:hover {
  background: #16304f;
}

.jobseekers-cv-builder-ai-form-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #ffffff;
  color: #b91c1c;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-form-remove-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.jobseekers-cv-builder-ai-form-tag-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jobseekers-cv-builder-ai-form-reference-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jobseekers-cv-builder-ai-form-gdpr-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-form-gdpr-check input {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-form-reference-choice-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.jobseekers-cv-builder-ai-form-reference-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.jobseekers-cv-builder-ai-form-reference-option:hover {
  border-color: #94a3b8;
  background: #ffffff;
}

.jobseekers-cv-builder-ai-form-reference-option.is-active {
  border-color: #1e3a5f;
  background: #eef4fa;
  box-shadow: inset 0 0 0 1px #1e3a5f;
}

.jobseekers-cv-builder-ai-form-reference-option-title {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}

.jobseekers-cv-builder-ai-form-reference-option-text {
  font-size: 12px;
  line-height: 1.45;
  color: #475569;
}

@media (max-width: 520px) {
  .jobseekers-cv-builder-ai-form-reference-choice-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.jobseekers-cv-builder-ai-form-tag-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jobseekers-cv-builder-ai-form-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.jobseekers-cv-builder-ai-form-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eef2f7;
  color: #1e3a5f;
  border: 1px solid #d7e0ea;
  border-radius: 999px;
  padding: 4px 6px 4px 11px;
  font-size: 12px;
  font-weight: 600;
}

.jobseekers-cv-builder-ai-form-tag-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: rgba(30, 58, 95, 0.12);
  color: #1e3a5f;
  cursor: pointer;
}

/* ---------- Picture section ---------- */

.jobseekers-cv-builder-ai-form-picture {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.jobseekers-cv-builder-ai-form-picture-url-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jobseekers-cv-builder-ai-form-picture-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.jobseekers-cv-builder-ai-form-picture-uploaded {
  display: flex;
  align-items: center;
  gap: 10px;
}

.jobseekers-cv-builder-ai-form-picture-file {
  display: none;
}

.jobseekers-cv-builder-ai-form-picture-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #1e3a5f;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.jobseekers-cv-builder-ai-form-picture-upload-btn:hover {
  background: #1e3a5f;
  border-color: #1e3a5f;
  color: #ffffff;
}

.jobseekers-cv-builder-ai-form-field-grow {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.jobseekers-cv-builder-ai-form-input-with-action {
  position: relative;
  display: flex;
  align-items: center;
}

.jobseekers-cv-builder-ai-form-input-with-action .jobseekers-cv-builder-ai-form-input {
  padding-right: 38px;
}

.jobseekers-cv-builder-ai-form-picture-url-input {
  font-size: 12px;
  word-break: break-all;
}

.jobseekers-cv-builder-ai-form-input-action {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-form-input-action:hover:not(:disabled) {
  background: #eef2f7;
  color: #1e3a5f;
}

.jobseekers-cv-builder-ai-form-input-action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.jobseekers-cv-builder-ai-form-input-with-suffix {
  position: relative;
  display: flex;
  align-items: center;
}

.jobseekers-cv-builder-ai-form-input-with-suffix .jobseekers-cv-builder-ai-form-input {
  padding-right: 36px;
}

.jobseekers-cv-builder-ai-form-input-suffix {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  pointer-events: none;
}

.jobseekers-cv-builder-ai-form-picture-preview-wrap {
  display: flex;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-style: solid;
  border-width: var(--picture-border-width, 0);
  border-color: var(--picture-border-color, #1e3a5f);
  border-radius: var(--picture-radius, 0);
  background: #ffffff;
}

.jobseekers-cv-builder-ai-form-picture-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jobseekers-cv-builder-ai-form-picture-remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #fca5a5;
  border-radius: 7px;
  background: #ffffff;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-form-picture-remove-btn:hover {
  background: #fef2f2;
}

.jobseekers-cv-builder-ai-form-picture-shapes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.jobseekers-cv-builder-ai-form-picture-shape-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}

.jobseekers-cv-builder-ai-form-picture-shape-btn:hover {
  border-color: #94a3b8;
}

.jobseekers-cv-builder-ai-form-picture-shape-btn.is-active {
  border-color: #1e3a5f;
  background: #eef2f7;
  color: #1e3a5f;
}

.jobseekers-cv-builder-ai-form-picture-shape-swatch {
  width: 36px;
  height: 36px;
  border: 2px solid currentColor;
  background: #dbe3ec;
  box-sizing: border-box;
}

.jobseekers-cv-builder-ai-form-picture-shape-swatch.is-square {
  border-radius: 0;
}

.jobseekers-cv-builder-ai-form-picture-shape-swatch.is-rounded {
  border-radius: 6px;
}

.jobseekers-cv-builder-ai-form-picture-shape-swatch.is-circle {
  border-radius: 50%;
}

.jobseekers-cv-builder-ai-form-picture-size-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jobseekers-cv-builder-ai-form-picture-size-slider {
  flex: 1;
  min-width: 0;
  height: 28px;
  accent-color: #1e3a5f;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-form-picture-size-input {
  width: 96px;
  flex-shrink: 0;
}

.jobseekers-cv-builder-ai-form-picture-size-input .jobseekers-cv-builder-ai-form-input {
  min-height: 42px;
  font-size: 14px;
}

.jobseekers-cv-builder-ai-form-picture-sides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.jobseekers-cv-builder-ai-form-picture-side-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}

.jobseekers-cv-builder-ai-form-picture-side-btn:hover {
  border-color: #94a3b8;
}

.jobseekers-cv-builder-ai-form-picture-side-btn.is-active {
  border-color: #1e3a5f;
  background: #eef2f7;
  color: #1e3a5f;
}

.jobseekers-cv-builder-ai-form-picture-side-preview {
  width: 64px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 6px;
  background: #e5e7eb;
  box-sizing: border-box;
}

.jobseekers-cv-builder-ai-form-picture-side-preview.is-right {
  flex-direction: row;
}

.jobseekers-cv-builder-ai-form-picture-side-preview.is-left {
  flex-direction: row;
}

.jobseekers-cv-builder-ai-form-picture-side-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #64748b;
  flex-shrink: 0;
}

.jobseekers-cv-builder-ai-form-picture-side-lines {
  flex: 1;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(
    to bottom,
    #94a3b8 0,
    #94a3b8 3px,
    transparent 3px,
    transparent 5px,
    #94a3b8 5px,
    #94a3b8 8px,
    transparent 8px
  );
}

.jobseekers-cv-builder-ai-form-picture-color-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jobseekers-cv-builder-ai-form-picture-color {
  width: 42px;
  height: 38px;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
}

.jobseekers-cv-builder-ai-form-picture-control-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.jobseekers-cv-builder-ai-form-picture-presets {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-bottom: 2px;
}

.jobseekers-cv-builder-ai-form-picture-preset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.jobseekers-cv-builder-ai-form-picture-preset-btn:hover {
  border-color: #94a3b8;
  color: #1e3a5f;
}

.jobseekers-cv-builder-ai-form-picture-preset-btn.is-active {
  border-color: #1e3a5f;
  background: #eef2f7;
  color: #1e3a5f;
}

.jobseekers-cv-builder-ai-form-picture-radius-rounded {
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  box-sizing: border-box;
}

/* ---------- Picture crop modal ---------- */

.jobseekers-cv-builder-ai-picture-crop-hidden {
  display: none;
}

.jobseekers-cv-builder-ai-picture-crop-overlay {
  position: fixed;
  inset: 0;
  z-index: 10100;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.jobseekers-cv-builder-ai-picture-crop-modal {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.jobseekers-cv-builder-ai-picture-crop-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
}

.jobseekers-cv-builder-ai-picture-crop-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.jobseekers-cv-builder-ai-picture-crop-subtitle {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.jobseekers-cv-builder-ai-picture-crop-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  flex-shrink: 0;
}

.jobseekers-cv-builder-ai-picture-crop-close:hover {
  background: #eef2f7;
  color: #0f172a;
}

.jobseekers-cv-builder-ai-picture-crop-stage {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
  overflow: hidden;
  background: #1a1d21;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.jobseekers-cv-builder-ai-picture-crop-stage.is-dragging {
  cursor: grabbing;
}

.jobseekers-cv-builder-ai-picture-crop-image {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--crop-w);
  height: var(--crop-h);
  transform: translate(var(--crop-x), var(--crop-y));
  max-width: none;
  pointer-events: none;
}

.jobseekers-cv-builder-ai-picture-crop-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: calc(100% / 3) calc(100% / 3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.jobseekers-cv-builder-ai-picture-crop-zoom {
  padding: 14px 16px 8px;
}

.jobseekers-cv-builder-ai-picture-crop-zoom-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.jobseekers-cv-builder-ai-picture-crop-zoom-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
}

.jobseekers-cv-builder-ai-picture-crop-slider {
  flex: 1;
  min-width: 0;
  accent-color: #1e3a5f;
}

.jobseekers-cv-builder-ai-picture-crop-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 16px 16px;
}

.jobseekers-cv-builder-ai-picture-crop-btn-secondary,
.jobseekers-cv-builder-ai-picture-crop-btn-primary {
  height: 36px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-picture-crop-btn-secondary {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
}

.jobseekers-cv-builder-ai-picture-crop-btn-secondary:hover {
  background: #f8fafc;
}

.jobseekers-cv-builder-ai-picture-crop-btn-primary {
  border: 1px solid #1e3a5f;
  background: #1e3a5f;
  color: #ffffff;
}

.jobseekers-cv-builder-ai-picture-crop-btn-primary:hover {
  background: #16304f;
}
.jobseekers-cv-builder-free-one-editor-hidden {
  display: none;
}

.jobseekers-cv-builder-free-one-editor-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.5);
  display: flex;
  align-items: stretch;
  justify-content: center;
  z-index: 10050;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.jobseekers-cv-builder-free-one-editor-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.jobseekers-cv-builder-free-one-editor-panel {
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Blue header — same as Standard / Free Two */
.jobseekers-cv-builder-free-one-editor-topbar {
  height: 55px;
  min-height: 55px;
  background: #12253f;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.35);
}

.jobseekers-cv-builder-free-one-editor-topbar-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  justify-self: start;
}

.jobseekers-cv-builder-free-one-editor-topbar-template-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.jobseekers-cv-builder-free-one-editor-topbar-editor-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.jobseekers-cv-builder-free-one-editor-topbar-name {
  width: 100%;
  max-width: 320px;
  height: 22px;
  padding: 0 2px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  outline: none;
}

.jobseekers-cv-builder-free-one-editor-topbar-name::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.jobseekers-cv-builder-free-one-editor-topbar-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  min-width: 0;
  white-space: nowrap;
  line-height: 1.2;
  font-size: 11px;
  font-weight: 600;
}

.jobseekers-cv-builder-free-one-editor-meta-sep {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.2;
}

.jobseekers-cv-builder-free-header-badge {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.jobseekers-cv-builder-free-header-meta-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.jobseekers-cv-builder-free-header-meta-label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.jobseekers-cv-builder-free-header-meta-select {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  outline: none;
  cursor: pointer;
}

.jobseekers-cv-builder-free-header-meta-select option {
  background: #1e293b;
  color: #ffffff;
}

.jobseekers-cv-builder-free-one-editor-meta-label {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  line-height: 1.2;
}

.jobseekers-cv-builder-free-one-editor-meta-sizer {
  display: inline-grid;
  vertical-align: baseline;
  width: max-content;
  max-width: 180px;
}

.jobseekers-cv-builder-free-one-editor-meta-sizer > * {
  grid-area: 1 / 1;
}

.jobseekers-cv-builder-free-one-editor-meta-mirror {
  visibility: hidden;
  white-space: pre;
  line-height: 1.2;
  pointer-events: none;
}

.jobseekers-cv-builder-free-one-editor-meta-input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  line-height: 1.2;
  text-align: left;
  outline: none;
}

.jobseekers-cv-builder-free-one-editor-meta-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.jobseekers-cv-builder-free-one-editor-meta-input:focus {
  color: #ffffff;
}

.jobseekers-cv-builder-free-one-editor-topbar-center {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 10px;
}

.jobseekers-cv-builder-free-one-editor-view-tabs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 32px;
  padding: 2px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.jobseekers-cv-builder-free-one-editor-view-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.jobseekers-cv-builder-free-one-editor-view-tab.is-active {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.jobseekers-cv-builder-free-one-editor-view-tab:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.08);
}

.jobseekers-cv-builder-free-one-editor-zoom {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 32px;
  padding: 2px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.jobseekers-cv-builder-free-one-editor-control-btn,
.jobseekers-cv-builder-free-one-editor-zoom-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.jobseekers-cv-builder-free-one-editor-control-btn {
  width: 28px;
}

.jobseekers-cv-builder-free-one-editor-control-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
}

.jobseekers-cv-builder-free-one-editor-control-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.jobseekers-cv-builder-free-one-editor-zoom-value {
  min-width: 44px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
}

.jobseekers-cv-builder-free-one-editor-topbar-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  justify-self: end;
}

.jobseekers-cv-builder-free-one-editor-btn-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: none;
  border-radius: 6px;
  background: #ffffff;
  color: #12253f;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.jobseekers-cv-builder-free-one-editor-btn-save:hover {
  background: #f8fafc;
}

.jobseekers-cv-builder-free-one-editor-btn-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.jobseekers-cv-builder-free-one-editor-btn-preview:hover {
  background: rgba(255, 255, 255, 0.2);
}

.jobseekers-cv-builder-free-one-editor-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: none;
  border-radius: 6px;
  background: #ffffff;
  color: #12253f;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.jobseekers-cv-builder-free-one-editor-btn-sample {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 10px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.jobseekers-cv-builder-free-one-editor-btn-sample:hover {
  background: rgba(255, 255, 255, 0.1);
}

.jobseekers-cv-builder-free-one-editor-btn-download:hover {
  background: #f8fafc;
}

.jobseekers-cv-builder-free-one-editor-save-hint {
  flex-shrink: 0;
  margin-left: 4px;
  color: rgba(134, 239, 172, 0.95);
  font-size: 11px;
  font-weight: 600;
}

.jobseekers-cv-builder-free-one-editor-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.jobseekers-cv-builder-free-one-editor-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(252, 165, 165, 0.45);
  color: #ffffff;
}

/* Body / sidebar — same layout as Standard; gray sidebar color only */
.jobseekers-cv-builder-free-one-editor-body {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
  background: #1a1d21;
}

.jobseekers-cv-builder-free-one-editor-sidebar {
  width: 550px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex-shrink: 0;
  background: #4b5563;
  border-right: 1px solid #3f4754;
}

.jobseekers-cv-builder-free-one-editor-sidebar-header {
  height: 42px;
  min-height: 42px;
  padding: 0 10px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #3f4754;
  background: #3f4754;
  flex-shrink: 0;
}

.jobseekers-cv-builder-free-one-editor-sidebar-header.is-template {
  justify-content: flex-end;
  padding-left: 10px;
}

.jobseekers-cv-builder-free-one-editor-sidebar-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.jobseekers-cv-builder-free-one-editor-sidebar-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.65);
}

.jobseekers-cv-builder-free-one-editor-edge-toggle {
  flex-shrink: 0;
  align-self: stretch;
  width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  border: none;
  border-right: 1px solid #2f3640;
  background: #3f4754;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.jobseekers-cv-builder-free-one-editor-edge-toggle:hover {
  background: #4b5563;
}

.jobseekers-cv-builder-free-one-editor-sidebar-title {
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jobseekers-cv-builder-free-one-editor-sidebar-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 10px 10px 16px;
  box-sizing: border-box;
}

.jobseekers-cv-builder-free-one-editor-sidebar-stack {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.jobseekers-cv-builder-free-one-editor-sidebar-footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 14px 14px;
  border-top: 1px solid #3f4754;
  background: #3f4754;
}

.jobseekers-cv-builder-free-one-editor-sidebar-footer-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jobseekers-cv-builder-free-one-editor-sidebar-footer-group +
  .jobseekers-cv-builder-free-one-editor-sidebar-footer-group {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.jobseekers-cv-builder-free-one-editor-sidebar-footer-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.jobseekers-cv-builder-free-one-editor-color-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.jobseekers-cv-builder-free-one-editor-font-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.jobseekers-cv-builder-free-one-editor-layout-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.jobseekers-cv-builder-free-one-editor-layout-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.25);
  color: #ffffff;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.jobseekers-cv-builder-free-one-editor-layout-option.is-active {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.jobseekers-cv-builder-free-one-editor-layout-option-label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.jobseekers-cv-builder-free-one-editor-font-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.25);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.jobseekers-cv-builder-free-one-editor-font-option.is-active {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.jobseekers-cv-builder-free-one-editor-font-option-label {
  font-family: var(--option-font, Arial, Helvetica, sans-serif);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.jobseekers-cv-builder-free-one-editor-color-swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.jobseekers-cv-builder-free-one-editor-color-swatch.is-active {
  border-color: #ffffff;
}

.jobseekers-cv-builder-free-one-editor-color-swatch-fill {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--swatch-color, #2c3e50);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.25);
}

.jobseekers-cv-builder-free-one-editor-body.is-preview-tab {
  flex-direction: column;
}

.jobseekers-cv-builder-free-one-editor-print-info {
  flex-shrink: 0;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #232830;
  box-sizing: border-box;
}

.jobseekers-cv-builder-free-one-editor-print-info-title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.jobseekers-cv-builder-free-one-editor-print-info-text {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.jobseekers-cv-builder-free-one-editor-preview {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
  background: #1a1d21;
  display: flex;
  flex-direction: column;
}

.jobseekers-cv-builder-free-one-editor-preview.is-full {
  flex: 1;
  min-height: 0;
}

.jobseekers-cv-builder-free-one-editor-preview .jobseekers-cv-builder-ai-preview {
  flex: 1;
  min-height: 0;
  height: 100%;
}

.jobseekers-cv-builder-free-one-editor-sidebar-body.is-template {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 14px;
  background: #3f4754;
}

.jobseekers-cv-builder-free-one-editor-template-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.35);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.jobseekers-cv-builder-free-one-editor-design-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jobseekers-cv-builder-free-one-editor-pdf-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  background: rgba(15, 23, 42, 0.55);
  box-sizing: border-box;
}

.jobseekers-cv-builder-free-one-editor-pdf-modal {
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.jobseekers-cv-builder-free-one-editor-pdf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 12px 16px;
  background: #12253f;
  color: #ffffff;
}

.jobseekers-cv-builder-free-one-editor-pdf-header-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.jobseekers-cv-builder-free-one-editor-pdf-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jobseekers-cv-builder-free-one-editor-pdf-subtitle {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.jobseekers-cv-builder-free-one-editor-pdf-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.jobseekers-cv-builder-free-one-editor-pdf-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: none;
  border-radius: 6px;
  background: #ffffff;
  color: #12253f;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.jobseekers-cv-builder-free-one-editor-pdf-download:hover {
  background: #f8fafc;
}

.jobseekers-cv-builder-free-one-editor-pdf-download:disabled {
  opacity: 0.7;
  cursor: wait;
}

.jobseekers-cv-builder-free-one-editor-pdf-print {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: transparent;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.jobseekers-cv-builder-free-one-editor-pdf-print:hover {
  background: rgba(255, 255, 255, 0.12);
}

.jobseekers-cv-builder-free-one-editor-pdf-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.jobseekers-cv-builder-free-one-editor-pdf-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(252, 165, 165, 0.45);
  color: #ffffff;
}

.jobseekers-cv-builder-free-one-editor-pdf-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #1a1d21;
  display: flex;
  flex-direction: column;
}

.jobseekers-cv-builder-free-one-editor-pdf-body .jobseekers-cv-builder-ai-preview {
  flex: 1;
  min-height: 0;
  height: 100%;
}
.jobseekers-cv-builder-free-two-editor-hidden {
  display: none;
}

.jobseekers-cv-builder-free-two-editor-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.5);
  display: flex;
  align-items: stretch;
  justify-content: center;
  z-index: 10050;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.jobseekers-cv-builder-free-two-editor-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.jobseekers-cv-builder-free-two-editor-panel {
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.jobseekers-cv-builder-free-two-editor-topbar {
  height: 58px;
  min-height: 58px;
  background: #1e3a5f;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) auto minmax(140px, 0.7fr);
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.2);
}

.jobseekers-cv-builder-free-two-editor-topbar-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.jobseekers-cv-builder-free-two-editor-topbar-name {
  width: 100%;
  max-width: 280px;
  height: 22px;
  padding: 0 2px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  outline: none;
}

.jobseekers-cv-builder-free-two-editor-topbar-name::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.jobseekers-cv-builder-free-two-editor-topbar-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  min-width: 0;
  white-space: nowrap;
  line-height: 1.2;
  font-size: 11px;
  font-weight: 600;
}

.jobseekers-cv-builder-free-two-editor-meta-sep {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.2;
}

.jobseekers-cv-builder-free-header-badge {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.jobseekers-cv-builder-free-header-meta-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.jobseekers-cv-builder-free-header-meta-label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.jobseekers-cv-builder-free-header-meta-select {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  outline: none;
  cursor: pointer;
}

.jobseekers-cv-builder-free-header-meta-select option {
  background: #1e293b;
  color: #ffffff;
}

.jobseekers-cv-builder-free-two-editor-meta-label {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  line-height: 1.2;
}

.jobseekers-cv-builder-free-two-editor-meta-sizer {
  display: inline-grid;
  vertical-align: baseline;
  width: max-content;
  max-width: 180px;
}

.jobseekers-cv-builder-free-two-editor-meta-sizer > * {
  grid-area: 1 / 1;
}

.jobseekers-cv-builder-free-two-editor-meta-mirror {
  visibility: hidden;
  white-space: pre;
  line-height: 1.2;
  pointer-events: none;
}

.jobseekers-cv-builder-free-two-editor-meta-input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  line-height: 1.2;
  text-align: left;
  outline: none;
}

.jobseekers-cv-builder-free-two-editor-meta-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.jobseekers-cv-builder-free-two-editor-meta-input:focus {
  color: #ffffff;
}

.jobseekers-cv-builder-free-two-editor-topbar-center {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  justify-self: center;
}

.jobseekers-cv-builder-free-two-editor-zoom,
.jobseekers-cv-builder-free-two-editor-layouts {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 32px;
  padding: 2px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.jobseekers-cv-builder-free-two-editor-control-btn,
.jobseekers-cv-builder-free-two-editor-zoom-value,
.jobseekers-cv-builder-free-two-editor-layout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.jobseekers-cv-builder-free-two-editor-control-btn {
  width: 28px;
}

.jobseekers-cv-builder-free-two-editor-control-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
}

.jobseekers-cv-builder-free-two-editor-control-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.jobseekers-cv-builder-free-two-editor-zoom-value {
  min-width: 44px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
}

.jobseekers-cv-builder-free-two-editor-layout-btn {
  gap: 4px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 700;
}

.jobseekers-cv-builder-free-two-editor-layout-btn.is-active {
  background: rgba(255, 255, 255, 0.18);
}

.jobseekers-cv-builder-free-two-editor-layout-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.jobseekers-cv-builder-free-two-editor-topbar-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.jobseekers-cv-builder-free-two-editor-btn-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: none;
  border-radius: 6px;
  background: #ffffff;
  color: #1e3a5f;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.jobseekers-cv-builder-free-two-editor-btn-save:hover {
  background: #f8fafc;
}

.jobseekers-cv-builder-free-two-editor-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
}

.jobseekers-cv-builder-free-two-editor-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.jobseekers-cv-builder-free-two-editor-body {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
  background: #e8eef5;
}

.jobseekers-cv-builder-free-two-editor-sidebar {
  width: 480px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  flex-shrink: 0;
  background: #d9e4f0;
  border-right: 1px solid #b8c9db;
}

.jobseekers-cv-builder-free-two-editor-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid #b8c9db;
  background: #c9d7e8;
  flex-shrink: 0;
}

.jobseekers-cv-builder-free-two-editor-sidebar-title {
  font-size: 12px;
  font-weight: 700;
  color: #1e3a5f;
}

.jobseekers-cv-builder-free-two-editor-sidebar-hint {
  font-size: 10px;
  font-weight: 700;
  color: #3d5a80;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.jobseekers-cv-builder-free-two-editor-sidebar-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 8px;
  box-sizing: border-box;
}

.jobseekers-cv-builder-free-two-editor-preview {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 20px;
  box-sizing: border-box;
  background: #e8eef5;
}
.jobseekers-cv-builder-free-editor-hidden {
  display: none;
}

.jobseekers-cv-builder-free-editor-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.5);
  display: flex;
  align-items: stretch;
  justify-content: center;
  z-index: 10050;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.jobseekers-cv-builder-free-editor-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.jobseekers-cv-builder-free-editor-panel {
  width: 100%;
  height: 100%;
  background: #f1f5f9;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.jobseekers-cv-builder-free-editor-topbar {
  height: 55px;
  min-height: 55px;
  background: #1e3a5f;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

.jobseekers-cv-builder-free-editor-topbar-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.jobseekers-cv-builder-free-editor-topbar-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.jobseekers-cv-builder-free-editor-topbar-subtitle {
  margin: 0;
  font-size: 11px;
  color: #cbd5e1;
}

.jobseekers-cv-builder-free-editor-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.jobseekers-cv-builder-free-editor-btn-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: none;
  border-radius: 4px;
  background: #5b7a9d;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.jobseekers-cv-builder-free-editor-btn-save:hover {
  background: #6b8aad;
}

.jobseekers-cv-builder-free-editor-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #e2e8f0;
  cursor: pointer;
}

.jobseekers-cv-builder-free-editor-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.jobseekers-cv-builder-free-editor-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 28px 32px;
  box-sizing: border-box;
}

.jobseekers-cv-builder-free-editor-setup {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.jobseekers-cv-builder-free-editor-setup-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.jobseekers-cv-builder-free-editor-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jobseekers-cv-builder-free-editor-label {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

.jobseekers-cv-builder-free-editor-input {
  height: 36px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #ffffff;
  font-size: 13px;
  color: #0f172a;
  box-sizing: border-box;
}

.jobseekers-cv-builder-free-editor-input:focus {
  outline: none;
  border-color: #1e3a5f;
}

.jobseekers-cv-builder-free-editor-mode-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.jobseekers-cv-builder-free-editor-mode-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.jobseekers-cv-builder-free-editor-mode-card.is-selected {
  border-color: #1e3a5f;
  box-shadow: 0 0 0 1px #1e3a5f;
}

.jobseekers-cv-builder-free-editor-mode-preview {
  height: 220px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background: #e2e8f0;
}

.jobseekers-cv-builder-free-editor-mode-scaler {
  transform: scale(0.28);
  transform-origin: top left;
  width: 357%;
  pointer-events: none;
}

.jobseekers-cv-builder-free-editor-mode-page {
  width: 210mm;
  min-height: 297mm;
  background: #ffffff;
}

.jobseekers-cv-builder-free-editor-mode-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jobseekers-cv-builder-free-editor-mode-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.jobseekers-cv-builder-free-editor-mode-text {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.jobseekers-cv-builder-free-editor-setup-note {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}

@media (max-width: 800px) {
  .jobseekers-cv-builder-free-editor-setup-fields,
  .jobseekers-cv-builder-free-editor-mode-row {
    grid-template-columns: 1fr;
  }

  .jobseekers-cv-builder-free-editor-body {
    padding: 20px 16px;
  }
}
.jobseekers-cv-builder-free-builder {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  box-sizing: border-box;
}

/* Header */
.jobseekers-cv-builder-free-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 24px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.jobseekers-cv-builder-free-header-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.jobseekers-cv-builder-free-header-subtitle {
  margin: 4px 0 0 0;
  font-size: 13px;
  color: #64748b;
}

/* Page Body */
.jobseekers-cv-builder-free-builder-body {
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
}

/* Split Info & Assistance Banner */
.jobseekers-cv-builder-free-info-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(340px, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* Left Info Card */
.jobseekers-cv-builder-free-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
}

.jobseekers-cv-builder-free-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jobseekers-cv-builder-free-info-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jobseekers-cv-builder-free-info-icon {
  color: #0284c7;
}

.jobseekers-cv-builder-free-info-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.jobseekers-cv-builder-free-info-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 11px;
  font-weight: 700;
}

.jobseekers-cv-builder-free-info-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #475569;
}

.jobseekers-cv-builder-free-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  padding-top: 4px;
}

.jobseekers-cv-builder-free-info-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #334155;
}

.jobseekers-cv-builder-free-item-icon {
  color: #0369a1;
  margin-top: 2px;
  flex-shrink: 0;
}

.jobseekers-cv-builder-free-info-item div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.jobseekers-cv-builder-free-info-item strong {
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
}

.jobseekers-cv-builder-free-info-item span {
  font-size: 11px;
  color: #64748b;
}

/* Hire Consultant Promo Banner */
.jobseekers-cv-builder-free-consultant-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f766e 100%);
  border-radius: 12px;
  padding: 18px 24px;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
}

.jobseekers-cv-builder-free-consultant-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.jobseekers-cv-builder-free-consultant-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #38bdf8;
}

.jobseekers-cv-builder-free-consultant-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.jobseekers-cv-builder-free-consultant-sub {
  margin: 3px 0 0 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: #cbd5e1;
}

.jobseekers-cv-builder-free-consultant-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.jobseekers-cv-builder-free-consultant-rates {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jobseekers-cv-builder-free-rate-chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11.5px;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
}

.jobseekers-cv-builder-free-consultant-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 38px;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.jobseekers-cv-builder-free-consultant-btn:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

/* Resumes Table Section */
.jobseekers-cv-builder-free-resumes-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.jobseekers-cv-builder-free-resumes-card-header {
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jobseekers-cv-builder-free-resumes-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jobseekers-cv-builder-free-resumes-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.jobseekers-cv-builder-free-resumes-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #bae6fd;
}

.jobseekers-cv-builder-free-resumes-sub {
  margin: 0;
  font-size: 12.5px;
  color: #64748b;
}

.jobseekers-cv-builder-free-resumes-table-container {
  width: 100%;
  overflow-x: auto;
}

.jobseekers-cv-builder-free-resumes-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.jobseekers-cv-builder-free-resumes-table th {
  background: #ffffff;
  padding: 12px 18px;
  font-weight: 700;
  color: #475569;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid #e2e8f0;
}

.jobseekers-cv-builder-free-resumes-table td {
  padding: 16px 18px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.jobseekers-cv-builder-free-resumes-table tr:last-child td {
  border-bottom: none;
}

.jobseekers-cv-builder-free-resumes-table tr:hover td {
  background: #f8fafc;
}

.jobseekers-cv-builder-free-slot-empty {
  color: #64748b;
  font-weight: 600;
  font-size: 13px;
}

.jobseekers-cv-builder-free-layout-pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
}

.jobseekers-cv-builder-free-layout-pill.simple {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.jobseekers-cv-builder-free-layout-pill.advanced {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.jobseekers-cv-builder-free-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.jobseekers-cv-builder-free-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.jobseekers-cv-builder-free-table-head {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.jobseekers-cv-builder-free-table-th {
  padding: 12px 18px;
  font-weight: 600;
  color: #475569;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.jobseekers-cv-builder-free-table-th-actions {
  text-align: right;
}

.jobseekers-cv-builder-free-table-row {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.jobseekers-cv-builder-free-table-row:last-child {
  border-bottom: none;
}

.jobseekers-cv-builder-free-table-row:hover {
  background: #f8fafc;
}

.jobseekers-cv-builder-free-table-row.is-empty {
  background: #fafafa;
}

.jobseekers-cv-builder-free-table-td {
  padding: 14px 18px;
  color: #334155;
  vertical-align: middle;
}

.jobseekers-cv-builder-free-table-td-actions {
  text-align: right;
}

.jobseekers-cv-builder-free-table-name-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  color: #0284c7;
  cursor: pointer;
  text-align: left;
}

.jobseekers-cv-builder-free-table-name-btn:hover {
  text-decoration: underline;
  color: #0369a1;
}

.jobseekers-cv-builder-free-table-empty-label {
  color: #94a3b8;
  font-style: italic;
  font-size: 12px;
}

.jobseekers-cv-builder-free-table-create-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid #0284c7;
  background: #0284c7;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.jobseekers-cv-builder-free-table-create-btn:hover {
  background: #0369a1;
  border-color: #0369a1;
}

.jobseekers-cv-builder-free-table-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.jobseekers-cv-builder-free-table-actions.is-blurred {
  opacity: 0.35;
  pointer-events: none;
}

.jobseekers-cv-builder-free-table-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.jobseekers-cv-builder-free-table-action:hover:not(:disabled) {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.jobseekers-cv-builder-free-table-action.is-danger:hover:not(:disabled) {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #dc2626;
}

/* Layout Cards Section */
.jobseekers-cv-builder-free-layout-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.jobseekers-cv-builder-free-layout-block {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  box-sizing: border-box;
}

.jobseekers-cv-builder-free-layout-block.is-simple {
  border: 1px solid #334155;
  background: linear-gradient(160deg, #1e293b 0%, #334155 100%);
}

.jobseekers-cv-builder-free-layout-block.is-advanced {
  border: 1px solid #1e3a5f;
  background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 100%);
}

.jobseekers-cv-builder-free-layout-media {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.jobseekers-cv-builder-free-layout-preview {
  position: relative;
  min-height: 260px;
  height: 260px;
  border-radius: 8px;
  overflow: visible;
  perspective: 900px;
  box-sizing: border-box;
  background: transparent;
}

.jobseekers-cv-builder-free-layout-preview.is-simple,
.jobseekers-cv-builder-free-layout-preview.is-advanced {
  background: transparent;
}

.jobseekers-cv-builder-free-layout-card {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 152px;
  height: 214px;
  border-radius: 4px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.28);
  transform-origin: center bottom;
}

.jobseekers-cv-builder-free-layout-preview.is-simple .jobseekers-cv-builder-free-layout-card {
  top: 6px;
  width: 162px;
  height: 228px;
  transform: translateX(-50%) rotateY(-8deg) rotateX(2deg);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.32);
}

.jobseekers-cv-builder-free-layout-preview.is-advanced .jobseekers-cv-builder-free-layout-card.is-back {
  transform: translateX(calc(-50% - 16px)) rotateY(20deg) rotateX(7deg);
  opacity: 0.88;
  z-index: 1;
}

.jobseekers-cv-builder-free-layout-preview.is-advanced .jobseekers-cv-builder-free-layout-card.is-front {
  transform: translateX(calc(-50% + 14px)) rotateY(-10deg) rotateX(4deg);
  z-index: 2;
}

.jobseekers-cv-builder-free-layout-scaler {
  transform: scale(0.192);
  transform-origin: 0 0;
  width: 521%;
  pointer-events: none;
}

.jobseekers-cv-builder-free-layout-preview.is-simple .jobseekers-cv-builder-free-layout-scaler {
  transform: scale(0.204);
  width: 490%;
}

.jobseekers-cv-builder-free-layout-page {
  width: 210mm;
  min-height: 297mm;
  background: #ffffff;
}

.jobseekers-cv-builder-free-layout-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.jobseekers-cv-builder-free-layout-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jobseekers-cv-builder-free-layout-download-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.jobseekers-cv-builder-free-layout-download {
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.02em;
}

.jobseekers-cv-builder-free-layout-no-watermark {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
}

.jobseekers-cv-builder-free-layout-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.jobseekers-cv-builder-free-layout-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #cbd5e1;
}

.jobseekers-cv-builder-free-layout-list {
  margin: 4px 0 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jobseekers-cv-builder-free-layout-list li {
  font-size: 11.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.jobseekers-cv-builder-free-layout-list li::before {
  content: "•";
  color: #38bdf8;
  font-size: 14px;
}

.jobseekers-cv-builder-free-layout-list-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 10px;
}

.jobseekers-cv-builder-free-layout-start {
  height: 40px;
  width: 100%;
  border-radius: 8px;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jobseekers-cv-builder-free-layout-start.is-simple {
  background: #38bdf8;
  color: #0f172a;
}

.jobseekers-cv-builder-free-layout-start.is-simple:hover {
  background: #7dd3fc;
}

.jobseekers-cv-builder-free-layout-start.is-advanced {
  background: #0284c7;
  color: #ffffff;
}

.jobseekers-cv-builder-free-layout-start.is-advanced:hover {
  background: #0369a1;
}

/* Modals */
.jobseekers-cv-builder-free-preview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.jobseekers-cv-builder-free-delete-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.jobseekers-cv-builder-free-preview-modal {
  background: #ffffff;
  border-radius: 14px;
  width: 920px;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  border: 1px solid #cbd5e1;
}

.jobseekers-cv-builder-free-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

.jobseekers-cv-builder-free-preview-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.jobseekers-cv-builder-free-preview-subtitle {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: #64748b;
}

.jobseekers-cv-builder-free-preview-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.jobseekers-cv-builder-free-preview-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 6px;
  background: #0284c7;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.jobseekers-cv-builder-free-preview-close,
.jobseekers-cv-builder-free-delete-close {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.jobseekers-cv-builder-free-preview-close:hover,
.jobseekers-cv-builder-free-delete-close:hover {
  color: #0f172a;
  background: #e2e8f0;
}

.jobseekers-cv-builder-free-preview-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 24px;
  background: #f8fafc;
  display: flex;
  justify-content: center;
}

.jobseekers-cv-builder-free-delete-modal {
  background: #ffffff;
  border-radius: 12px;
  width: 420px;
  max-width: 90vw;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jobseekers-cv-builder-free-delete-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jobseekers-cv-builder-free-delete-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.jobseekers-cv-builder-free-delete-body {
  font-size: 13px;
  color: #334155;
}

.jobseekers-cv-builder-free-delete-message {
  margin: 0 0 6px 0;
}

.jobseekers-cv-builder-free-delete-name {
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.jobseekers-cv-builder-free-delete-warning {
  font-size: 12px;
  color: #dc2626;
  margin: 0;
}

.jobseekers-cv-builder-free-delete-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.jobseekers-cv-builder-free-delete-btn-cancel {
  height: 34px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.jobseekers-cv-builder-free-delete-btn-confirm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 6px;
  border: none;
  background: #dc2626;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* Edit Metadata Popup Modal */
.jobseekers-cv-builder-free-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.jobseekers-cv-builder-free-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.jobseekers-cv-builder-free-meta-modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.jobseekers-cv-builder-free-meta-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}

.jobseekers-cv-builder-free-meta-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.jobseekers-cv-builder-free-meta-modal-sub {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: #64748b;
}

.jobseekers-cv-builder-free-meta-modal-close {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.jobseekers-cv-builder-free-meta-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.jobseekers-cv-builder-free-meta-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jobseekers-cv-builder-free-meta-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jobseekers-cv-builder-free-meta-label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.jobseekers-cv-builder-free-meta-input,
.jobseekers-cv-builder-free-meta-select {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 13px;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.jobseekers-cv-builder-free-meta-input:focus,
.jobseekers-cv-builder-free-meta-select:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.jobseekers-cv-builder-free-meta-modal-footer {
  padding: 14px 20px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jobseekers-cv-builder-free-meta-footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jobseekers-cv-builder-free-meta-btn-secondary {
  background: none;
  border: none;
  font-size: 12.5px;
  font-weight: 600;
  color: #0284c7;
  cursor: pointer;
  padding: 0;
}

.jobseekers-cv-builder-free-meta-btn-secondary:hover {
  text-decoration: underline;
}

.jobseekers-cv-builder-free-meta-btn-cancel {
  height: 34px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.jobseekers-cv-builder-free-meta-btn-cancel:hover {
  background: #f1f5f9;
}

.jobseekers-cv-builder-free-meta-btn-save {
  height: 34px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid #0284c7;
  background: #0284c7;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.jobseekers-cv-builder-free-meta-btn-save:hover {
  background: #0369a1;
}

/* Custom Interactive Option Selectors (Modal Popup) */
.jobseekers-cv-builder-free-custom-options {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.jobseekers-cv-builder-free-custom-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.jobseekers-cv-builder-free-custom-opt.is-sm {
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
  border-radius: 6px;
}

.jobseekers-cv-builder-free-custom-opt:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
}

.jobseekers-cv-builder-free-custom-opt.is-selected {
  border-color: #0284c7;
  background: #0284c7;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.jobseekers-cv-builder-free-region-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f0fdf4;
  color: #166534;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #bbf7d0;
}
.jobseekers-tools-cv-builder-free-page {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.jobseekers-tools-cv-builder-free-content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0;
}
.jobseekers-cv-builder-ai-editor-hidden {
  display: none;
}

.jobseekers-cv-builder-ai-editor-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.5);
  display: flex;
  align-items: stretch;
  justify-content: center;
  z-index: 10050;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.jobseekers-cv-builder-ai-editor-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.jobseekers-cv-builder-ai-editor-panel {
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ---------- Topbar ---------- */

.jobseekers-cv-builder-ai-editor-topbar {
  height: 55px;
  min-height: 55px;
  background: #1e3a5f;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) auto minmax(140px, 0.7fr);
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.2);
}

.jobseekers-cv-builder-ai-editor-topbar-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.jobseekers-cv-builder-ai-editor-topbar-name {
  width: 100%;
  max-width: 280px;
  height: 24px;
  padding: 0 2px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  outline: none;
}

.jobseekers-cv-builder-ai-editor-topbar-name::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.jobseekers-cv-builder-ai-editor-topbar-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex-wrap: nowrap;
  overflow: hidden;
}

.jobseekers-cv-builder-ai-editor-topbar-meta-chip {
  flex-shrink: 0;
  max-width: 120px;
  height: 22px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jobseekers-cv-builder-ai-editor-topbar-meta-input {
  width: 72px;
  height: 22px;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 600;
  outline: none;
}

.jobseekers-cv-builder-ai-editor-topbar-meta-input-wide {
  width: 110px;
  flex: 1;
  min-width: 80px;
  max-width: 160px;
}

.jobseekers-cv-builder-ai-editor-topbar-meta-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.jobseekers-cv-builder-ai-editor-topbar-meta-input:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.jobseekers-cv-builder-ai-editor-topbar-center {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  justify-self: center;
}

.jobseekers-cv-builder-ai-editor-topbar-zoom,
.jobseekers-cv-builder-ai-editor-topbar-page-sizes,
.jobseekers-cv-builder-ai-editor-topbar-layouts {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 32px;
  padding: 2px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.jobseekers-cv-builder-ai-editor-topbar-control-btn,
.jobseekers-cv-builder-ai-editor-topbar-page-btn,
.jobseekers-cv-builder-ai-editor-topbar-zoom-value,
.jobseekers-cv-builder-ai-editor-topbar-layout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.jobseekers-cv-builder-ai-editor-topbar-control-btn {
  width: 28px;
}

.jobseekers-cv-builder-ai-editor-topbar-control-btn:hover:not(:disabled),
.jobseekers-cv-builder-ai-editor-topbar-page-btn:hover,
.jobseekers-cv-builder-ai-editor-topbar-zoom-value:hover,
.jobseekers-cv-builder-ai-editor-topbar-layout-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.jobseekers-cv-builder-ai-editor-topbar-control-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.jobseekers-cv-builder-ai-editor-topbar-zoom-value {
  min-width: 46px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.jobseekers-cv-builder-ai-editor-topbar-page-btn {
  min-width: 44px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.jobseekers-cv-builder-ai-editor-topbar-page-btn.is-active,
.jobseekers-cv-builder-ai-editor-topbar-layout-btn.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.jobseekers-cv-builder-ai-editor-topbar-layout-btn {
  gap: 5px;
  min-width: 0;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.jobseekers-cv-builder-ai-editor-topbar-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.jobseekers-cv-builder-ai-editor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.12s ease;
}

.jobseekers-cv-builder-ai-editor-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #ffffff;
}

.jobseekers-cv-builder-ai-editor-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
}

.jobseekers-cv-builder-ai-editor-btn-save {
  border: 1px solid #3d5f82;
  background: #3d5f82;
  color: #d1fae5;
  box-shadow: none;
}

.jobseekers-cv-builder-ai-editor-btn-save:hover {
  background: #476d92;
  border-color: #476d92;
  color: #ecfdf5;
}

.jobseekers-cv-builder-ai-editor-btn-save:active {
  background: #355574;
  border-color: #355574;
  transform: translateY(1px);
}

.jobseekers-cv-builder-ai-editor-btn-primary {
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #1e3a5f;
  box-shadow: none;
}

.jobseekers-cv-builder-ai-editor-btn-primary:hover {
  background: #e8eef6;
  border-color: #e8eef6;
  color: #152a45;
  box-shadow: none;
}

.jobseekers-cv-builder-ai-editor-btn-primary:active {
  background: #d7e2ef;
  border-color: #d7e2ef;
  transform: translateY(1px);
  box-shadow: none;
}

.jobseekers-cv-builder-ai-editor-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.12s ease;
}

.jobseekers-cv-builder-ai-editor-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(252, 165, 165, 0.45);
  color: #ffffff;
}

.jobseekers-cv-builder-ai-editor-close-btn:active {
  background: rgba(239, 68, 68, 0.32);
  transform: translateY(1px);
}

/* ---------- Body / sidebars ---------- */

.jobseekers-cv-builder-ai-editor-body {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
  background: #1a1d21;
}

.jobseekers-cv-builder-ai-editor-sidebar-left,
.jobseekers-cv-builder-ai-editor-sidebar-right {
  width: 480px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex-shrink: 0;
  background: #4b5563;
}

.jobseekers-cv-builder-ai-editor-sidebar-left {
  border-right: 1px solid #3f4754;
}

.jobseekers-cv-builder-ai-editor-sidebar-right {
  border-left: 1px solid #3f4754;
}

.jobseekers-cv-builder-ai-editor-sidebar-header {
  height: 42px;
  min-height: 42px;
  padding: 0 10px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #3f4754;
  background: #3f4754;
  flex-shrink: 0;
}

.jobseekers-cv-builder-ai-editor-sidebar-title {
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jobseekers-cv-builder-ai-editor-sidebar-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.jobseekers-cv-builder-ai-editor-sidebar-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.85);
}

.jobseekers-cv-builder-ai-editor-sidebar-collapse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.jobseekers-cv-builder-ai-editor-sidebar-collapse-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
}

.jobseekers-cv-builder-ai-editor-sidebar-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: #4b5563;
}

.jobseekers-cv-builder-ai-editor-edge-toggle {
  flex-shrink: 0;
  align-self: stretch;
  width: 42px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 14px 0 16px;
  border: none;
  background: #3f4754;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.jobseekers-cv-builder-ai-editor-edge-toggle.is-left {
  border-right: 1px solid #2f3640;
}

.jobseekers-cv-builder-ai-editor-edge-toggle.is-right {
  border-left: 1px solid #2f3640;
}

.jobseekers-cv-builder-ai-editor-edge-toggle:hover {
  background: #4b5563;
}

.jobseekers-cv-builder-ai-editor-edge-toggle-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1;
}

.jobseekers-cv-builder-ai-editor-edge-toggle.is-left
  .jobseekers-cv-builder-ai-editor-edge-toggle-label {
  transform: rotate(180deg);
}

.jobseekers-cv-builder-ai-editor-preview-pane {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

/* ---------- Tools panel ---------- */

.jobseekers-cv-builder-ai-editor-tools {
  display: flex;
  flex-direction: column;
  background: #4b5563;
}

.jobseekers-cv-builder-ai-editor-tools-accordion {
  border-bottom: 1px solid #3f4754;
}

.jobseekers-cv-builder-ai-editor-tools-accordion-header {
  width: 100%;
  height: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 16px;
  border: none;
  background: #4b5563;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.15s ease;
}

.jobseekers-cv-builder-ai-editor-tools-accordion-header:hover {
  background: #565f6d;
}

.jobseekers-cv-builder-ai-editor-tools-accordion.is-open
  > .jobseekers-cv-builder-ai-editor-tools-accordion-header {
  background: #f3f4f6;
  color: #111827;
  border-bottom: 1px solid #d1d5db;
}

.jobseekers-cv-builder-ai-editor-tools-accordion-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}

.jobseekers-cv-builder-ai-editor-tools-chevron {
  color: rgba(255, 255, 255, 0.55);
  transition: transform 0.15s ease, color 0.15s ease;
  transform: rotate(-90deg);
}

.jobseekers-cv-builder-ai-editor-tools-accordion.is-open
  .jobseekers-cv-builder-ai-editor-tools-chevron {
  transform: rotate(0deg);
  color: #6b7280;
}

.jobseekers-cv-builder-ai-editor-tools-accordion-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f3f4f6;
}

.jobseekers-cv-builder-ai-editor-tools-template-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jobseekers-cv-builder-ai-editor-tools-template-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  text-align: left;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.jobseekers-cv-builder-ai-editor-tools-template-btn:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.jobseekers-cv-builder-ai-editor-tools-template-btn.is-active {
  border-color: #1e3a5f;
  background: #eef2f7;
  box-shadow: inset 0 0 0 1px #1e3a5f;
}

.jobseekers-cv-builder-ai-editor-tools-template-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.jobseekers-cv-builder-ai-editor-tools-template-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

.jobseekers-cv-builder-ai-editor-tools-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 34px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  padding: 0 12px;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.jobseekers-cv-builder-ai-editor-tools-action-btn:hover:not(:disabled) {
  background: #eef2f7;
  border-color: #94a3b8;
  color: #1e3a5f;
}

.jobseekers-cv-builder-ai-editor-tools-action-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.jobseekers-cv-builder-ai-editor-tools-note {
  margin: 0;
  font-size: 11px;
  color: #94a3b8;
}

.jobseekers-cv-builder-ai-editor-simple-spacer {
  width: 12px;
  flex-shrink: 0;
}
.jobseekers-cv-builder-ai-resumes-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.jobseekers-cv-builder-ai-resumes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: #0f172a;
}

.jobseekers-cv-builder-ai-resumes-table-head {
  background: #f1f5f9;
}

.jobseekers-cv-builder-ai-resumes-table-th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #475569;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.jobseekers-cv-builder-ai-resumes-table-th-actions {
  text-align: right;
}

.jobseekers-cv-builder-ai-resumes-table-row:hover {
  background: #f8fafc;
}

.jobseekers-cv-builder-ai-resumes-table-td {
  padding: 12px 16px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
}

.jobseekers-cv-builder-ai-resumes-table-td-actions {
  text-align: right;
}

.jobseekers-cv-builder-ai-resumes-table-preview-btn {
  display: block;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-resumes-table-preview {
  position: relative;
  display: block;
  width: 56px;
  height: 79px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background: #ffffff;
}

.jobseekers-cv-builder-ai-resumes-table-preview-scaler {
  position: absolute;
  top: 0;
  left: 0;
  width: 794px;
  height: 1123px;
  transform: scale(0.0705);
  transform-origin: 0 0;
  pointer-events: none;
}

.jobseekers-cv-builder-ai-resumes-table-preview-page {
  display: block;
  width: 794px;
  height: 1123px;
  overflow: hidden;
  background: #ffffff;
  text-align: left;
}

.jobseekers-cv-builder-ai-resumes-table-preview-page > div {
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.jobseekers-cv-builder-ai-resumes-table-name-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.jobseekers-cv-builder-ai-resumes-table-name-btn {
  border: none;
  background: transparent;
  color: #1e3a5f;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.jobseekers-cv-builder-ai-resumes-table-name-btn:hover {
  text-decoration: underline;
}

.jobseekers-cv-builder-ai-resumes-table-master-pill {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  background: #26596d;
}

.jobseekers-cv-builder-ai-resumes-table-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.jobseekers-cv-builder-ai-resumes-table-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-resumes-table-action-btn:hover {
  background: #eef2f7;
  color: #1e3a5f;
  border-color: #cbd5e1;
}

.jobseekers-cv-builder-ai-resumes-table-action-btn-danger:hover {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.jobseekers-cv-builder-ai-resumes-table-empty {
  padding: 40px 24px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}
/* Page shell: dedicated header block + separate body block */
.jobseekers-cv-builder-ai-builder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
  position: relative;
  min-height: 0;
  background: #ffffff;
}

/* Dedicated header — light gray bar */
.jobseekers-cv-builder-ai-builder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  padding: 14px 24px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  box-sizing: border-box;
}

.jobseekers-cv-builder-ai-builder-header-text {
  min-width: 0;
}

.jobseekers-cv-builder-ai-builder-header-back-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.jobseekers-cv-builder-ai-builder-header-copy {
  min-width: 0;
}

.jobseekers-cv-builder-ai-builder-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-top: 2px;
  padding: 6px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #1e3a5f;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-builder-back:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.jobseekers-cv-builder-ai-builder-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.jobseekers-cv-builder-ai-builder-subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  color: #64748b;
}

.jobseekers-cv-builder-ai-builder-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 4px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.jobseekers-cv-builder-ai-builder-tab {
  border: none;
  background: transparent;
  color: #64748b;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-builder-tab:hover {
  color: #0f172a;
  background: #e2e8f0;
}

.jobseekers-cv-builder-ai-builder-tab-active {
  background: #1e3a5f;
  color: #ffffff;
}

.jobseekers-cv-builder-ai-builder-tab-active:hover {
  background: #16304f;
  color: #ffffff;
}

/* Dedicated body — white canvas */
.jobseekers-cv-builder-ai-builder-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 24px;
  box-sizing: border-box;
  background: #ffffff;
}

.jobseekers-cv-builder-ai-dashboard {
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: 100%;
  min-height: 0;
  padding-bottom: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.jobseekers-cv-builder-ai-panel-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.jobseekers-cv-builder-ai-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jobseekers-cv-builder-ai-section-create {
  flex-shrink: 0;
}

.jobseekers-cv-builder-ai-section-manage {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 12px;
}

.jobseekers-cv-builder-ai-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jobseekers-cv-builder-ai-section-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.jobseekers-cv-builder-ai-section-count {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 2px 8px;
}

/* Top row: compact create cards (content height only) */
.jobseekers-cv-builder-ai-create-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  flex-shrink: 0;
}

/* Bottom row: taller panels for previews / stats */
.jobseekers-cv-builder-ai-library-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  flex: 1;
  min-height: 0;
  align-items: stretch;
}

.jobseekers-cv-builder-ai-library-row > .jobseekers-cv-builder-ai-panel {
  min-height: 0;
  height: 100%;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.jobseekers-cv-builder-ai-create-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  padding: 16px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
  color: inherit;
  box-sizing: border-box;
  height: auto;
}

.jobseekers-cv-builder-ai-create-card:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
}

.jobseekers-cv-builder-ai-create-card-upload {
  border-style: dashed;
  border-color: #94a3b8;
  background: #f8fafc;
}

.jobseekers-cv-builder-ai-create-card-upload:hover {
  border-color: #26596d;
  background: #f1f5f9;
}

.jobseekers-cv-builder-ai-create-card-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 72px;
  padding: 10px;
  border-radius: 8px;
  border: 1px dashed #94a3b8;
  background: #ffffff;
  color: #26596d;
  box-sizing: border-box;
}

.jobseekers-cv-builder-ai-create-card-upload-label {
  font-size: 12px;
  font-weight: 700;
  color: #1e3a5f;
}

.jobseekers-cv-builder-ai-create-card-upload-hint {
  font-size: 11px;
  color: #64748b;
}

.jobseekers-cv-builder-ai-create-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #eef2f7;
  color: #1e3a5f;
}

.jobseekers-cv-builder-ai-create-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.jobseekers-cv-builder-ai-create-card-text {
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

.jobseekers-cv-builder-ai-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  min-width: 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e8edf3;
  background: #f8fafc;
  box-sizing: border-box;
}

.jobseekers-cv-builder-ai-panel-master {
  background: #d7efe3;
  border-color: #b7dcc8;
}

.jobseekers-cv-builder-ai-master-updated {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
}

.jobseekers-cv-builder-ai-master-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #475569;
}

.jobseekers-cv-builder-ai-panel-created {
  background: #d9e6f7;
  border-color: #b7cce8;
}

.jobseekers-cv-builder-ai-panel-clickable {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.jobseekers-cv-builder-ai-panel-clickable:hover {
  border-color: #94a3b8;
}

.jobseekers-cv-builder-ai-panel-clickable .jobseekers-cv-builder-ai-section-header {
  width: 100%;
}

.jobseekers-cv-builder-ai-panel-templates {
  background: #f3e4c8;
  border-color: #e2cfa8;
}

/* Full A4 page preview — pinned top-left like a real page scan */
.jobseekers-cv-builder-ai-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 210 / 297;
  max-height: 240px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #e8edf3;
  background: #ffffff;
}

.jobseekers-cv-builder-ai-thumb-scaler {
  position: absolute;
  top: 0;
  left: 0;
  width: 794px;
  height: 1123px;
  transform: scale(0.214);
  transform-origin: 0 0;
  pointer-events: none;
}

.jobseekers-cv-builder-ai-thumb-page {
  display: block;
  width: 794px;
  height: 1123px;
  overflow: hidden;
  background: #ffffff;
  text-align: left;
}

.jobseekers-cv-builder-ai-thumb-page > div {
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.jobseekers-cv-builder-ai-thumb-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-template-deck {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  width: 100%;
  min-height: 0;
  padding: 8px 8px 6px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  perspective: 1000px;
  box-sizing: border-box;
}

.jobseekers-cv-builder-ai-template-deck:hover .jobseekers-cv-builder-ai-template-deck-layer-front {
  transform: translateX(-50%) translateY(-8px) rotate(-2deg);
}

/* Fixed A4 card size so full resume page always fits (794px → 170px) */
.jobseekers-cv-builder-ai-template-deck-layer {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 170px;
  height: 240px;
  border-radius: 6px;
  border: 1px solid #d5dde8;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
  transform-origin: center bottom;
  transition: transform 0.2s ease;
  overflow: hidden;
  box-sizing: border-box;
}

.jobseekers-cv-builder-ai-template-deck-layer-back {
  transform: translateX(calc(-50% + 22px)) rotate(9deg);
  z-index: 1;
}

.jobseekers-cv-builder-ai-template-deck-layer-mid {
  transform: translateX(calc(-50% + 10px)) rotate(3.5deg);
  z-index: 2;
}

.jobseekers-cv-builder-ai-template-deck-layer-front {
  transform: translateX(-50%) rotate(-2deg);
  z-index: 3;
}

.jobseekers-cv-builder-ai-thumb-deck {
  position: absolute;
  top: 0;
  left: 0;
  width: 170px;
  height: 240px;
  max-height: none;
  aspect-ratio: auto;
  border: none;
  border-radius: 5px;
}

.jobseekers-cv-builder-ai-thumb-deck .jobseekers-cv-builder-ai-thumb-scaler {
  transform: scale(0.2141);
  transform-origin: 0 0;
}

.jobseekers-cv-builder-ai-template-deck-hint {
  position: relative;
  z-index: 4;
  margin-top: auto;
  padding-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}

.jobseekers-cv-builder-ai-template-preview-panel {
  width: min(420px, 100%);
}

.jobseekers-cv-builder-ai-template-preview-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.jobseekers-cv-builder-ai-template-preview-body .jobseekers-cv-builder-ai-thumb {
  width: 368px;
  height: 520px;
  max-height: 520px;
  aspect-ratio: auto;
  margin-left: auto;
  margin-right: auto;
}

.jobseekers-cv-builder-ai-template-preview-body .jobseekers-cv-builder-ai-thumb-scaler {
  transform: scale(0.4635);
  transform-origin: 0 0;
}

.jobseekers-cv-builder-ai-template-preview-body .jobseekers-cv-builder-ai-btn-primary {
  align-self: center;
}

.jobseekers-cv-builder-ai-master-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  flex: 1;
  min-height: 0;
}

.jobseekers-cv-builder-ai-master-card-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.jobseekers-cv-builder-ai-master-card-name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.jobseekers-cv-builder-ai-master-card-meta {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}

.jobseekers-cv-builder-ai-master-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.jobseekers-cv-builder-ai-empty-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  padding: 12px;
  border: 1px dashed #94a3b8;
  border-radius: 8px;
  background: #ffffff;
}

.jobseekers-cv-builder-ai-empty-block-upload {
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #64748b;
}

.jobseekers-cv-builder-ai-empty-block-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
}

.jobseekers-cv-builder-ai-created-overview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin-top: 10px;
  box-sizing: border-box;
}

.jobseekers-cv-builder-ai-created-stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  align-self: stretch;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  text-align: left;
  color: inherit;
  box-sizing: border-box;
}

.jobseekers-cv-builder-ai-panel-clickable:hover .jobseekers-cv-builder-ai-created-stat {
  border-color: #cbd5e1;
}

.jobseekers-cv-builder-ai-created-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.jobseekers-cv-builder-ai-created-stat-value {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: #1e3a5f;
}

.jobseekers-cv-builder-ai-created-table-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 0;
}

.jobseekers-cv-builder-ai-created-table-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.jobseekers-cv-builder-ai-created-table-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.jobseekers-cv-builder-ai-template-card-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  padding: 0 4px;
}

.jobseekers-cv-builder-ai-template-card-desc {
  font-size: 11px;
  line-height: 1.35;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 0 4px 4px;
}

.jobseekers-cv-builder-ai-saved-card-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.jobseekers-cv-builder-ai-saved-card-name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jobseekers-cv-builder-ai-saved-card-meta {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}

.jobseekers-cv-builder-ai-saved-card-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.jobseekers-cv-builder-ai-status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: #e2e8f0;
}

.jobseekers-cv-builder-ai-status-pill-master {
  color: #ffffff;
  background: #26596d;
}

.jobseekers-cv-builder-ai-btn-primary {
  border: 1px solid #1e3a5f;
  border-radius: 6px;
  background: #1e3a5f;
  color: #ffffff;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-btn-primary:hover {
  background: #16304f;
  border-color: #16304f;
}

.jobseekers-cv-builder-ai-btn-secondary {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #334155;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-btn-secondary:hover {
  background: #f1f5f9;
}

.jobseekers-cv-builder-ai-btn-text {
  border: none;
  background: transparent;
  color: #1e3a5f;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-btn-text:hover {
  color: #16304f;
  text-decoration: underline;
}

.jobseekers-cv-builder-ai-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
}

.jobseekers-cv-builder-ai-icon-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.jobseekers-cv-builder-ai-icon-btn-danger:hover {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.jobseekers-cv-builder-ai-tab-intro {
  margin: 0 0 16px;
  font-size: 13px;
  color: #64748b;
}

.jobseekers-cv-builder-ai-demo-grid,
.jobseekers-cv-builder-ai-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.jobseekers-cv-builder-ai-demo-card,
.jobseekers-cv-builder-ai-tip-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.jobseekers-cv-builder-ai-demo-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
}

.jobseekers-cv-builder-ai-demo-card-kind {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.jobseekers-cv-builder-ai-demo-card-title,
.jobseekers-cv-builder-ai-tip-card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.jobseekers-cv-builder-ai-demo-card-text,
.jobseekers-cv-builder-ai-tip-card-body {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
}

.jobseekers-cv-builder-ai-shell-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.35);
  box-sizing: border-box;
}

.jobseekers-cv-builder-ai-shell-panel {
  width: min(560px, 100%);
  margin-top: 40px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.jobseekers-cv-builder-ai-shell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.jobseekers-cv-builder-ai-shell-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.jobseekers-cv-builder-ai-shell-body {
  padding: 20px 16px;
}

.jobseekers-cv-builder-ai-shell-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 160px;
  padding: 24px;
  text-align: center;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.jobseekers-cv-builder-ai-shell-placeholder p {
  margin: 0;
  max-width: 360px;
}

@media (max-width: 900px) {
  .jobseekers-cv-builder-ai-create-row,
  .jobseekers-cv-builder-ai-library-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .jobseekers-cv-builder-ai-builder-header {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
  }

  .jobseekers-cv-builder-ai-builder-body {
    padding: 16px;
  }

  .jobseekers-cv-builder-ai-builder-tabs {
    width: 100%;
  }

  .jobseekers-cv-builder-ai-builder-tab {
    flex: 1;
  }
}
.jobseekers-tools-cv-builder-standard-page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.jobseekers-tools-cv-builder-standard-content-wrapper {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0;
}
.jobseekers-tools-cv-builder-ai-powered-page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.jobseekers-tools-cv-builder-ai-powered-content-wrapper {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0;
}
.jobseekers-tools-cv-builder-page {
  width: 100%;
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.jobseekers-tools-cv-builder-layout {
  display: flex;
  flex: 1;
  min-height: 0;
  width: 100%;
  height: 100%;
}

.jobseekers-tools-cv-builder-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

@media (max-width: 768px) {
  .jobseekers-tools-cv-builder-layout {
    flex-direction: column;
  }
}
.crm-legal-nav-bar {
  position: sticky;
  top: 60px;
  z-index: 900;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 15px 24px;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.crm-legal-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.crm-legal-nav-home {
  color: #6b7280;
  text-decoration: none;
}

.crm-legal-nav-home:hover {
  color: #1d4ed8;
}

.crm-legal-nav-separator {
  color: #d1d5db;
  flex-shrink: 0;
}

.crm-legal-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.crm-legal-nav-link {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.crm-legal-nav-link:hover {
  color: #1d4ed8;
}

.crm-legal-nav-link-active {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

@media (max-width: 768px) {
  .crm-legal-nav-bar {
    top: 50px;
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .crm-legal-nav-bar {
    top: 48px;
  }

  .crm-legal-nav-links {
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .crm-legal-nav-bar {
    top: 46px;
  }
}

.crm-legal-nav-link-btn {
  background: transparent;
  border: none;
  color: #374151;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  transition: all 0.2s ease;
}

.crm-legal-nav-link-btn:hover {
  color: #1d4ed8;
}
.crm-legal-page-shell {
  padding-top: 60px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.crm-legal-page-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .crm-legal-page-shell {
    padding-top: 50px;
  }
}

@media (max-width: 480px) {
  .crm-legal-page-shell {
    padding-top: 48px;
  }
}

@media (max-width: 360px) {
  .crm-legal-page-shell {
    padding-top: 46px;
  }
}
.crm-legal-page {
  min-height: 100vh;
  background-color: #f8fafc;
}

.crm-legal-hero {
  background: linear-gradient(135deg, #0f3a5c 0%, #1d4ed8 100%);
  color: #ffffff;
  padding: 56px 24px;
  text-align: center;
}

.crm-legal-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.crm-legal-tag {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.crm-legal-title {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 700;
}

.crm-legal-subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #dbeafe;
}

.crm-legal-updated {
  margin-top: 16px;
  font-size: 13px;
  color: #bfdbfe;
}

.crm-legal-content {
  flex: 1;
  padding: 40px 24px 56px;
}

.crm-legal-content-inner {
  max-width: 820px;
  margin: 0 auto;
}

.crm-legal-section {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 18px;
}

.crm-legal-section-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.crm-legal-text {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
}

.crm-legal-text:last-child {
  margin-bottom: 0;
}

.crm-legal-list {
  margin: 0;
  padding-left: 20px;
  color: #374151;
  line-height: 1.7;
}

.crm-legal-list li {
  margin-bottom: 8px;
}

.crm-legal-link {
  color: #1d4ed8;
  text-decoration: none;
}

.crm-legal-link:hover {
  text-decoration: underline;
}

.crm-legal-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}

.crm-legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.crm-legal-table th,
.crm-legal-table td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
  color: #374151;
}

.crm-legal-table th {
  background-color: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

.crm-legal-note {
  margin-top: 20px;
  padding: 16px;
  background-color: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #1e3a8a;
}
/* Page-specific overrides — shared styles in crm-legal-shared.css */
.crm-legal-privacy-contact-content {
  flex: 1;
  padding: 40px 24px 56px;
}

.crm-legal-privacy-contact-layout {
  display: flex;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
}

.crm-legal-privacy-contact-info-col {
  flex: 1;
}

.crm-legal-privacy-contact-form-col {
  flex: 1.2;
}

.crm-legal-privacy-contact-section-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

.crm-legal-privacy-contact-intro {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}

.crm-legal-privacy-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.crm-legal-privacy-contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.crm-legal-privacy-contact-card-icon {
  width: 44px;
  height: 44px;
  background-color: #eff6ff;
  color: #1d4ed8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.crm-legal-privacy-contact-card-label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
}

.crm-legal-privacy-contact-card-value {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.crm-legal-privacy-contact-controller-box {
  margin-top: 28px;
  padding: 24px;
  background-color: #eff6ff;
  border-radius: 10px;
  border: 1px solid #dbeafe;
}

.crm-legal-privacy-contact-controller-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: #1d4ed8;
  text-transform: uppercase;
}

.crm-legal-privacy-contact-controller-name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.crm-legal-privacy-contact-controller-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
}

.crm-legal-privacy-contact-form-card {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.crm-legal-privacy-contact-form-title {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
}

.crm-legal-privacy-contact-input-group {
  margin-bottom: 18px;
}

.crm-legal-privacy-contact-input-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 6px;
}

.crm-legal-privacy-contact-input-group input,
.crm-legal-privacy-contact-select,
.crm-legal-privacy-contact-input-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background-color: #f8fafc;
  font-size: 15px;
  color: #0f172a;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}

.crm-legal-privacy-contact-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.crm-legal-privacy-contact-input-group input:focus,
.crm-legal-privacy-contact-select:focus,
.crm-legal-privacy-contact-input-group textarea:focus {
  border-color: #1d4ed8;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.crm-legal-privacy-contact-captcha-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.crm-legal-privacy-contact-captcha-question {
  flex: 1;
  padding: 11px 14px;
  background-color: #f1f5f9;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.crm-legal-privacy-contact-captcha-input {
  width: 90px;
}

.crm-legal-privacy-contact-captcha-refresh {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background-color: #ffffff;
  color: #475569;
  cursor: pointer;
}

.crm-legal-privacy-contact-captcha-refresh:hover {
  border-color: #1d4ed8;
  color: #1d4ed8;
}

.crm-legal-privacy-contact-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  background-color: #1d4ed8;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.crm-legal-privacy-contact-submit-btn:hover {
  background-color: #1e40af;
}

.crm-legal-privacy-contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.crm-legal-privacy-contact-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.crm-legal-privacy-contact-status-success {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.crm-legal-privacy-contact-status-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

@media (max-width: 900px) {
  .crm-legal-privacy-contact-layout {
    flex-direction: column;
    gap: 32px;
  }

  .crm-legal-privacy-contact-form-card {
    padding: 24px 18px;
  }
}
/* Page-specific overrides — shared styles in crm-legal-shared.css */
/* Page-specific overrides — shared styles in crm-legal-shared.css */
/* Page-specific overrides — shared styles in crm-legal-shared.css */
