* {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
}

body {
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

.header-orange {
  background: linear-gradient(135deg, #ff873c 0%, #fd6b10 100%);
  padding-top: 50px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;

  box-shadow: inset 0 0 6px #6a6a6a;
}

.header-orange::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("pattern.png");
  background-repeat: repeat;
  opacity: 0.6;
  pointer-events: none;
}

.header-orange .container {
  position: relative;
  z-index: 1;
}

.form-container {
  margin-top: -26px;
  margin-bottom: 40px;
}

.form-card {
  background-color: white;
  border-radius: 0.375rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  padding: 2.8rem;
  color: #26386a;
}

@media (min-width: 768px) {
  .form-card {
    padding: 3.6rem;
  }
}

@media (max-width: 920px) {
  .form-card {
    padding: 1.8rem !important;
  }
  .sd-m-g {
    display: inline-block !important;
    visibility: visible !important;
  }
  .sd-d-g {
    display: none !important;
    visibility: none !important;
  }
}

.sd-m-g {
  display: none;
  visibility: none;
}
.sd-d-g {
  display: inline-block;
  visibility: visible;
}

.section-title {
  color: #26386a;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #dee2e6;
  letter-spacing: -0.5px;
  color: #fc6c15;
  font-size: 22px;
}

label {
  color: #26386a;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border-color: #ced4e7;
  color: #616f97;
  height: calc(2.5rem + 4px);
  padding-top: calc(0.375rem + 2px);
  padding-bottom: calc(0.375rem + 2px);
}

textarea.form-control {
  height: auto !important;
  min-height: calc(5rem + 4px);
}

.form-control:focus,
.form-select:focus {
  border-color: #ff8c00;
  box-shadow: 0 0 0 0.25rem rgba(255, 140, 0, 0.25);
}

.btn-submit {
  background-color: #ff8c00;
  border-color: #ff8c00;
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
}

.btn-submit:hover {
  background-color: #e67e00;
  border-color: #e67e00;
  color: white;
}

.kvkk-link {
  color: #ff8c00;
  text-decoration: none;
}

.kvkk-link:hover {
  text-decoration: underline;
}

.form-check-input:checked {
  background-color: #ff8c00;
  border-color: #ff8c00;
}

.form-check-label {
  color: #26386a;
}

.logo-img {
  max-width: 248px;
  height: auto;
}

.modal-content {
  border-radius: 1.5rem;
}

.modal-header {
  background-color: #ff8c00;
  color: white;
  border-top-left-radius: 1.3rem;
  border-top-right-radius: 1.3rem;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
}

/* Placeholder opacity %50 */
::placeholder {
  opacity: 0.5 !important;
}

::-webkit-input-placeholder {
  opacity: 0.5 !important;
}

::-moz-placeholder {
  opacity: 0.5 !important;
}

:-ms-input-placeholder {
  opacity: 0.5 !important;
}

:-moz-placeholder {
  opacity: 0.5 !important;
}

.mb-3 {
  margin-bottom: 1.3rem !important;
}
.form-label {
  letter-spacing: -0.4px !important;
}

#loadingModal .modal-content {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-radius: 1.5rem !important;
  border: 1px solid rgba(255, 140, 0, 0.2) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
  padding: 20px;
}

.spinner-container {
  background: #ff8c00;
  border-radius: 50%;
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.spinner-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-radius: 50%;
  animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.spinner-ring:nth-child(1) {
  border-top-color: #ffead1;
  animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
  border-right-color: #ffcaaa;
  animation-delay: 0.3s;
}

.spinner-ring:nth-child(3) {
  border-bottom-color: #ffe5d5;
  animation-delay: 0.6s;
}

.spinner-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

.loading-text {
  color: #26386a;
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0;
}

.loading-subtext {
  color: #616f97;
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.8;
}


#loadingModal.show {
  background-color: rgba(38, 56, 106, 0.3);
}

.dropdown-wrapper {
    position: relative;
    width: 100%;
}

.custom-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    z-index: 1050;
    display: none; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 2px; 
    padding: 0;
    list-style: none;
}

.custom-dropdown-list.show {
    display: block;
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.25rem rgba(255, 140, 0, 0.25);
    border-top: none; 
}

.dropdown-item {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #26386a;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover, .dropdown-item.active {
    background-color: #f8f9fa;
    color: #ff8c00;
}

.custom-dropdown-list::-webkit-scrollbar {
    width: 6px;
}
.custom-dropdown-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.custom-dropdown-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}
.custom-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}
