* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background: #f9f9f9;
  color: #111;
  padding: 2rem;
  line-height: 1.5;
}

.site-header {
  text-align: center;
  margin-bottom: 3rem;
}

.logo-container {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-container:hover {
  transform: translateY(-2px);
}

.logo-icon {
  width: 40px;
  height: 40px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.site-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.start-text {
  font-weight: 800;
}

.this-text {
  color: black;
  font-weight: 600;
  position: relative;
}

.this-text::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 1px;
}

.site-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.project-management {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.management-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: white;
  color: #374151;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.management-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
}

.reset-btn {
  border-color: #fca5a5;
  color: #dc2626;
}

.reset-btn:hover {
  background: #fef2f2;
  border-color: #f87171;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  background: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

.modal-body {
  padding: 1.5rem;
  max-height: 400px;
  overflow-y: auto;
}

.previous-project-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  margin-bottom: 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.previous-project-item:hover {
  background: #f8f9fa;
  border-color: #d1d5db;
}

.project-info {
  flex: 1;
}

.project-name {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.project-score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  margin: 0.5rem 0;
  font-size: 0.85rem;
}

.project-details {
  font-size: 0.85rem;
  color: #6b7280;
}

.project-actions {
  display: flex;
  gap: 0.5rem;
}

.load-btn, .delete-btn {
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  border: 1px solid;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.load-btn {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

.load-btn:hover {
  background: #1d4ed8;
}

.delete-btn {
  background: white;
  color: #dc2626;
  border-color: #fca5a5;
}

.delete-btn:hover {
  background: #fef2f2;
  border-color: #f87171;
}

.empty-state {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
  font-size: 2rem;
}

.projects {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.project {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  width: 350px;
  border: 1px solid #e5e5e5;
  position: relative;
}

.project-close-btn {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  background: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: #6b7280;
  padding: 0.1rem;
  width: 30px;
  border-radius: 30px;
  transition: all 0.2s ease;
}

.project-close-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

.project h2 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
}

.project-name-container {
  position: relative;
  margin-bottom: 1.5rem;
}

.project-name-label {
  font-size: 0.6rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-name-input {
  width: 100%;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  border: 1px dashed #d1d5db;
  background: #fafafa;
  outline: none;
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: text;
}

.project-name-input:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  border-style: solid;
}

.project-name-input:focus {
  background: white;
  border-color: #2563eb;
  border-style: solid;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.project-name-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
  font-style: italic;
}

.criteria {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 1rem;
}

.criteria:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.criteria-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.clickable-header {
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-radius: 8px;
  padding: 0.5rem;
  margin: -0.5rem;
}

.clickable-header:hover {
  background-color: rgba(37, 99, 235, 0.05);
}

.clickable-header .expand-btn {
  pointer-events: none; /* Prevent double-click handling */
}

.criteria-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.optional-badge {
  background: #f0f9ff;
  color: #0369a1;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  font-weight: 500;
}

.required-indicator {
  color: #dc2626;
  font-weight: 600;
}

.expand-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 6px;
  color: #6b7280;
  transition: all 0.2s ease;
  width: auto;
}

.expand-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

.expand-btn.expanded {
  transform: rotate(180deg);
}

.criteria-description {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 1rem;
  font-style: italic;
}

.radio-group {
  display: none;
  margin-top: 0.75rem;
}

.radio-group.expanded {
  display: block;
}

.radio-option {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 8px;
  border: 2px solid #e5e7eb;
  background: #ffffff;
  transition: all 0.2s ease;
  width: 100%;
}

.radio-option:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.radio-option.clickable-radio {
  /* Make the entire label clickable */
  position: relative;
}

.radio-option input[type="radio"] {
  margin-right: 0.75rem;
  margin-top: 0.2rem;
  accent-color: #2563eb;
  transform: scale(1.1);
}

.radio-option input[type="radio"]:checked {
  accent-color: #2563eb;
}

.radio-option:has(input[type="radio"]:checked) {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.radio-option .radio-text {
  cursor: pointer;
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 0;
  flex: 1;
  line-height: 1.5;
}

.radio-option:has(input[type="radio"]:checked) .radio-text {
  color: #1e40af;
  font-weight: 500;
}

.selected-value {
  font-size: 0.9rem;
  color: #2563eb;
  font-weight: 500;
  margin-top: 0.5rem;
}

.actions {
  text-align: center;
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.bottom-actions {
  text-align: center;
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.save-btn, .clear-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 1px solid;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.save-btn {
  background: #059669;
  color: white;
  border-color: #059669;
}

.save-btn:hover {
  background: #047857;
  border-color: #047857;
  transform: translateY(-1px);
}

.clear-btn {
  background: white;
  color: #f59e0b;
  border-color: #fbbf24;
}

.clear-btn:hover {
  background: #fffbeb;
  border-color: #f59e0b;
  transform: translateY(-1px);
}

button {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: white;
  color: #374151;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: auto;
}

button:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

button.primary {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

button.primary:hover {
  background: #1d4ed8;
}

.result {
  text-align: center;
  margin-top: 2rem;
  font-weight: 600;
}

.error-message {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
}

.validation-error {
  border-color: #dc2626 !important;
  background: #fef2f2 !important;
}

/* Footer Styles */
.site-footer {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.footer-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f4899;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

.footer-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-name a:hover {
  color: #0066cc;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-links a:hover {
  color: #667eea;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.footer-links a svg {
  transition: transform 0.2s ease;
}

.footer-links a:hover svg {
  transform: scale(1.1);
}

.footer-copyright {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.footer-copyright a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-copyright a:hover {
  color: #0066cc;
}

/* Navigation Styles */
.site-navigation {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

.nav-link.active {
  color: white;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Loading state for navigation */
.nav-link:active {
  transform: scale(0.98);
  opacity: 0.8;
}

/* About Page Styles */
.about-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-section {
  margin-bottom: 3rem;
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
}

.about-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #667eea;
  padding-bottom: 0.5rem;
}

.lead-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 0;
}

.about-section p {
  line-height: 1.7;
  color: #6b7280;
  margin-bottom: 1rem;
}

.about-section p:last-child {
  margin-bottom: 0;
}

/* Methodology Steps */
.methodology-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.step {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #667eea;
}

.step h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.9rem;
  margin: 0;
}

/* Calculation Example */
.calculation-example {
  margin-top: 2rem;
}

.calculation-example h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.example-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  font-family: 'Inter', monospace;
}

.example-box p {
  margin: 0.5rem 0;
  color: white;
}

.example-box strong {
  color: #FFE066;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-item {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.feature-item h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.feature-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* Privacy Section */
.privacy-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #0ea5e9;
}

.privacy-highlights {
  margin-top: 1.5rem;
}

.privacy-item {
  margin-bottom: 2rem;
}

.privacy-item:last-child {
  margin-bottom: 0;
}

.privacy-item h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0c4a6e;
  margin-bottom: 0.75rem;
}

.privacy-item p {
  color: #0c4a6e;
  margin-bottom: 0.75rem;
}

.privacy-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.privacy-item li {
  color: #075985;
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.privacy-item li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0ea5e9;
  font-weight: bold;
}

/* Audience Grid */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.audience-item {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #f59e0b;
  text-align: center;
}

.audience-item h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 0.75rem;
}

.audience-item p {
  font-size: 0.9rem;
  color: #b45309;
  margin: 0;
}

/* CTA Section */
.cta-section {
  text-align: center;
  margin-top: 2rem;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
  transition: all 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
  .about-content {
    padding: 0 1rem;
  }
  
  .about-section {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .about-section h2 {
    font-size: 1.5rem;
  }
  
  .methodology-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .site-navigation {
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/* Criteria Page Styles */
.criteria-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.criteria-section {
  margin-bottom: 3rem;
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
}

/* Weight System */
.weight-system {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.weight-item {
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid;
}

.weight-item.critical {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-left-color: #dc2626;
}

.weight-item.significant {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left-color: #f59e0b;
}

.weight-item.moderate {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-left-color: #0ea5e9;
}

.weight-badge {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.weight-item.critical .weight-badge {
  color: #dc2626;
}

.weight-item.significant .weight-badge {
  color: #f59e0b;
}

.weight-item.moderate .weight-badge {
  color: #0ea5e9;
}

.weight-item p {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

/* Criteria Loading */
.criteria-loading {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
  font-style: italic;
}

.criteria-error {
  text-align: center;
  padding: 2rem;
  color: #dc2626;
  background: #fef2f2;
  border-radius: 8px;
  border: 1px solid #fecaca;
}

/* Criteria Groups */
.criteria-group {
  margin-bottom: 3rem;
}

.criteria-group:last-child {
  margin-bottom: 0;
}

.group-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid;
}

.criteria-group.critical .group-header {
  border-bottom-color: #dc2626;
}

.criteria-group.significant .group-header {
  border-bottom-color: #f59e0b;
}

.criteria-group.moderate .group-header {
  border-bottom-color: #0ea5e9;
}

.group-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.criteria-group.critical .group-header h3 {
  color: #dc2626;
}

.criteria-group.significant .group-header h3 {
  color: #f59e0b;
}

.criteria-group.moderate .group-header h3 {
  color: #0ea5e9;
}

.group-description {
  color: #6b7280;
  margin: 0;
  font-style: italic;
}

/* Criteria Cards */
.criteria-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
}

.criterion-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.criterion-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.criterion-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.criterion-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  flex: 1;
}

.required-badge, .optional-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-left: 1rem;
}

.required-badge {
  background: #dc2626;
  color: white;
}

.optional-badge {
  background: #6b7280;
  color: white;
}

.criterion-description {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.criterion-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.measurement-unit, .max-score {
  font-size: 0.85rem;
  font-weight: 500;
}

.measurement-unit {
  color: #6b7280;
}

.max-score {
  color: #059669;
}

/* Scale Options */
.scale-options h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
}

.scale-option {
  display: grid;
  grid-template-columns: 40px 1fr 60px;
  gap: 0.75rem;
  align-items: center;
  padding: 0.5rem;
  margin: 0.25rem 0;
  background: white;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  transition: all 0.15s ease;
}

.scale-option:hover {
  background: #f9fafb;
  border-color: #667eea;
}

.option-score {
  font-weight: 600;
  color: #667eea;
  text-align: center;
  background: #f0f4ff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.option-text {
  color: #374151;
  font-size: 0.85rem;
  line-height: 1.4;
}

.weighted-score {
  color: #059669;
  font-weight: 600;
  font-size: 0.8rem;
  text-align: right;
}

/* Methodology Explanation */
.methodology-explanation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.method-step {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #667eea;
}

.method-step h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.method-step p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* Scoring Example */
.scoring-example {
  margin-top: 2rem;
}

.scoring-example h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.example-calculation {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
}

.calc-step {
  margin: 0.5rem 0;
  font-family: 'Inter', monospace;
}

.calc-step strong {
  color: #FFE066;
}

/* Responsive Design for Criteria Page */
@media (max-width: 768px) {
  .criteria-content {
    padding: 0 1rem;
  }
  
  .criteria-section {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .criteria-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .weight-system {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .methodology-explanation {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .criterion-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }
  
  .scale-option {
    grid-template-columns: 35px 1fr 50px;
    gap: 0.5rem;
  }
  
  .option-score {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }
  
  .option-text {
    font-size: 0.8rem;
  }
  
  .weighted-score {
    font-size: 0.75rem;
  }
}