/*
Theme Name:   Hello Elementor Child
Theme URI:    https://elementor.com/hello-theme/
Description:  Hello Elementor Child Theme
Author:       Your Name
Author URI:   https://elementor.com/
Template:     hello-elementor
Version:      1.0.0
License:      GNU General Public License v3 or later.
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  hello-elementor-child
*/

/* =========================================================
   Leadsback Checkout Form
   ========================================================= */

.lb-checkout-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 40px auto;
  font-family: inherit;
  color: #374151;
}

@media (min-width: 768px) {
  .lb-checkout-container {
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
  }
}

.lb-section-title {
  font-size: 24px;
  margin-bottom: 24px;
  color: #0b3d36; /* Dark Green matching header */
  font-family: inherit;
  font-weight: 700;
  border-bottom: 2px solid #eaeaea;
  padding-bottom: 12px;
}

.lb-form-group {
  margin-bottom: 20px;
}

.lb-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #374151;
}

.lb-form-group input,
.lb-form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 15px;
  background-color: #fff;
  color: #111827;
  transition: all 0.2s ease;
  font-family: inherit;
}

.lb-form-group input:focus,
.lb-form-group select:focus {
  border-color: #0b3d36;
  box-shadow: 0 0 0 3px rgba(11, 61, 54, 0.1);
  outline: none;
}

.lb-form-group input::placeholder {
  color: #9ca3af;
}

/* KVK and VAT fields are hidden by default; shown via JS based on country */
.lb-kvk-field,
.lb-vat-field {
  display: none;
}

.lb-col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.lb-checkout-col-left {
  padding: 30px;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
}

.lb-checkout-col-right {
  position: relative;
}

.lb-order-review {
  padding: 30px;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  box-shadow: none;
  position: sticky;
  top: 40px;
}

.lb-order-review h3 {
  margin-top: 0;
  font-size: 20px;
  margin-bottom: 20px;
  font-family: inherit;
  font-weight: 700;
  color: #0b3d36;
}

.lb-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
  border: none !important;
}

.lb-order-table th,
.lb-order-table td {
  padding: 16px 0;
  border: none !important;
  border-bottom: 1px solid #eaeaea !important;
  text-align: left;
  font-size: 15px;
  background: transparent !important;
}

.lb-order-table th {
  font-weight: 600;
  color: #475569;
}

.lb-order-table td {
  color: #1e293b;
  font-weight: 500;
}

/* Align the second column to the right */
.lb-order-table th:last-child,
.lb-order-table td:last-child {
  text-align: right;
}

.lb-order-table tr.lb-total th,
.lb-order-table tr.lb-total td {
  font-size: 18px;
  font-weight: 700;
  border-bottom: none !important;
  color: #0f172a;
  padding-top: 20px;
}

.lb-checkout-container button.lb-btn-submit {
  width: 100%;
  padding: 16px 24px;
  background-color: #ff5a22 !important; /* Orange from header button */
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  margin-top: 20px;
  display: block;
  text-align: center;
  text-transform: none;
  font-family: inherit;
  box-shadow: 0 4px 6px rgba(255, 90, 34, 0.2);
}

.lb-checkout-container button.lb-btn-submit:hover {
  background-color: #e04a1a !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 10px rgba(255, 90, 34, 0.3);
}

.lb-terms {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.6;
}

.lb-terms a {
  color: #ff5a22;
  text-decoration: none;
  font-weight: 600;
}

.lb-terms a:hover {
  color: #e04a1a;
  text-decoration: underline;
}

.lb-terms-label {
  display: flex;
  gap: 12px;
  cursor: pointer;
  align-items: flex-start;
  margin-top: 20px;
  background: #ffffff;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: border-color 0.2s ease;
}

.lb-terms-label:hover {
  border-color: #cbd5e1;
}

.lb-terms-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #ff5a22;
  cursor: pointer;
}

.lb-terms-label span {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}
