:root {
  --primary-color: #FBAD18 ;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #343a40;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

.form-container {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.form-control,
.form-select {
  border: 1px solid #ced4da;
  border-radius: var(--border-radius);
  padding: 0.5rem 0.75rem;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.input-group-text {
  background-color: var(--light-gray);
  border: 1px solid #ced4da;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.input-group-text img {
  margin-right: 5px;
}

 .onay-alani-okf-1 {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 15px;
      margin-bottom: 20px;
    }

    .onay-alani-okf-1 input[type="checkbox"] {
      accent-color: #0d6efd;
      transform: scale(1.2);
      cursor: pointer;
    }

    .btn-okf-1 {
      padding: 12px 24px;
      background-color: #0d6efd;
      color: #fff;
      font-size: 16px;
      font-weight: 600;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .btn-okf-1:hover {
      background-color: #0b5ed7;
    }


.radio-group {
  margin-top: 0.5rem;
}

.section-title {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.btn {
  border-radius: var(--border-radius);
  padding: 0.5rem 1rem;
  transition: var(--transition);
}

.btn-dark {
  background-color: var(--dark-gray);
  border-color: var(--dark-gray);
}

.btn-dark:hover {
  background-color: #23272b;
  border-color: #1d2124;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #2980b9;
  border-color: #2980b9;
}

.file-upload {
  display: block;
  position: relative;
  width: 100%;
}

.file-select {
  display: flex;
  border: 1px solid #ced4da;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.file-select-button {
  background-color: var(--light-gray);
  padding: 0.5rem 1rem;
  color: var(--dark-gray);
  border-right: 1px solid #ced4da;
}

.file-select-name {
  padding: 0.5rem 1rem;
  color: #6c757d;
  flex-grow: 1;
}

.file-upload input[type=file] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-image {
  border: 1px solid #ced4da;
  border-radius: var(--border-radius);
}

.refresh-btn {
  padding: 0.25rem 0.5rem;
}

@media (max-width: 768px) {
  .form-container {
    padding: 1rem;
  }

  .row {
    margin-bottom: 1rem !important;
  }

  .col-md-4,
  .col-md-6 {
    margin-bottom: 1rem;
  }
}

/* Remove button styles */
.remove-form-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 25px;
    height: 25px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 1;
}

.remove-form-btn:hover {
    background-color: #c82333;
    transform: scale(1.1);
}

.form-row-container {
    position: relative;
    margin-bottom: 1rem;
}

/* Privacy Policy Modal Styles */
.privacy-content {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.privacy-content h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.5rem;
    text-align: center;
}

.privacy-content h5 {
    color: var(--secondary-color);
    margin: 25px 0 15px;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

.privacy-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #444;
}

.privacy-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.privacy-content ul li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #444;
}

.modal-content {
    border-radius: var(--border-radius);
    border: none;
    max-width: 800px;
    margin: 0 auto;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    padding: 15px 20px;
}

.modal-header .modal-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-header .btn-close {
    color: white;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 0;
}

.modal-footer {
    border-top: 1px solid var(--medium-gray);
    padding: 15px 20px;
    background-color: #f8f9fa;
}

.modal-footer .btn {
    padding: 8px 25px;
    font-weight: 500;
    border-radius: 5px;
}

.modal-footer .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.modal-footer .btn-primary:hover {
    background-color: #e69c17;
    border-color: #e69c17;
}

.modal-footer .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.modal-footer .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* Scrollbar Styles */
.privacy-content::-webkit-scrollbar {
    width: 8px;
}

.privacy-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.privacy-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.privacy-content::-webkit-scrollbar-thumb:hover {
    background: #e69c17;
}

/* Checkbox Styles */
.onay-kutusu-okf-1 {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.onay-kutusu-okf-1 label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--secondary-color);
}

.onay-kutusu-okf-1 input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.onay-kutusu-okf-1 .btn-okf-1 {
    align-self: flex-start;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.onay-kutusu-okf-1 .btn-okf-1:hover {
    background-color: #e69c17;
}

.onay-kutusu-okf-1 .btn-okf-1:disabled {
    background-color: var(--medium-gray);
    cursor: not-allowed;
}

.alert {
            padding: 15px;
            margin-bottom: 20px;
            border: 1px solid transparent;
            border-radius: 4px;
        }

        .alert-success {
            color: #3c763d;
            background-color: #dff0d8;
            border-color: #d6e9c6;
        }

        .alert-danger {
            color: #a94442;
            background-color: #f2dede;
            border-color: #ebccd1;
        }

        .text-danger {
            color: #dc3545;
            font-size: 0.875rem;
            margin-top: 5px;
            display: block;
        }