/* Advanced Budget Analysis Form Styles */

/* Advanced Analysis Section - Normal Section Style */
.advanced-analysis-section {
  padding: 2rem 2rem;
  margin: 0;
  position: relative;
  background: #ffffff;
}

.advanced-analysis-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 1.5rem;
}

.advanced-content {
  position: relative;
  z-index: 1;
  text-align: left;
  margin-bottom: 1.5rem;
}

.advanced-content h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.advanced-content h3 span:first-child {
  font-size: 2.8rem;
  line-height: 1;
}

.advanced-content .subtitle {
  font-size: 0.95rem;
  color: #64748b;
  text-align: left;
  margin-bottom: 1rem;
  line-height: 1.5;
  font-weight: 500;
  max-width: 100%;
}

/* Form Grid */
.advanced-form {
  margin-top: 0;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Local grid helpers (no Tailwind dependency) */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 0;
}

.fieldset-wrapper {
  display: flex;
  flex-direction: column;
}

.fieldset-wrapper.full-width {
  grid-column: 1 / -1;
  width: 100%;
  padding: 0 2rem;
  margin-bottom: 1.5rem;
}

/* Fieldset Styling */
.form-fieldset {
  /* Convert from framed panels to card look */
  border: none;
  padding: 1.5rem;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

/* Hard override in case of UA or legacy rules still adding borders */
.advanced-analysis-section fieldset.form-fieldset {
  border: 0 !important;
}

.form-fieldset:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.form-fieldset legend {
  color: #a31f34;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f5f9; /* subtle section header divider inside card */
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-fieldset legend span:last-child {
  flex: 1;
}

.form-fieldset.bess-fieldset {
  /* Battery section card accent without a hard frame */
  background: linear-gradient(135deg, #fef9f9 0%, #fff7f7 100%);
  box-shadow: 0 12px 30px rgba(163, 31, 52, 0.12);
}

.form-fieldset.bess-fieldset:hover {
  box-shadow: 0 18px 38px rgba(163, 31, 52, 0.18);
}

.form-fieldset.bess-fieldset legend {
  color: #7c2d12;
}

.form-fieldset.bess-fieldset legend span:first-child {
  font-size: 1.5rem;
}

/* Form Groups */
.form-group {
  margin-bottom: 1rem;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.625rem;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 500;
  transition: all 0.3s ease;
  background: #f8fafc;
  color: #1e293b;
}

/* Address Hero Section - Prominent and Eye-catching */
.address-hero-fieldset {
  background: linear-gradient(135deg, #fef9f9 0%, #fff7f7 50%, #fef3f3 100%) !important;
  border: 2px solid #f1d5dc !important;
  padding: 1.5rem !important;
  position: relative;
  box-shadow: 0 12px 32px rgba(163, 31, 52, 0.15) !important;
}

.address-hero-fieldset::before {
  content: '📍';
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.5rem;
  opacity: 0.15;
  pointer-events: none;
}

.address-hero-fieldset legend {
  color: #7c2d12 !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px;
  margin-bottom: 2rem !important;
}

.address-hero-container {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 2px dashed #e8c7d0;
}

.address-form-group {
  margin-bottom: 0 !important;
}

.address-label-hero {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: #7c2d12 !important;
  margin-bottom: 0.75rem !important;
  letter-spacing: 0.3px;
}

/* Address input polish with enhanced styling */
.form-input.address-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 24 24'%3E%3Cpath fill='%23a31f34' d='M12 2a7 7 0 00-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 00-7-7zm0 9.5A2.5 2.5 0 119.5 9 2.5 2.5 0 0112 11.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.85rem center;
  padding-left: 2.8rem;
}

.address-input-hero {
  padding: 1.125rem 1rem 1.125rem 2.8rem !important;
  font-size: 1rem !important;
  border: 2px solid #e8c7d0 !important;
  background-color: #faf7f8 !important;
  font-weight: 500;
}

.address-input-hero:focus {
  border-color: #a31f34 !important;
  background-color: white !important;
  box-shadow: 0 0 0 4px rgba(163, 31, 52, 0.15) !important;
}

.address-help {
  font-size: 0.85rem !important;
  color: #a31f34 !important;
  margin-top: 0.625rem !important;
  font-weight: 600;
}

/* OR Divider */
.location-divider-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.75rem 0;
  text-align: center;
}

.location-divider-text::before,
.location-divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #e8c7d0, transparent);
}

.location-divider-text span {
  color: #a31f34;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Coordinates Input Section */
.coordinates-group {
  background: #fef3f3;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #e8c7d0;
  margin-top: 1.5rem;
}

.coordinates-label {
  font-size: 0.95rem !important;
  color: #7c2d12 !important;
  font-weight: 700;
  margin-bottom: 1rem !important;
  display: block;
}

.coordinates-grid {
  margin-top: 1rem !important;
}

.coordinates-grid .form-group label {
  font-size: 0.9rem !important;
  color: #a31f34 !important;
}

/* Secondary Info - Below address */
.secondary-info-container {
  background: #f8f7f9;
  padding: 1.75rem;
  border-radius: 10px;
  border: 1px solid #e8c7d0;
  margin-top: 1.5rem;
}

.secondary-info-container .form-group {
  margin-bottom: 1.25rem;
}

.secondary-info-container .form-group:last-child {
  margin-bottom: 0;
}

.secondary-info-container label {
  color: #7c2d12 !important;
  font-weight: 700 !important;
}

input.form-input::-webkit-outer-spin-button,
input.form-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input.form-input[type=number] {
  -moz-appearance: textfield;
}

.form-input:hover {
  border-color: #cbd5e1;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: #a31f34;
  background: white;
  box-shadow: 0 0 0 4px rgba(163, 31, 52, 0.12);
}

.form-input:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

/* Select Dropdown Styling */
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a31f34' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
  cursor: pointer;
  line-height: 1.25rem;
  color: #0f172a;
}

select.form-input:hover {
  border-color: #cbd5e1;
}

select.form-input:focus {
  outline: none;
  border-color: #a31f34;
  box-shadow: 0 0 0 4px rgba(163, 31, 52, 0.12);
}

/* Help Text */
.form-help {
  display: block;
  color: #64748b;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  line-height: 1.4;
  font-weight: 500;
}

/* Radio Buttons */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 0.5rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.625rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.radio-option:hover {
  background-color: #f8fafc;
}

.radio-option input[type="radio"] {
  cursor: pointer;
  accent-color: #a31f34;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.radio-option span {
  color: #334155;
  font-weight: 500;
}

/* Checkboxes */
.checkbox-wrapper {
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.625rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}

.checkbox-label:hover {
  background-color: #f8fafc;
}

.checkbox-label input[type="checkbox"] {
  cursor: pointer;
  accent-color: #a31f34;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.checkbox-label strong {
  color: #1e293b;
  font-weight: 700;
}

/* Checkbox Grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
}

.checkbox-option:hover {
  border-color: #cbd5e1;
  background-color: #f8fafc;
}

.checkbox-option input[type="checkbox"] {
  cursor: pointer;
  accent-color: #a31f34;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.checkbox-option span {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 500;
}

/* Advanced Checkboxes Grid */
.checkbox-advanced-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 0.75rem;
}

