/* Form Builder Modülü Stilleri */

/* Bootstrap Row için margin */
.contact-form .row {
  margin-left: -15px;
  margin-right: -15px;
}

.contact-form .row > [class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
}

/* İletişim formu ile uyumlu tasarım */
.contact-form .form-group.required > label:after {
  content: ' *';
  color: #dc3545;
  font-weight: bold;
}

/* Form Açıklama */
.contact-form-description,
.form-builder-description {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.6;
}

.contact-form-description h1,
.contact-form-description h2,
.contact-form-description h3,
.contact-form-description h4,
.contact-form-description h5,
.contact-form-description h6,
.form-builder-description h1,
.form-builder-description h2,
.form-builder-description h3,
.form-builder-description h4,
.form-builder-description h5,
.form-builder-description h6 {
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: 600;
}

.contact-form-description p,
.form-builder-description p {
  margin-bottom: 10px;
}

.contact-form-description ul,
.contact-form-description ol,
.form-builder-description ul,
.form-builder-description ol {
  margin-bottom: 15px;
  padding-left: 25px;
}

.contact-form-description img,
.form-builder-description img {
  max-width: 100%;
  height: auto;
  margin: 10px 0;
}

/* ========================================
   MODERN RADIO VE CHECKBOX BUTON STİLLERİ
   ======================================== */

/* Radio ve Checkbox Grupları */
.contact-form .form-radio-group,
.contact-form .form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
}

/* Modern Buton Stili - Her bir seçenek */
.contact-form .form-radio-group .radio,
.contact-form .form-checkbox-group .checkbox {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
}

.contact-form .form-radio-group label,
.contact-form .form-checkbox-group label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 12px 20px;
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  color: #555;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  white-space: nowrap;
}

.contact-form .form-radio-group label:hover,
.contact-form .form-checkbox-group label:hover {
  border-color: #56ab2f;
  background: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(86, 171, 47, 0.15);
}

/* Input'u gizle */
.contact-form .form-radio-group input[type="radio"],
.contact-form .form-checkbox-group input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

/* Seçili Durum */
.contact-form .form-radio-group input[type="radio"]:checked + label,
.contact-form .form-checkbox-group input[type="checkbox"]:checked + label {
  color: #fff;
  background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
  border-color: #56ab2f;
  box-shadow: 0 4px 15px rgba(86, 171, 47, 0.4);
  transform: translateY(-2px);
}

/* Checkmark Icon (Seçili olduğunda) */
.contact-form .form-radio-group input[type="radio"]:checked + label:before,
.contact-form .form-checkbox-group input[type="checkbox"]:checked + label:before {
  content: '\f00c';
  font-family: 'FontAwesome';
  margin-right: 8px;
  animation: checkmark-pop 0.3s ease;
}


@keyframes checkmark-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Disabled Durum */
.contact-form .form-radio-group input[type="radio"]:disabled + label,
.contact-form .form-checkbox-group input[type="checkbox"]:disabled + label {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f5f5f5;
}

.contact-form .form-radio-group input[type="radio"]:disabled + label:hover,
.contact-form .form-checkbox-group input[type="checkbox"]:disabled + label:hover {
  transform: none;
  box-shadow: none;
  border-color: #e0e0e0;
}

/* Responsive: Mobilde tam genişlik */
@media (max-width: 767px) {
  .contact-form .form-radio-group label,
  .contact-form .form-checkbox-group label {
    min-width: 100%;
    justify-content: flex-start;
  }
}

/* Flex gap kullanıldığı için margin-bottom gereksiz */

.contact-form .form-radio-group label,
.contact-form .form-checkbox-group label {
  font-weight: normal;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.contact-form .form-radio-group input[type="radio"],
.contact-form .form-checkbox-group input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}

/* Help Block */
.contact-form .help-block {
  display: block;
  color: #6c757d;
  font-size: 13px;
  margin-top: 5px;
  font-style: italic;
}

/* Field Error */
.contact-form [class^="field-error-"] {
  display: block;
  color: #dc3545;
  font-size: 13px;
  margin-top: 5px;
  font-weight: 500;
}

/* Loading state */
.contact-form .form-loading {
  color: #6c757d;
  font-size: 14px;
}

