/* Form Layout */
.wplake-form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) {
  .wplake-form-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* Sol Sütun: Form */
.wplake-form-left {

}

.wplake-form-title {
  color: #2c3e50;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.wplake-form-description {
  color: #6c757d;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Form Groups */
.wplake-form-group {
  margin-bottom: 25px;
}

.wplake-form-group label {
  font-weight: 600;
  color: #000000;
  margin-bottom: 12px;
  font-size: 14px;
  display: block;
}

/* Button Groups */
.wplake-button-group {
  display: flex;
  width: --webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  gap: 10px;
  flex-wrap: wrap;
  background-color: #f4f4f4;
  justify-content: start;
  align-content: start;
  padding: 5px;
  border-radius: 10px;
}

.wplake-status-btn,
.wplake-type-btn {
  padding: 12px 20px;
  background: #f4f4f4;
  color: #6c757d;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  min-width: 120px;
  text-align: center;
}

.wplake-status-btn:hover,
.wplake-type-btn:hover {
  background: #fff;
  color: #000000;
}

.wplake-status-btn.active,
.wplake-type-btn.active {
  background: #ffffff;
  border-color: #e3e3e3;
  color: black;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

/* Input with Currency */
.wplake-input-with-currency {
  position: relative;
  display: flex;
  align-items: center;
}

.wplake-input-with-currency input {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.wplake-input-with-currency input:disabled {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
  border-color: #ddd;
}

.wplake-input-with-currency .currency {
  position: absolute;
  right: 16px;
  color: #6c757d;
  font-weight: 500;
  font-size: 14px;
}

.wplake-input-with-currency input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Rate Info */
.rate-info {
  margin-top: 8px;
}

.rate-range {
  color: #8e44ad;
  font-weight: 500;
  font-size: 13px;
}
.flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.wplake-slider-container {
  width: 100%;
}
.wplake-slider-container input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #dee2e6;
  outline: none;
  -webkit-appearance: none;
  margin-bottom: 5px;
  padding: 4px 0px;
}

.wplake-slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #8e44ad;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.wplake-slider-container input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #8e44ad;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
  color: #6c757d;
}

.slider-value {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #2c3e50;
}
.hidden {
  display: none;
}
.slider-value span:first-child {
  font-size: 16px;
  color: #000000;
  padding-right: 15px;
  font-weight: 400;
  
}

.slider-value span:last-child {
  font-size: 16px;
  padding-left: 15px;
  color: var(--e-global-color-uicore_primary);
  border-left: 1px solid #efefef;
}

/* Interest Rate Display */
.wplake-rate-display {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.wplake-rate-display.inactive {
  opacity: 0.6;
}

.wplake-rate-display .rate-value {
  font-size: 28px;
  font-weight: 700;
  color: #8e44ad;
}

.wplake-rate-display .rate-suffix {
  font-size: 20px;
  font-weight: 600;
  color: #6c757d;
}

/* Sağ Sütun: Sonuçlar */
.wplake-form-right {
  height: fit-content;
}

.wplake-results-preview {
  margin-bottom: 30px;
}

.result-item {
  margin-bottom: 25px;
  text-align: right;
}

.result-item label {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 0px;
  display: block;
  font-weight: 500;
}

.result-item .result-value {
  font-size: 64px;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.2;
}

/* CTA Section */
.wplake-cta-section {
  text-align: left;
}

.wplake-cta-section p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.wplake-apply-btn {
  background: var(--e-global-color-uicore_primary);
  color: white;
  border: none;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--e-global-color-19e7a29);
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
}

.wplake-apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--e-global-color-19e7a29);
}

.wplake-apply-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.wplake-apply-btn svg {
  transition: transform 0.3s ease;
}

.wplake-apply-btn:hover svg {
  transform: translate(2px, -2px);
}

/* Detailed Results */
.wplake-mortgage-results {
  margin-top: 40px;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  border: 1px solid #dee2e6;
}

.wplake-mortgage-results h3 {
  text-align: center;
  color: #2c3e50;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #27ae60;
}

.wplake-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.wplake-result-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.result-label {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 8px;
  font-weight: 500;
}

.result-value {
  font-size: 24px;
  font-weight: 700;
  color: #27ae60;
}

/* Error Messages */
.wplake-mortgage-error {
  margin-top: 20px;
  padding: 15px 20px;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  color: #721c24;
}

.error-message {
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 600px) {
  .wplake-mortgage-form-wrapper {
    padding: 20px;
  }

  .wplake-form-title {
    font-size: 24px;
  }

  .wplake-button-group {
    flex-direction: column;
  }

  .wplake-status-btn,
  .wplake-type-btn {
    min-width: auto;
  }

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

  .wplake-mortgage-results {
    padding: 20px;
  }

  .result-item .result-value {
    font-size: 24px;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wplake-mortgage-results {
  animation: fadeInUp 0.5s ease-out;
}

/* Focus States */
.wplake-form-group input:focus,
.wplake-form-group select:focus {
  transform: translateY(-1px);
}

/* Hover Effects */
.wplake-result-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