.checkbox-advanced {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.125rem;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkbox-advanced:hover {
  background-color: #f8fafc;
  border-color: #a31f34;
  box-shadow: 0 4px 12px rgba(163, 31, 52, 0.1);
}

.checkbox-advanced input[type="checkbox"] {
  cursor: pointer;
  accent-color: #a31f34;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.checkbox-advanced span {
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Hidden Elements */
.hidden-battery,
.hidden {
  display: none;
}

/* Form Actions */
.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e5e7eb;
  width: 100%;
}

.btn-lg {
  padding: 1.125rem 2.5rem !important;
  font-size: 1.05rem !important;
}

/* Button Styling */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  transition: all 0.3s;
  letter-spacing: 0.4px;
}

.btn-primary {
  background: linear-gradient(135deg, #a31f34 0%, #7c2d12 100%);
  color: white;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 4px 15px rgba(163, 31, 52, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #8a1a2b 0%, #6a1f0f 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(163, 31, 52, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(163, 31, 52, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .advanced-analysis-section {
    padding: 2rem 1.5rem;
  }

  .advanced-content h3 {
    font-size: 1.75rem;
  }

  .advanced-content .subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .fieldset-wrapper.full-width {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .fieldset-wrapper {
    margin-bottom: 0;
  }

  .fieldset-wrapper.full-width {
    grid-column: auto;
  }

  .form-fieldset {
    padding: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .form-fieldset legend {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }

  .checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .checkbox-advanced-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .checkbox-advanced {
    padding: 0.875rem 1rem;
  }

  .btn-primary {
    width: 100%;
    max-width: 100%;
  }

  .form-actions {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .advanced-analysis-section {
    padding: 1.5rem 1rem;
  }

  .advanced-content h3 {
    font-size: 1.5rem;
  }

  .fieldset-wrapper.full-width {
    padding: 0 1rem;
    margin-bottom: 1.5rem;
  }

  .form-fieldset {
    padding: 1.5rem 1rem;
  }

  .form-fieldset legend {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .form-input,
  .form-help {
    font-size: 0.9rem;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .checkbox-option {
    padding: 0.625rem 0.75rem;
  }
}

/* Input with Unit Label */
.input-with-unit {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-unit .form-input {
  padding-right: 2.5rem;
}

.input-unit-label {
  position: absolute;
  right: 1rem;
  color: #a31f34;
  font-weight: 700;
  font-size: 1rem;
  pointer-events: none;
}

/* Animation für Transition */
#batteryOptions,
#customBudgetFields {
  transition: opacity 0.3s, max-height 0.3s;
  max-height: 1500px;
  opacity: 1;
}

.hidden-battery,
.hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
/* Advanced Results - MIT Style Professional Styling */


body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  margin: 0;
  padding: 20px;
}

.container.advanced-results {
  max-width: 1400px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.header {
  background: linear-gradient(135deg, var(--mit-red) 0%, var(--mit-gray) 100%);
  color: white;
  padding: 30px;
  border-radius: 10px;
  margin: -30px -30px 30px -30px;
  text-align: center;
}

.header h1 {
  margin: 0 0 10px 0;
  font-size: 32px;
  font-weight: bold;
}

.header h2 {
  margin: 0 0 10px 0;
  font-size: 22px;
  font-weight: 300;
  opacity: 0.95;
}

.header p {
  margin: 15px 0 0 0;
  font-size: 16px;
  opacity: 0.9;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.metric-card {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.3s;
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.metric-card h4 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-card small {
  color: #666;
  font-size: 12px;
  display: block;
  margin-top: 8px;
}

/* Scenario Comparison Grid */
.scenario-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.scenario-card {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  position: relative;
  transition: all 0.3s ease;
  background: white;
}

.scenario-card:hover {
  border-color: var(--mit-red);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.scenario-card.optimal {
  border-color: var(--mit-red);
  background: #fef9f9;
}

.scenario-card h4 {
  margin: 15px 0 20px 0;
  font-size: 16px;
  color: #333;
  font-weight: bold;
  line-height: 1.3;
}

/* Battery Visual */
.battery-visual {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 8px;
  margin: 15px 0;
}

.battery-icon {
  width: 60px;
  height: 100px;
  border: 3px solid #333;
  border-radius: 5px;
  position: relative;
  background: linear-gradient(to top, #4CAF50 var(--fill), #e0e0e0 var(--fill));
}

.evening-duration {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: var(--mit-red);
}

/* Button Styling - Green Border/Text */
.btn-select-scenario,
.btn-select-solar {
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: bold !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  border: 2px solid #4CAF50 !important;
  background: white !important;
  color: #4CAF50 !important;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
}

.btn-select-scenario:hover:not(:disabled),
.btn-select-solar:hover:not(:disabled) {
  background: #4CAF50 !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.btn-select-scenario.selected,
.btn-select-solar.selected {
  background: #4CAF50 !important;
  color: white !important;
  border-color: #4CAF50 !important;
}

.btn-select-scenario:disabled,
.btn-select-solar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Charts Container */
.chart-container {
  position: relative;
  height: 400px;
  margin: 30px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .scenario-comparison {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .container.advanced-results {
    padding: 20px;
  }

  .header {
    margin: -20px -20px 20px -20px;
    padding: 20px;
  }

  .header h1 {
    font-size: 24px;
  }

  .header h2 {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .container.advanced-results {
    padding: 15px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .scenario-comparison {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .header {
    margin: -15px -15px 15px -15px;
    padding: 15px;
  }

  .header h1 {
    font-size: 20px;
  }

  .header h2 {
    font-size: 16px;
  }

  .header p {
    font-size: 14px;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
  }

  .container.advanced-results {
    box-shadow: none;
    padding: 0;
  }

  .btn-select-scenario,
  .header {
    display: none;
  }

  .scenario-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* Spinner Animation for buttons */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* @tailwind base;
@tailwind components;
@tailwind utilities; */

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');

body {
  font-family: "Varela Round", sans-serif;
  margin: 0;
}

img.logo-menuclick {
    position: absolute;
    top: 32px;
    left: 245px;
}
.navigation {
    position: fixed;
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 8;
    transform: scaleY(0);
    /* background: url(/images/Panels-menu.png); */
    transform-origin: top;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all 0.2s cubic-bezier(0, 0.32, 0.36, 0.97);
}

.navigator {
    margin: 10px;
    background: transparent;
    color: #fff;
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 60px;
    border: none;
    padding: 28px 30px;
}


.navigator:hover {
    background-color: #086f19;
    border-radius: 2px;
}

.navigation.open {
    transform: scaleY(1);
}

.navigation.open .navigator {
    transform: scaleY(1);
    opacity: 1;
}
/* .header { */
    /* height: 1004px; */
    /* background-image: url(/images/header.png); */
    /* background-repeat: no-repeat; */
    /* background-position: right; */
	
/* } */
.header-container.mobile{
    display: none;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    height: 950px;
    gap: 30px;
    align-items: center;
    padding-left: 15px;
    padding-right: 15px;
    /* background-image: none !important; */
}

.header-container-about {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center; /* Horizontal zentrieren */
    align-items: center;    /* Vertikal zentrieren */
    padding-top: 150px;
    gap: 30px;
    text-align: center; /* Text zentrieren */
    padding-left: 15px;
    padding-right: 15px;
    /* background-image: none !important; */
}
.About-container {
    margin-top: 30px; /* Abstand von 30px nach oben */
    padding-left: 40px;
}
.About-Start-project {
    margin-top: 30px; /* Abstand von 30px nach oben */
    padding-left: 40px;
}
.about-cards {
    display: flex; /* Aktiviert Flexbox */
    gap: 20px; /* Abstand zwischen den Karten */
    justify-content: center; /* Zentriert die Karten horizontal */
    flex-wrap: wrap; /* Sorgt dafür, dass die Karten umbrechen, falls der Platz nicht reicht */
    margin-top: 2%;
}
  
.about-card {
text-align: center;
max-width: 300px;
border: 1px solid #eee;
border-radius: 15px;
padding: 20px;
background-color: #f9f9f9;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Stil für die zusätzliche Card */
.about-card .question-mark {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #eee; /* Heller Hintergrund */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: bold;
    color: #58c629; /* Grüne Farbe */
    margin: 0 auto 20px; /* Zentrierung und Abstand */
  }
  
  .about-card .question-mark:hover {
    background-color: #58c629;
    color: white; /* Ändert die Farbe beim Hover */
    cursor: pointer;
  }
.about-cards-lower {
margin-top: 30px; /* Abstand zur oberen Gruppe */
display: flex; /* Aktiviert Flexbox */
justify-content: center; /* Zentriert die Card horizontal */
}
.about-content{
    text-align: center;
}
.about-button {
    display: flex; /* Aktiviert Flexbox */
    justify-content: center; /* Horizontale Zentrierung */
    align-items: center; /* Vertikale Zentrierung */
    margin-top: 20px; /* Optional: Abstand nach oben */
    height: 100%; /* Optional, um Vertikalisierung sicherzustellen */
    text-align: center; /* Für Textausrichtung */
    padding-bottom: 2%;
}

  .about-image img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
  }
  
  .about-details .name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
  }
  
  .about-details .position {
    font-size: 1rem;
    color: #6c757d;
  }
.link-class {
    position: absolute;
}
.page-header.is-sticky {
    position: fixed;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    animation: slideDown 0.35s ease-out;
    width: 100%;
    max-width: 100%;
    
	z-index: 9999;
}
.page-header.is-sticky .page-header-container {
    display: flex;
    justify-content: space-between;
    padding-top: 0;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 90px;
}




@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

img.is-sticky-logo {
    display: none;
}
.page-header.is-sticky img.page-header-logo {
    display: none;
}
.page-header.is-sticky img.is-sticky-logo {
    display: block;
   
}







.header {
    overflow: hidden;
}
.page-header {
    display: flex;
    justify-content: space-between;
	    padding-top: 16px; 	
		    align-items: flex-start;
}
.menu {
    display: flex;
    align-items: center;
    gap: 10px;
}
.menu-ul ul {
    display: flex;
    gap: 15px;
    position: relative;
}
.menu-ul ul li:hover {
    background-color: #0090d1;
    border-radius: 2px;
}
.menu-ul ul li {
    text-decoration: none;
    list-style: none;
    padding: 9px 9px;
}
.menu img {
    object-fit: contain;
}
.menu-ul ul li:after {
    content: "";
    width: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    height: 33px;
    position: absolute;
    margin-left: 15px;
}
.menu-ul ul li a {
    color: #000000;
    text-decoration: none;
    font-weight: 400;
    font-size: 28px;
}
.menu-ul ul li:last-child::after {
    width: 0;
}
.buttons {
    display: flex;
    gap: 20px;
}
.button {
    width: fit-content;
}
.button a {
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 24px;
    line-height: 26px;
    gap: 13px;
    color: #1A5565;
    padding: 20px;
    width: fit-content;
    border-radius: 2px;
    border: 1px solid #1A5666;
    font-weight: 400;
}
.button a img {
    width: 20px;
    padding-top: 3px;
}
.button a:hover {
    background: #086f19;
    color: #fff;
}
.button a:hover img.image-fir {
    display: none;
}
.button a:hover img.image-sec {
    display: block;
}
img.image-sec {
    display: none;
}
.header-content h1 {
    font-size: 48px;
    color: #1A5565;
    font-weight: 400;
    margin-bottom: 30px;
}
p {
    font-size: 18px;
    font-weight: 300;
    color: #484848;
	    margin: 0;
}
.header-content p {
    width: 448px;
    margin-bottom: 40px;
	    margin-top: 0;
}
.header-content h1 sapn {
    color: #EEA22A;
    font-weight: 500;
}

a.active {
    text-decoration: none;
    border-radius: 3px; 
    background: none; 
    border-bottom: 4px solid #EEA22A; 
    color: #333; 
    padding-bottom: 0px; 
}


h5 {
    font-size: 18px;
    font-weight: 500;
    color: #58c629;
    margin: 0;
    text-align: center;
}
h5 span {
    padding: 5px 3px;
    background: #58c629;
    color: #fff;
}
.What-We-Do {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    gap: 63px;
    align-items: center;
    margin-bottom: 50px;
}
.what-content {
    display: grid;
    gap: 28px;
}
h2 {
    font-size: 44px;
    font-weight: 400;
    color: #1A5565;
    margin: 0;
    text-align: center;
}
.callsec {
    display: flex;
    gap: 7px;
    justify-content: center;
    align-items: center;
}
.callsec img {
    object-fit: contain;
    width: 15px;
}
.callsec-content h4 {
    margin: 0;
    font-size: 15px;
    color: #484848;
    font-weight: 500;
}
.callsec-content h3 {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 26px;
}
.Mission {
    background-image: url(/images/Mission.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
    height: 507px;
    margin-bottom: 280px;	 
    padding-left: 15px;
    padding-right: 15px;
}
.Mission-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 100px;

}
.Mission-container h5 {
    font-size: 18px;
    font-weight: 400;
    color: #58c629;
    margin: 0;
}
.Mission-container h5 span {
    padding: 5px 3px;
    background: #58c629;
    color: #fff;
    margin-right: 10px;
}
.Mission-container h2 {
    color: #ffffff;
    padding-top: 28px;
}
.Mission-container p {
    color: #fff;
    width: 500px;
    text-align: center;
    margin: 0 auto;
    padding-top: 28px;
}
.Mission-flex-box {
    margin-top: 50px;
    display: flex;
    position: absolute;
    bottom: -215px;
    gap: 27px;
    margin: 0 auto;
}
.Mission-box {
    background: #fff;
    display: grid;
    gap: 31px;
    padding: 50px 30px;
    border: 1px solid #CECECE;
}
.Mission-box h2 {
    color: #1A5565;
    font-size: 28px;
    font-weight: 600;
    text-align: left;
    padding: 0;
}
.Mission-box p {
    color: #484848;
    width: 318px;
    text-align: left;
    margin: 0;
    padding: 0;
}
.Mission-container h2 span {
    color: #58c629;
    font-weight: 600;
}
.offer-section h5 span {
    margin-right: 5px;
}
.offer-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
}
.offer-section h2 span {
    color: #58c629;
}
.text-highlight {
    color: #ffffff; /* Weißer Text */
    background-color: #58c629; /* Grüner Hintergrund */
    padding: 5px 10px; /* Optional: etwas Innenabstand */
    border-radius: 3px; /* Optional: leichte Abrundung */
}
.text-green {
    color: #58c629; /* Grüne Farbe */
    font-weight: bold; /* Optional: Hervorhebung */
}
.offer-section p {
    width: 806px;
    margin: 0 auto;
}
.offer-section h2 {
    margin: 20px 0px 13px;
}

.offer-flex-sec {
    display: flex;
    gap: 27px;
    margin-top: 50px;
}
.offer-flex-sec {
    display: flex;
    gap: 27px;
    margin-top: 50px;
}
.offer-personal img {
    height: 247px;
}
.offer-personal h3 {
    font-size: 18px;
    text-align: left;
    padding-left: 13px;
    color: #1A5565;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 13px;
}
.offer-personal p {
    width: 345.31px;
    text-align: left;
    margin-left: 13px;
    margin-right: 13px;
}
.offer-personal .button a {
    padding: 15px;
    margin-left: 13px;
    margin-top: 20px;
    margin-bottom: 25px;
    height: 23px;
}
.offer-personal {
    border: 1px solid #CECECE;
}



.Get-in-touch {
    /* background: url(/images/Getintouch.png); */
    height: 738px;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}
.Get-in-touch-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.Get-in-touch-container img {
    position: absolute;
    left: 0;
    height: 100%;
    object-fit: cover;
}
.form {
    width: 678px;
    z-index: 9;
}
.form h2 {
    color: #58c629;
}
.form h2 span {
    color: #58c629;
}
.formsta input {
    border-radius: 2px;
    width: 42%;
    height: 47px;
    border: none;
    padding: 10px;
    padding-left: 30px;
    font-size: 16px;
    color: #1A5565;
    font-family: "Varela Round", sans-serif;
}
form {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}
input::placeholder {
    color: #1A5565 !important;
    font-weight: 400;
    font-size: 16px;
}
textarea {
    width: 98.5%;
    height: 144px;
    border-radius: 2px;
    border: none;
    padding-left: 30px;
    font-size: 16px;
    padding-top: 20px;
    font-weight: 400;
    font-family: "Varela Round", sans-serif;
}
textarea::placeholder {
    color: #1A5565;
}
.Get-in-touch-container p {
    color: #fff;
    padding-bottom: 30px;
    padding-top: 15px;
}
input[type="submit"] {
    width: 100%;
    padding: 20px 3px;
    height: auto;
    font-size: 24px;
    font-family: "Varela Round", sans-serif;
    background: #58c629;
    color: #fff; 
    border: 1px solid #58c629;
    cursor: pointer;
}
input[type="submit"]:hover {
    background: #086f19;
    color: #ffffff;
    border: 1px solid #086f19;
}
.footer {
    background-color: #fff0d5;
    padding-left: 15px;
    padding-right: 15px;
}
.button.first-btn a {
    background: #58c629;
    color: #fff;
    border-color: #58c629;
}
.button.first-btn:hover a {
    background: #086f19;
    color: #fff;
    border-color: #086f19;
}
.button.first-btn a img.image-sec {
    display: block;
}
.button.first-btn a img.image-fir {
    display: none;
}
.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.footer-container h4 {
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    position: absolute;
    left: 40%;
}
.page-header {
    position: absolute;
    top: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    left: 0;
    right: 0;
}
.page-header-container {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    align-items: flex-start;
    width: 100%;
}
img.menuimg {
    display: none;
}
img.menuclick {
    width: 25px;
}
.page-header {
    cursor: pointer;
}
.navigation img.menuimg.menubar1.menuclick.close {
    display: block;
    position: fixed;
    top: 56px;
    right: 244px;
}


@media only screen and (max-width: 767px) and (min-width: 300px){
	.navigation img.menuimg.menubar1.menuclick.close {
    display: block;
    position: fixed;
    top: 35px;
    right: 20px;
    width: 22px !important;
}
	.navigation img.menuimg.menubar1.menuclick {
    z-index: 99999999999;
    display: block;
    width: 24px;
}
	.header-content .button.first-btn a {
    border-color: #58c629;
}
	img.logo-menuclick {
    position: absolute;
    top: 17px;
    left: 20px;
    display: block !important;
    width: 40%;
}
	
	.navigation.open {
    z-index: 9;
}
	.navigation img.menuclick {
    position: fixed;
    top: 34px;
    right: 20px;
    z-index: 999;
}
.header-container.mobile {
    display: block;
}
.header-container.desktop {
    display: none;
}
.header-container {
    flex-wrap: wrap;
    /* background: url(/images/Panels-mobile.png); */
    width: 100%;
	height: 100%;
}
	.header-image {
    display: none;
}
	.page-header-container {
    padding: 0 20px;
}
	.page-header.is-sticky img.menuimg.menubar1 {
    display: block;
}
.page-header.is-sticky img.menuimg.menubar2 {
    display: none;
}
	.page-header.is-sticky .page-header-container {
    align-items: center;
}
.page-header.is-sticky img.is-sticky-logo {
    display: block;
    
}
.menu .menu-ul ul li .black-link {
    color: black;
  }
.page-header.is-sticky {
    padding: 15px 0;
}
	.menu img {
    display: none;
}

img.menuimg.menubar2 {
    display: block;
}
.page-header-container {
    align-items: center;
}
	.offer-section {
    padding-top: 0px;
}
	.footer-container {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
	.form {
    width: 100%;
    z-index: 9;
    padding: 50px 20px;
}
.Get-in-touch {
    height: 100%;
    overflow: unset;
	margin-top: 50px;
}
.formsta input {
    width: 100%;
}
.Get-in-touch-container img {
    display: none;
}
.offer-flex-sec {
    flex-wrap: wrap;
    width: 100%;
    max-width: 90%;
    min-width: 90%;
    margin: 0 auto;
    margin-top: 50px;
}
.offer-flex-sec .button a {
    width: 83%;
}
.offer-personal img {
    width: 100%;
}
.page-header {
    position: relative;
}
	.page-header {
	        padding: 20px 0px;
}
.menu-ul ul li a {
    color: #1A5565;
}
.header-container {
    flex-wrap: wrap;
}
.header-image {
    width: 100%;
}
.header-image img {
    width: 100%;
}
.header-content h1 br {
    display: none;
}
.header-content {
    padding: 0px 20px 30px;
}
.header-content p {
    width: 100%;
    margin-bottom: 40px;
    margin-top: 0;
    color: #FFF;
    text-align: center;
}
.header-content .button a {
    width: 88%;
    justify-content: center;
    color: #fff;
    border-color: #fff;
}
.header-content  .button a:hover {
    background: #ffffff;
    color: #086f19;
}
.button a:hover img.image-fir {
    display: block !important;
}
.button a:hover img.image-sec {
    display: none !important;
}
img.image-sec {
    display: block;
}
img.image-fir {
    display: none;
}
.what-content {
    padding: 0 20px;
}
h2 {
    font-size: 33px;
}
.What-We-Do {
    flex-wrap: wrap;
    margin-bottom: 50px;
    margin-top: 50px;
}	
.what-image {
    width: 100%;
    padding: 0 20px;
}
.what-image img {
    width: 100%;
}
.header-content h1 {
    font-size: 38px;
    text-align: center;
    color: #ffffff;
}
.buttons {
    flex-wrap: wrap;
}
.button {
    width: 100%;
}
.button a {
    width: 88%;
    justify-content: center;
}
.Mission-container p {
    width: fit-content;
    padding-left: 20px;
    padding-right: 20px;
}

.Mission {

    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
    height: 100%;
    margin-bottom: 50px;
    padding-bottom: 50px;
}
.Mission-flex-box {
    display: flex;
    position: unset;
    bottom: 0;
    gap: 27px;
    margin: 0 auto;
    width: 90%;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 30px;
}
.Mission-box {
    background: #fff;
    display: grid;
    gap: 31px;
    padding: 50px 30px;
    width: 100%;
    border: 1px solid #CECECE;
}
.Mission-box p {
    width: fit-content;
    padding: 0;
}
.menu-ul ul {
    display: flex; /* Aktiviert die Anzeige der Sprachauswahlliste */
    flex-direction: row ; 
    align-items: center; /* Zentriert die Elemente */
    padding: 0px 0; /* Fügt etwas Platz oben und unten hinzu */
}

.menu-ul ul li {
    margin: 0px 0; /* Fügt einen vertikalen Abstand zwischen den Sprachoptionen hinzu */
    padding: 0px 0; /* Fügt einen horizontalen Abstand zwischen den Sprachoptionen hinzu */
}

.menu-ul ul li a {
    font-size: 16px; /* Verkleinert die Schriftgröße der Links für kleinere Bildschirme */
}
.offer-section p {
    width: fit-content;
}
.offer-section h2 {
    margin: 20px 65px 13px;
}
.Mission-container {
    padding-top: 50px;
}
}
/* Solar Calculator Styles */

.solar-calculator-wrapper {
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0284c7 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.solar-calculator-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.solar-calculator-section {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.solar-calculator-section h3 {
  font-size: 2.25rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.solar-calculator-section > p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
}

.calculator-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.625rem;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.form-group .form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: inherit;
  background: #f8fafc;
}

.form-group .form-control:hover {
  border-color: #cbd5e1;
  background: white;
}

.form-group .form-control:focus {
  outline: none;
  border-color: #0284c7;
  background: white;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.input-with-unit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.input-with-unit input {
  flex: 1;
}

.input-with-unit .unit {
  color: #64748b;
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
}

.form-actions {
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: white;
  width: 100%;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0c4a6e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: #e2e8f0;
  color: #334155;
  margin-right: 0.5rem;
}

.btn-secondary:hover {
  background-color: #cbd5e1;
}

/* Results Page Styles */

.solar-results-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.results-header {
  margin-bottom: 2rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 1.5rem;
}

.results-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 0.5rem;
}

.results-header .location {
  color: #64748b;
  font-size: 0.95rem;
}

.results-header .location span {
  font-weight: 600;
  color: #475569;
}

.results-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  .results-summary {
    grid-template-columns: 1fr;
  }
}

.summary-card {
  background: #f8fafc;
  padding: 1.25rem;
  border-radius: 8px;
  border-left: 4px solid #0284c7;
}

.summary-card .metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.summary-card .metric:last-child {
  margin-bottom: 0;
}

.summary-card .metric label {
  color: #64748b;
  font-size: 0.85rem;
}

.summary-card .metric value {
  font-weight: 600;
  color: #1e40af;
}

.summary-card .metric unit {
  color: #64748b;
  font-size: 0.85rem;
  margin-left: 0.25rem;
}

.recommendations-section {
  margin-bottom: 2rem;
}

.recommendations-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 1rem;
}

.recommendation-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 1.5rem;
  border-radius: 8px;
  border: 2px solid #0284c7;
}

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

.recommendation-header h4 {
  margin: 0;
  color: #1e40af;
  font-size: 1.1rem;
}

.system-size {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0284c7;
}

.system-size span {
  font-size: 1rem;
  margin-left: 0.25rem;
}

.recommendation-metrics {
  margin-bottom: 1.5rem;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0f2fe;
}

.metric-row:last-child {
  border-bottom: none;
}

.metric-row label {
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
}

.metric-row value {
  font-weight: 700;
  color: #1e40af;
  font-size: 1rem;
}

.metric-row.highlighted {
  background: rgba(2, 132, 199, 0.08);
  padding: 1rem;
  border-radius: 6px;
  border: none;
}

.metric-row.highlighted value {
  color: #0369a1;
  font-size: 1.2rem;
}

.recommendation-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 2px solid #0284c7;
}

.projection-section {
  margin-bottom: 2rem;
}

.projection-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 0.5rem;
}

.projection-description {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.projection-table {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.projection-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.projection-table thead {
  background: #f1f5f9;
}

.projection-table th {
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  color: #1e40af;
  border-bottom: 2px solid #cbd5e1;
}

.projection-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
}

.projection-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.results-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e2e8f0;
}

.info-box {
  background: #fef3c7;
  border: 1px solid #fbbf24;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.info-box p {
  color: #78350f;
  font-size: 0.85rem;
  margin: 0;
}

.results-footer .actions {
  display: flex;
  gap: 1rem;
}

.results-footer .actions .btn {
  flex: 1;
  text-align: center;
}

@media (max-width: 640px) {
  .solar-results-container {
    padding: 1rem;
  }

  .results-summary {
    grid-template-columns: 1fr;
  }

  .results-footer .actions {
    flex-direction: column;
  }

  .results-footer .actions .btn {
    margin-right: 0;
  }
}
/* MEWENERGY Solar Results Styling */

:root {
  --primary-green: #58c629;
  --dark-green: #086f19;
  --primary-blue: #0090d1;
  --accent-orange: #EEA22A;
  --dark-blue: #1A5565;
  --success-green: #58c629;
  --warning-orange: #EEA22A;
  --text-dark: #1a1a1a;
  --text-medium: #484848;
  --text-light: #6c757d;
  --border-color: #e0e0e0;
  --bg-light: #f9f9f9;
}

.solar-results-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Header Section */
.results-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-bottom: 3px solid var(--primary-green);
}

.results-header h1 {
  font-size: 2.5rem;
  color: var(--dark-green);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.results-header h2 {
  font-size: 1.8rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.results-header .location {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.metric-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.metric-card h4 {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.metric-card .value {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.metric-card small {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Section Headers */
.section-header {
  color: var(--dark-green);
  border-bottom: 2px solid var(--primary-green);
  padding-bottom: 10px;
  margin: 3rem 0 2rem 0;
  font-size: 1.8rem;
  font-weight: 700;
}

/* Scenario Comparison */
.scenario-comparison {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.scenario-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.scenario-card.optimal {
  border-color: var(--primary-green);
  border-width: 3px;
  box-shadow: 0 4px 12px rgba(88, 198, 41, 0.25);
}

.scenario-card .recommended-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--primary-green);
  color: white;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.scenario-card h4 {
  font-size: 1.3rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
}

/* Solar Coverage Visual */
.solar-coverage-visual {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 1.5rem 0;
  text-align: center;
}

.coverage-indicator {
  position: relative;
}

.coverage-bar {
  height: 40px;
  background: linear-gradient(to right, var(--success-green) var(--coverage, 0%), #e0e0e0 var(--coverage, 0%));
  border-radius: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.coverage-bar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--coverage, 0%);
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.1) 10px,
    rgba(255, 255, 255, 0.1) 20px
  );
  border-radius: 20px;
}

.coverage-indicator small {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Battery Visual */
.battery-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 1.5rem 0;
  text-align: center;
}

.battery-icon {
  width: 60px;
  height: 100px;
  border: 3px solid var(--text-dark);
  border-radius: 5px;
  position: relative;
  margin: 0 auto 0.5rem;
  background: linear-gradient(to top, var(--success-green) var(--fill, 0%), transparent var(--fill, 0%));
}

.battery-icon::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 6px;
  background: var(--text-dark);
  border-radius: 2px 2px 0 0;
}

.evening-duration {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.evening-duration div {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 400;
}

/* Metrics Layout within Scenario */
.scenario-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 1.5rem;
}

.scenario-metrics .metric-item {
  padding: 0.5rem 0;
}

.scenario-metrics .metric-item strong {
  display: block;
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.scenario-metrics .metric-item .value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.scenario-metrics .positive {
  color: var(--success-green) !important;
}

.scenario-metrics .negative {
  color: #f44336 !important;
}

/* Battery Details */
.battery-details,
.solar-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.battery-details small,
.solar-details small {
  display: block;
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Scenario Selection Button */
.btn-select-scenario,
.btn-select-solar {
  width: 100%;
  padding: 12px 24px;
  background: white;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 1.5rem;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-select-scenario:hover,
.btn-select-solar:hover {
  background: var(--primary-green);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 198, 41, 0.3);
}

.btn-select-scenario.selected,
.btn-select-solar.selected {
  background: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}

/* Charts */
.chart-container {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.chart-container h3 {
  color: var(--text-dark);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.chart-container canvas {
  max-height: 400px;
}

/* Projection Table */
.projection-section {
  margin: 3rem 0;
}

.projection-table {
  overflow-x: auto;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
}

.projection-table table {
  width: 100%;
  border-collapse: collapse;
}

.projection-table thead th {
  background: var(--primary-green);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.projection-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-dark);
}

.projection-table tbody tr:hover {
  background: #f8f9fa;
}

.projection-table tbody tr:last-child td {
  border-bottom: none;
  font-weight: 700;
}

/* Footer Actions */
.results-footer {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.results-footer .info-box {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 2rem;
  color: #856404;
}

.results-footer .actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-green);
  color: white;
  border: 2px solid var(--primary-green);
}

.btn-primary:hover {
  background: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 198, 41, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
  background: var(--primary-green);
  color: white;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .scenario-comparison {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .solar-results-container {
    padding: 1rem;
  }

  .results-header h1 {
    font-size: 1.8rem;
  }

  .results-header h2 {
    font-size: 1.3rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .scenario-comparison {
    grid-template-columns: 1fr;
  }

  .scenario-metrics {
    grid-template-columns: 1fr;
  }

  .battery-visual {
    grid-template-columns: 1fr;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *



 */