/* Alert messages */
.contact-form-panel .alert {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 6px;
  font-size: 14px;
}

.contact-form-panel .alert i {
  margin-right: 8px;
}

.contact-form-panel .alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.contact-form-panel .alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-form .btn-lg {
    padding: 12px 20px;
    font-size: 15px;
  }
  

  
  /* CAPTCHA mobilde dikey */
  .contact-form .form-group > fieldset .col-sm-10 {
    flex-direction: column;
  }
  
  .contact-form .form-group > fieldset img {
    width: 100%;
    max-width: 250px;
    margin: 0 auto 15px;
  }
  
  .contact-form .form-group > fieldset input[type="text"] {
    height: 45px;
  }
}

/* CAPTCHA düzenleme - Yeni Düzen */
.contact-form .form-group > fieldset {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 6px;
  background-color: #f9f9f9;
  margin-bottom: 0;
}

.contact-form .form-group > fieldset legend {
  border: none;
  padding: 0 10px;
  width: 100%;
  margin-bottom: 0px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* Legend metnini değiştir */
.contact-form .form-group > fieldset legend:after {
  content: " *";
  color: #dc3545;
}

.contact-form .form-group > fieldset .form-group {
  margin-bottom: 0;
}

/* Label gizle */
.contact-form .form-group > fieldset .control-label {
  display: none;
}

/* Input sağ tarafta, geniş */
.contact-form .form-group > fieldset .col-sm-2 {
  display: none;
}

.contact-form .form-group > fieldset .col-sm-10 {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 15px;
}

/* CAPTCHA görseli sol tarafta */
.contact-form .form-group > fieldset img {
  order: -1;
  flex-shrink: 0;
  width: 180px;
  height: auto;
  border: 2px solid #bdbcbc;
  border-radius: 4px;
  padding: 3px;
  background: white;
  margin: 0;
}

.contact-form .form-group > fieldset input[type="text"] {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  height: 50px;
  min-width: 0;
}

/* Dosya yükleme input */
.contact-form input[type="file"] {
  padding: 8px 12px;
}

/* Select ok işareti için alan */
.contact-form select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Temizlik */
.contact-form .form-control::placeholder {
  color: #adb5bd;
  opacity: 1;
}

.contact-form .form-control:disabled {
  background-color: #e9ecef;
  opacity: 1;
}

/* ===========================
   WIDGET MODAL STİLLERİ
   =========================== */

/* Widget Form için genel stiller */
.form-builder-widget-form .form-group.required > label:after {

  color: #dc3545;
  font-weight: bold;
}

.form-builder-widget-form .form-group {
  margin-bottom: 15px;
}

.form-builder-widget-form label {
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

.form-builder-widget-form .form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.form-builder-widget-form .form-control:focus {
  border-color: #0060aa;
  box-shadow: 0 0 0 2px rgba(0, 96, 170, 0.1);
  outline: none;
}

/* Radio & Checkbox */
.form-builder-widget-form .form-radio-group,
.form-builder-widget-form .form-checkbox-group {
  padding: 5px 0;
}

/* Flex gap kullanıldığı için margin-bottom gereksiz */

.form-builder-widget-form .form-radio-group label,
.form-builder-widget-form .form-checkbox-group label {
  font-weight: normal;
  cursor: pointer;
  margin-bottom: 0;
}

.form-builder-widget-form .form-radio-group input[type="radio"],
.form-builder-widget-form .form-checkbox-group input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}

/* Help Block */
.form-builder-widget-form .help-block {
  display: block;
  color: #6c757d;
  font-size: 12px;
  margin-top: 4px;
  font-style: italic;
}

/* Widget field errors */
.form-builder-widget-form [class^="widget-field-error-"] {
  display: block;
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
  font-weight: 500;
}

/* Modal içi alert */
.form-builder-modal .alert {
  margin-bottom: 15px;
  font-size: 13px;
}

/* Modal CAPTCHA Stilleri - Inline form ile aynı */
.form-builder-widget-form .form-group > fieldset,
.form-builder-modal .form-group > fieldset {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 6px;
  background-color: #f9f9f9;
  margin-bottom: 0;
}

.form-builder-widget-form .form-group > fieldset legend,
.form-builder-modal .form-group > fieldset legend {
  border: none;
  padding: 0 10px;
  width: auto;
  margin-bottom: 0px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.form-builder-widget-form .form-group > fieldset legend:after,
.form-builder-modal .form-group > fieldset legend:after {

  color: #dc3545;
}

.form-builder-widget-form .form-group > fieldset .form-group,
.form-builder-modal .form-group > fieldset .form-group {
  margin-bottom: 0;
}

/* Label gizle */
.form-builder-widget-form .form-group > fieldset .control-label,
.form-builder-modal .form-group > fieldset .control-label {
  display: none;
}

/* Input container düzenlemesi */
.form-builder-widget-form .form-group > fieldset .col-sm-2,
.form-builder-modal .form-group > fieldset .col-sm-2 {
  display: none;
}

.form-builder-widget-form .form-group > fieldset .col-sm-10,
.form-builder-modal .form-group > fieldset .col-sm-10 {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 15px;
}

/* CAPTCHA görseli sol tarafta */
.form-builder-widget-form .form-group > fieldset img,
.form-builder-modal .form-group > fieldset img {
  order: -1;
  flex-shrink: 0;
  width: 180px;
  height: auto;
  border: 2px solid #bdbcbc;
  border-radius: 4px;
  padding: 3px;
  background: white;
  margin: 0;
}

.form-builder-widget-form .form-group > fieldset input[type="text"],
.form-builder-modal .form-group > fieldset input[type="text"] {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  height: 45px;
  min-width: 0;
}

/* Responsive Modal CAPTCHA */
@media (max-width: 576px) {

  
  .form-builder-widget-form .form-group > fieldset img,
  .form-builder-modal .form-group > fieldset img {
    width: 100%;
    max-width: 150px;
    margin: 0 auto 0px;
  }
  
  .form-builder-widget-form .form-group > fieldset input[type="text"],
  .form-builder-modal .form-group > fieldset input[type="text"] {
    height: 40px;
  }
}

/* ========================================
   MODAL FORM STİLLERİ (Modern Tasarım)
   ======================================== */

/* Modal Genel */
.form-builder-modal .modal-dialog {
  margin: 30px auto;
}

.form-builder-modal .modal-content {
  border-radius: 8px;
  border: none;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

/* Modal Başlık */
.form-builder-modal .modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 8px 8px 0 0;
  border-bottom: none;
  padding: 20px 25px;
}

.form-builder-modal .modal-title {
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  margin: 0;
}

.form-builder-modal .modal-header .close {
  color: #fff;
  opacity: 0.8;
  text-shadow: none;
  font-size: 28px;
  font-weight: 300;
  margin-top: -2px;
}

.form-builder-modal .modal-header .close:hover {
  opacity: 1;
}

/* Modal Gövde */
.form-builder-modal .modal-body {
  padding: 30px 25px;
  background-color: #fff;
}

/* Modal Form Grupları */
.form-builder-modal .form-group {
  margin-bottom: 10px;
  
}



.form-builder-modal .form-group label {
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  font-size: 14px;
  text-align: left;
}

.form-builder-modal .form-group.required > label:after {

  color: #dc3545;
  font-weight: bold;
}

/* Modal Input Alanları */
.form-builder-modal .form-control {
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-builder-modal .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
  outline: none;
}

.form-builder-modal textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Modal Select */
.form-builder-modal select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23333' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 35px;
}

/* ========================================
   MODAL RADIO VE CHECKBOX BUTON STİLLERİ
   ======================================== */

/* Modal Radio ve Checkbox */
.form-builder-modal .form-radio-group,
.form-builder-modal .form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
}

