@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

.ef-calc-container {
  margin: 20px auto;
  max-width: 900px;
  padding: 0;
  color: #000;
  border-radius: 6px;
  overflow: hidden;
  background-color: #fff;
}

.ef-calc-form {
  padding: 30px 25px;
  padding-left: 25px !important;
  padding-right: 25px !important;
  background-color: #fff;
}

.ef-calc-section {
  padding-left: 10px !important;
  padding-right: 10px !important;
  background-color: #f8f8f8;
  border: 1px solid #000;
  border-radius: 3px;
  padding: 25px;
  margin-bottom: 25px;
}

.ef-calc-section-unified .ef-calc-label {
  display: block;
  margin-bottom: 12px;
  color: #000;
  font-weight: 600;
  font-size: 15px;
  text-align: center !important;
}

.ef-calc-block-method { margin-bottom: 24px; }
.ef-calc-block-inputs { margin-bottom: 24px; }
.ef-calc-block-level {
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.ef-calc-method-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.ef-calc-method-btn {
  padding: 10px 14px;
  border: 2px solid #000;
  color: #000;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ef-calc-method-btn:hover { background: #eee; }
.ef-calc-method-btn.active {
  background: #000;
  color: #fff !important;
}

.ef-calc-panel { padding-left: 10px !important; padding-right: 10px !important; }
.ef-calc-input-group { margin-bottom: 20px; }
.ef-calc-input-group:last-child { margin-bottom: 0; }
.ef-calc-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4px;
}

.ef-calc-input {
  width: 100px;
  padding: 12px 15px;
  border: 2px solid #000;
  border-radius: 6px;
  font-size: 18px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  text-align: center;
}

.ef-calc-input.ef-calc-time { width: 60px; }
.ef-calc-input:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(78, 157, 216, 0.2);
}

.ef-calc-select {
  padding: 10px 14px;
  border: 2px solid #000;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  min-width: 140px;
}

.ef-calc-sep { font-weight: 700; color: #000; }
.ef-calc-help {
  font-size: 12px;
  color: #555;
  text-align: center !important;
  margin: 6px 0 0 0;
  font-style: italic;
}

.ef-calc-button {
  background-color: #000;
  border: 1px solid #000;
  color: #fff !important;
  border-radius: 6px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: block;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 auto;
}

.ef-calc-button:hover {
  background-color: #fff;
  color: #000 !important;
  border: 1px solid #000;
}

.ef-calc-result-section {
  padding: 0 !important;
  border-top: 2px solid #eee;
  background-color: #fff;
}

.ef-calc-result-main {
  text-align: center;
  margin-bottom: 24px;
  padding: 20px;
  padding-left: 20px !important;
  padding-right: 20px !important;
  background: #f8f8f8;
  border: 1px solid #000;
  border-radius: 6px;
}

.ef-calc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
  margin-bottom: 10px;
}

.ef-calc-result-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  text-align: center !important;
}

.ef-calc-result-interpret {
  font-size: 14px;
  color: #555;
  margin: 0 0 16px 0;
  text-align: center !important;
}

.ef-calc-result-fc-note {
  font-size: 13px;
  color: #666;
  margin: 0 0 12px 0;
  text-align: center !important;
  font-style: italic;
}

.ef-calc-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 14px;
  text-align: center;
}

.ef-calc-table th,
.ef-calc-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #ddd;
}

.ef-calc-table th { font-weight: 600; background: #eee; }
.ef-calc-table td:first-child { text-align: left; }

.ef-calc-advice { padding-left: 15px !important; padding-right: 15px !important; }
.ef-calc-subtitle { margin: 0 0 12px 0; font-size: 16px; font-weight: 600; }
.ef-calc-advice-list {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

.ef-calc-warning {
  margin: 16px 0;
  padding: 14px 20px;
  padding-left: 20px !important;
  padding-right: 20px !important;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 6px;
  font-size: 14px;
  color: #856404;
}

@media (max-width: 600px) {
  .ef-calc-form { padding-left: 15px !important; padding-right: 15px !important; }
  .ef-calc-method-btns { flex-direction: column; }
  .ef-calc-method-btn { width: 100%; }
  .ef-calc-table { font-size: 13px; }
}
