.landing-form {
  padding: 10px 0 10px 0;
}
.landing-form form .js-form-item {
  display: block;
}
.landing-form form .js-form-item.form-item-email,
.landing-form form .js-form-item.form-item-name {
  display: inline-block;
}
.landing-form .js-form-item input {
  padding: 16px 14px 12px 14px;
  border: 2px solid var(--orange);
  width: 100%;
  margin-right: 20px;
   margin-bottom: 10px;
}
.landing-form div[id*="edit-actions"] input {
  background-color: var(--orange);
  padding: 16px 40px 16px 40px;
  border-radius: 32px;
  border: 0;
  color: var(--white);
  margin-top: 20px;
}
.landing-form  div[id*="edit-actions"] input:hover {
  cursor: pointer;
}


@media (min-width: 768px){  
  .landing-form {
    padding: 10px 0 10px 0;
  }
  .landing-form .js-form-item input {
    padding: 16px 14px 12px 14px;
    width: 100%;
    margin-right: 20px;
    margin-bottom: 10px;
  }
}

@media (min-width: 1200px){  
  .landing-form .js-form-item input {
    padding: 16px 14px 12px 14px;
    max-width: 500px;
    margin-right: 0;
  }
  .landing-form .js-form-item input:first-child {
    margin-right: 10px;
  }
}
 
@media (min-width: 1321px){  
  .landing-form .js-form-item input {
    padding: 16px 14px 12px 14px;
    width: 280px;
  }
}



/* ===== CHECKBOX STYLING ===== */

.webform-submission-form .custom-checkbox-wrapper,
.js-webform-checkboxes-other-input {
  position: relative;
  display: block;
  margin: 13px 0 0 0;
}
.webform-submission-form .custom-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.webform-submission-form .custom-checkbox-label {
  position: relative;
  padding-left: 40px;
  cursor: pointer;
  display: inline-block;
  min-height: 28px;
}
.webform-submission-form .custom-checkbox-label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border: 1px solid #000;
  background: #fff;
  border-radius: 0;
  box-sizing: border-box;
  transition: all 0.2s ease;
}
.webform-submission-form .custom-checkbox-label:after {
  content: '';
  position: absolute;
  left: 10px;
  top: 4px;
  width: 8px;
  height: 16px;
  border: solid var(--orange);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: all 0.2s ease;
}
.webform-submission-form .custom-checkbox:checked + .custom-checkbox-label:after {
  opacity: 1;
}
.webform-submission-form .js-form-type-checkbox .description {
  display: block;
  padding: 10px 0 0 40px;
}
.path-webform .systemowe-messages {
  color: #35bb5b;
  font-weight: 500;
  font-size: 17px;
  text-align: center;
  border: 6px solid #dfdede;
}
.webform-confirmation__message {
  color: #35bb5b;
  font-weight: 500;
  font-size: 17px;
  text-align: center;
  border: 6px solid #dfdede;
  padding: 30px 20px;
  width: 50%;
  margin: 0 auto;
}

:root {
  /* Colors */
  --select-bg: #ffffff;
  --select-color: #212529;
  --select-border: #ced4da;
  --select-focus-border: #86b7fe;
  --select-focus-shadow: rgba(13, 110, 253, 0.25);
  --select-hover-border: #b0b7c3;
  --select-disabled-bg: #e9ecef;
  --select-disabled-color: #6c757d;
  --select-error-border: #dc3545;
  --select-error-shadow: rgba(220, 53, 69, 0.25);
  --select-success-border: #198754;
  --select-success-shadow: rgba(25, 135, 84, 0.25);
  
  /* Sizing */
  --select-padding-y: 12px;
  --select-padding-x: 16px;
  --select-padding-r: 40px;
  --select-font-size: 16px;
  --select-border-radius: 0.375rem;
  --select-border-width: 1px;
  --select-min-width: 200px;
  
  /* Arrow */
  --select-arrow-size: 16px 12px;
  --select-arrow-position: right 12px center;
}
.custom-select-variables {
  padding: var(--select-padding-y) var(--select-padding-r) var(--select-padding-y) var(--select-padding-x);
  font-size: var(--select-font-size);
  background-color: var(--select-bg);
  color: var(--select-color);
  border: var(--select-border-width) solid var(--select-border);
  border-radius: var(--select-border-radius);
  min-width: var(--select-min-width);
  background-size: var(--select-arrow-size);
  background-position: var(--select-arrow-position);
}
.custom-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}
.custom-popup {
  background: white;
  border-radius: 12px;
  padding: 40px 30px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}
.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 30px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
}
.popup-close:hover {
  color: #333;
}
.popup-icon {
  width: 80px;
  height: 80px;
  background: #4caf50;
  color: white;
  border-radius: 50%;
  font-size: 50px;
  line-height: 80px;
  margin: 0 auto 20px;
  animation: scaleIn 0.4s ease 0.2s both;
}
.popup-message {
  font-size: 16px;
  color: #333;
  margin: 20px 0;
  line-height: 1.6;
}
.popup-message h2,
.popup-message h3 {
  font-size: 24px;
  margin: 0 0 15px;
  color: #333;
}
.popup-message p {
  margin: 10px 0;
  color: #666;
}
.popup-message a {
  color: #667eea;
  text-decoration: none;
}
.popup-message a:hover {
  text-decoration: underline;
}
.popup-message ul,
.popup-message ol {
  text-align: left;
  max-width: 400px;
  margin: 15px auto;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}


@media (max-width: 480px) {
  .custom-popup {
    padding: 30px 20px;
    width: 95%;
  }
  .popup-message {
    font-size: 14px;
  }
  .popup-message h2,
  .popup-message h3 {
    font-size: 20px;
  }
  .popup-icon {
    width: 60px;
    height: 60px;
    font-size: 40px;
    line-height: 60px;
  }
}


.webform-button--submit {
  position: relative !important;
  overflow: hidden !important; /* Override "clip" value */
  background: linear-gradient(90deg, #ffbe42 0%, #fd6a02 50%, #ffbe42 100%) !important;
  color: white !important;
  border: 2px solid var(--orange) !important;
  padding: 14px 34px !important;
  border-radius: 25px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 
    0 2px 5px rgba(253, 106, 2, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s ease !important;
}
.webform-button--submit::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 50% !important;
  height: 100% !important;
  background: rgba(255, 255, 255, 0.6) !important;
  transform: skewX(-20deg) !important;
  animation: shine-sweep 3s ease-in-out infinite !important;
  pointer-events: none !important;
  z-index: 10 !important;
}

@keyframes shine-sweep {
  0% { left: -100%; }
  100% { left: 150%; }
}
.webform-button--submit:hover {
  transform: translateY(-3px) !important;
  box-shadow: 
    0 6px 25px rgba(253, 106, 2, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  background: linear-gradient(135deg, #f56000 0%, #ff901a 50%, #f56000 100%) !important;
}
.webform-button--submit:active {
  transform: translateY(-1px) !important;
  box-shadow: 
    0 3px 15px rgba(253, 106, 2, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}