/* MBjobs.in Custom Stylesheet */
:root {
  --primary-green: #009639;
  --primary-blue: #0066c0;
  --dark-bg: #0f172a;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Card Hover Animations */
.job-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

/* Rich Text / Job Description Formatting */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  overflow: hidden;
}

.prose th, .prose td {
  padding: 0.625rem 0.875rem;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.prose th {
  background-color: #f1f5f9;
  font-weight: 800;
  color: #0f172a;
}

.prose tr:nth-child(even) {
  background-color: #f8fafc;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
  font-weight: 800;
  color: #0f172a;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.prose h3 {
  font-size: 1.05rem;
}

.prose h4 {
  font-size: 0.95rem;
}

.prose p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.prose ul {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.prose ol {
  list-style-type: decimal;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.prose li {
  margin-bottom: 0.25rem;
}

.prose strong, .prose b {
  font-weight: 700;
  color: #0f172a;
}

.prose figure {
  margin: 1rem 0;
  overflow-x: auto;
}

/* Print Styles for CV Builder */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .cv-page {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}