/* Modern Buton Stili - Modal */
.form-builder-modal .form-radio-group .radio,
.form-builder-modal .form-checkbox-group .checkbox {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
}

.form-builder-modal .form-radio-group label,
.form-builder-modal .form-checkbox-group label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 12px 20px;
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  color: #555;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  white-space: nowrap;
}

.form-builder-modal .form-radio-group label:hover,
.form-builder-modal .form-checkbox-group label:hover {
  border-color: #56ab2f;
  background: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(86, 171, 47, 0.15);
}

/* Input'u gizle - Modal */
.form-builder-modal .form-radio-group input[type="radio"],
.form-builder-modal .form-checkbox-group input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

/* Seçili Durum - Modal */
.form-builder-modal .form-radio-group input[type="radio"]:checked + label,
.form-builder-modal .form-checkbox-group input[type="checkbox"]:checked + label {
  color: #fff;
  background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
  border-color: #56ab2f;
  box-shadow: 0 4px 15px rgba(86, 171, 47, 0.4);
  transform: translateY(-2px);
}

/* Checkmark Icon - Modal */
.form-builder-modal .form-radio-group input[type="radio"]:checked + label:before,
.form-builder-modal .form-checkbox-group input[type="checkbox"]:checked + label:before {
  content: '\f00c';
  font-family: 'FontAwesome';
  margin-right: 8px;
  animation: checkmark-pop 0.3s ease;
}

