/* Interactive Components & Calculators */
.interactive-tool-card {
  background: var(--island-surface);
  border: 1.5px solid var(--island-border);
  border-radius: var(--island-radius-xl);
  padding: 2.5rem;
  box-shadow: var(--island-shadow-md);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.calc-input-group {
  margin-bottom: 1.5rem;
}

.calc-input-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--island-heading);
}

.calc-slider {
  width: 100%;
  accent-color: var(--island-green);
  cursor: pointer;
}

.calc-result-box {
  background: var(--island-paper);
  border: 2px dashed var(--island-peach);
  border-radius: var(--island-radius-lg);
  padding: 2rem;
  text-align: center;
}

.calc-result-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--island-peach);
  line-height: 1.2;
}

/* Modal Search */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(52, 70, 62, 0.5);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-box {
  background: var(--island-surface);
  border-radius: var(--island-radius-lg);
  width: 100%;
  max-width: 680px;
  box-shadow: var(--island-shadow-lg);
  border: 1.5px solid var(--island-border);
  overflow: hidden;
}

.search-modal-header {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--island-border);
}

.search-input {
  width: 100%;
  border: none;
  font-size: 1.2rem;
  outline: none;
  background: transparent;
  color: var(--island-heading);
}

.search-results-list {
  max-height: 400px;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