/* Disabled - Modal */
.form-builder-modal .form-radio-group input[type="radio"]:disabled + label,
.form-builder-modal .form-checkbox-group input[type="checkbox"]:disabled + label {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f5f5f5;
}

.form-builder-modal .form-radio-group input[type="radio"]:disabled + label:hover,
.form-builder-modal .form-checkbox-group input[type="checkbox"]:disabled + label:hover {
  transform: none;
  box-shadow: none;
  border-color: #e0e0e0;
}

/* Responsive - Modal */
@media (max-width: 767px) {
  .form-builder-modal .form-radio-group label,
  .form-builder-modal .form-checkbox-group label {
    min-width: 100%;
    justify-content: flex-start;
  }
}

/* Flex gap kullanıldığı için margin-bottom gereksiz */

.form-builder-modal .form-radio-group label,
.form-builder-modal .form-checkbox-group label {
  font-weight: normal;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.form-builder-modal .form-radio-group label:hover,
.form-builder-modal .form-checkbox-group label:hover {
  background-color: #f8f9fa;
}

.form-builder-modal .form-radio-group input[type="radio"],
.form-builder-modal .form-checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

/* Modal CAPTCHA */
.form-builder-modal .form-group > fieldset {
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  padding: 15px;
  margin: 0;
}

.form-builder-modal .form-group > fieldset legend {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 0px;
  padding: 0 10px;
  width: auto;
  border: none;
}

/* Modal Hata Mesajları */
.form-builder-modal .text-danger {
  color: #dc3545;
  font-size: 13px;
  margin-top: 5px;
  display: block;
}

.form-builder-modal .alert {
  border-radius: 6px;
  margin-bottom: 20px;
  padding: 12px 15px;
}

.form-builder-modal .alert-danger {
  background-color: #fff5f5;
  border: 1px solid #feb2b2;
  color: #c53030;
}

.form-builder-modal .alert-success {
  background-color: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

/* Modal Gönder Butonu */
.form-builder-modal button[type="submit"] {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: #fff;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  width: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.form-builder-modal button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.form-builder-modal button[type="submit"]:active {
  transform: translateY(0);
}

.form-builder-modal button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Modal Loading */
.form-builder-modal .form-loading {
  text-align: center;
  margin-top: 15px;
  color: #667eea;
  font-weight: 500;
}

.form-builder-modal .form-loading i {
  color: #667eea;
}

/* Modal Footer (eğer kullanılıyorsa) */
.form-builder-modal .modal-footer {
  border-top: 1px solid #e0e0e0;
  padding: 15px 25px;
  background-color: #f8f9fa;
  border-radius: 0 0 8px 8px;
}

/* Responsive Modal */
@media (max-width: 767px) {
  .form-builder-modal .modal-dialog {
    margin: 10px;
  }
  
  .form-builder-modal .modal-header {
    padding: 15px 20px;
  }
  
  .form-builder-modal .modal-title {
    font-size: 18px;
  }
  
  .form-builder-modal .modal-body {
    padding: 20px 15px;
  }
}

/* ========================================
   YÜZEN BUTON STİLİ (Modern Tasarım)
   ======================================== */

.form-builder-widget {
  position: fixed;
  z-index: 9999;
}

/* Buton Konumları */
.form-builder-widget[data-position="bottom-right"] {
  bottom: 30px;
  right: 30px;
}

.form-builder-widget[data-position="bottom-left"] {
  bottom: 30px;
  left: 30px;
}

.form-builder-widget[data-position="top-right"] {
  top: 100px;
  right: 30px;
}

.form-builder-widget[data-position="top-left"] {
  top: 100px;
  left: 30px;
}

/* Modern Yüzen Buton */
.form-builder-widget-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 15px 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.form-builder-widget-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.form-builder-widget-btn:hover:before {
  left: 100%;
}

.form-builder-widget-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.form-builder-widget-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

.form-builder-widget-btn i {
  font-size: 20px;
  animation: pulse 2s ease-in-out infinite;
}

.form-builder-widget-btn span {
  font-size: 15px;
  white-space: nowrap;
}

/* Pulse Animasyonu */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Mobil için Buton Ayarları */
@media (max-width: 767px) {
  .form-builder-widget[data-position="bottom-right"],
  .form-builder-widget[data-position="bottom-left"] {
    bottom: 65px;
  }
  
  .form-builder-widget[data-position="bottom-right"] {
    right: 15px;
  }
  
  .form-builder-widget[data-position="bottom-left"] {
    left: 15px;
  }
  
  .form-builder-widget-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .form-builder-widget-btn i {
    font-size: 18px;
  }
  
  .form-builder-widget-btn span {
    font-size: 14px;
  }
}

/* ========================================
   ÜRÜN EK SEKMELERİ İÇERİK STİLLERİ
   ======================================== */

.custom-tab-content {
  padding: 20px 0;
  line-height: 1.8;
  color: #555;
}

.custom-tab-content h1,
.custom-tab-content h2,
.custom-tab-content h3,
.custom-tab-content h4,
.custom-tab-content h5,
.custom-tab-content h6 {
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #333;
}

.custom-tab-content h2 {
  font-size: 24px;
}

.custom-tab-content h3 {
  font-size: 20px;
}

.custom-tab-content h4 {
  font-size: 18px;
}

.custom-tab-content p {
  margin-bottom: 15px;
}

.custom-tab-content ul,
.custom-tab-content ol {
  margin-bottom: 15px;
  padding-left: 30px;
}

.custom-tab-content ul li,
.custom-tab-content ol li {
  margin-bottom: 8px;
}

.custom-tab-content img {
  max-width: 100%;
  height: auto;
  margin: 15px 0;
}

.custom-tab-content table {
  width: 100%;
  margin-bottom: 15px;
}

.custom-tab-content a {
  color: #337ab7;
  text-decoration: underline;
}

.custom-tab-content a:hover {
  color: #23527c;
}

/* Ek Sekmelerdeki Form Builder Entegrasyonu */
.custom-tab-content .contact-form-panel {
  margin-top: 20px;
}

/* ========================================
   FORM BUILDER BANNER/RESİM STİLLERİ
   ======================================== */

.form-builder-container {
  width: 100%;
  background: #fff;
}

.form-builder-banner {
  position: relative;
  display: block;
}

.form-builder-banner img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Banner slide resimleri */
.banner-slider .banner-slide img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Tek Resim */
.banner-single-image img {
  transition: transform 0.3s ease;
}

.banner-single-image:hover img {
  transform: scale(1.02);
}

/* Slider (Owl Carousel) */
.banner-slider {
  position: relative;
}

.banner-slider .owl-stage-outer {
  overflow: hidden;
}

/* Owl Carousel başlamadan önce resimleri göster */
.banner-slider .banner-slide {
  opacity: 1;
}

/* Owl başladıktan sonra animasyon kontrolü */
.banner-slider.owl-loaded .owl-item {
  transition: opacity 0.8s ease;
}

.banner-slider.owl-loaded .owl-item.active {
  opacity: 1;
}

/* Fade Animasyonları */
.banner-slider .animated {
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

.fadeOut {
  animation-name: fadeOut;
}

.fadeIn {
  animation-name: fadeIn;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.banner-slider .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5) !important;
  color: #fff !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 10;
}

.banner-slider .owl-nav button:hover {
  background: rgba(0, 0, 0, 0.8) !important;
}

.banner-slider .owl-nav .owl-prev {
  left: 10px;
}

.banner-slider .owl-nav .owl-next {
  right: 10px;
}

.banner-slider .owl-dots {
  text-align: center;
  margin-top: 15px;
}

.banner-slider .owl-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ddd;
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.banner-slider .owl-dot.active {
  background: #667eea;
  width: 30px;
  border-radius: 5px;
}

/* Position Stilleri */
.form-builder-banner-top {
  margin-bottom: 30px;
}

.form-builder-banner-bottom {
  margin-top: 30px;
}

.form-builder-banner-left {
  padding-right: 15px;
}

.form-builder-banner-right {
  padding-left: 15px;
}

/* Responsive */ 
@media (max-width: 767px) {
  .form-builder-banner-left,
  .form-builder-banner-right {
    margin-bottom: 20px;
  }
  
  .banner-slider .owl-nav button {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
}

/* ========================================
   SÖZLEŞME ONAY ALANI STİLLERİ
   ======================================== */

/* Agreement field için label'ı gizle */
.form-group:has(.form-agreement-field) > .control-label {
  display: none;
}

.form-agreement-field {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-agreement-field:hover {
  border-color: #56ab2f;
  background: #f0fdf4;
}

.form-agreement-field .agreement-link {
  display: inline-flex;
  align-items: center;
  color: #56ab2f;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.form-agreement-field .agreement-text {
  flex: 1;
  line-height: 1.6;
  color: #333;
  font-size: 14px;
}

.form-agreement-field input[type="checkbox"] {
  width: 24px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}

.form-agreement-field .agreement-link:hover {
  color: #3d7a21;
  text-decoration: underline;
}

.form-agreement-field .agreement-link i {
  margin-right: 5px;
}

/* Responsive - Mobil */
@media (max-width: 767px) {
  .form-agreement-field {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
  }
  
  .form-agreement-field .agreement-link {
    font-size: 14px;
  }
  
  .form-agreement-field .agreement-text {
    font-size: 13px;
  }
  
  .form-agreement-field input[type="checkbox"] {
    width: 20px;
    height: 20px;
  }
}

/* Agreement Modal Stilleri */
.agreement-modal .modal-header {
  background: linear-gradient(135deg, #03A9F4 0%, #00BCD4 100%);
  color: #fff;
  border-radius: 6px 6px 0 0;
  padding: 20px;
}

.agreement-modal .modal-header h4{
  color: #fff;
}

.agreement-modal .modal-header .close {
  color: #fff;
  opacity: 0.8;
  text-shadow: none;
}

.agreement-modal .modal-header .close:hover {
  opacity: 1;
}

.agreement-modal .modal-title {
  font-size: 20px;
  font-weight: 600;
}

/* Agreement Modal Footer */
.agreement-modal .modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #e9ecef;
  background: #f8f9fa;
}

.agreement-modal .modal-footer .btn-agreement-accept,
.agreement-modal .modal-footer .btn-agreement-accept-widget {
  background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
  border: none;
  color: #fff;
  padding: 10px 25px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(86, 171, 47, 0.3);
}

.agreement-modal .modal-footer .btn-agreement-accept:hover,
.agreement-modal .modal-footer .btn-agreement-accept-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(86, 171, 47, 0.4);
}

.agreement-modal .modal-body {
  padding: 30px;
  max-height: 60vh;
  overflow-y: auto;
}

.agreement-modal-body {
  line-height: 1.8;
  color: #333;
}

.agreement-modal-body h1,
.agreement-modal-body h2,
.agreement-modal-body h3 {
  margin-top: 25px;
  margin-bottom: 15px;
  color: #56ab2f;
}

.agreement-modal-body p {
  margin-bottom: 15px;
}

.agreement-modal-body ul,
.agreement-modal-body ol {
  margin-bottom: 15px;
  padding-left: 25px;
}

.agreement-modal-body ul li,
.agreement-modal-body ol li {
  margin-bottom: 8px;
}

.agreement-modal .modal-footer {
  border-top: 1px solid #e5e5e5;
  padding: 15px 30px;
}

/* Responsive Modal */
@media (max-width: 767px) {
  .agreement-modal .modal-body {
    padding: 20px;
    max-height: 50vh;
  }
  
  .agreement-modal-body {
    font-size: 14px;
  }
}
