﻿/* User project overrides */
#teklifModal.ep-teklif-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

#teklifModal.ep-open {
  display: flex;
}

.ep-teklif-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .65);
}

.ep-teklif-dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 16px;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.ep-teklif-head {
  padding: 28px 32px 24px;
  background: var(--pbmit-global-color, #de7436);
}

.ep-step-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.ep-step-dot {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: rgba(255, 255, 255, .35);
}

.ep-step-dot.ep-active {
  background: rgba(255, 255, 255, .9);
}

.ep-step-label {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, .8);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ep-step-title {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.ep-teklif-close {
  position: absolute;
  top: 16px;
  right: 18px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
  line-height: 1;
}

.ep-teklif-close i {
  font-size: 20px;
}

.ep-teklif-form {
  padding: 32px;
}

.ep-option-card {
  display: block;
  margin: 0;
  cursor: pointer;
}

.ep-option-card input {
  display: none;
}

.ep-option-card .ep-card-inner {
  display: block;
  padding: 18px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  color: #444;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  transition: border-color .2s, background .2s;
}

.ep-option-card .ep-card-inner i {
  display: block;
  margin-bottom: 8px;
  color: var(--pbmit-global-color, #de7436);
  font-size: 28px;
}

.ep-option-card input:checked ~ .ep-card-inner,
.ep-option-card.ep-selected .ep-card-inner {
  border-color: var(--pbmit-global-color, #de7436);
  background: #fff9f5;
}

.ep-option-card:hover .ep-card-inner {
  border-color: var(--pbmit-global-color, #de7436);
}

#teklifForm .form-control {
  all: revert;
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  outline: none;
  background: #fff;
  color: #333;
  box-shadow: none;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color .2s;
}

#teklifForm .form-control:focus {
  border-color: #aaa;
  outline: none;
  box-shadow: none;
}

#teklifForm .form-control::placeholder {
  color: #aaa;
}

#teklifForm .form-control.ep-invalid {
  border-color: #dc3545 !important;
}

.ep-error {
  display: none;
  margin: 6px 0 0;
  color: #dc3545;
  font-size: 13px;
}

.ep-error.ep-show {
  display: block;
}


.ep-teklif-contracts {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fafafa;
}

.ep-teklif-contract {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0;
  color: #444;
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
}

.ep-teklif-contract input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: 0 0 16px;
}

.ep-teklif-contract a {
  color: var(--pbmit-global-color, #de7436);
}
.ep-teklif-captcha {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.ep-teklif-captcha-field {
  min-width: 0;
}

.ep-teklif-captcha-image {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 5px 6px;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  background: #fff;
}

.ep-teklif-captcha-image img {
  max-width: 100%;
  max-height: 36px;
}

#teklifForm .ep-field-error {
  margin-top: 6px;
  color: #dc3545;
  font-size: 13px;
  line-height: 1.35;
}

.ep-teklif-refresh {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 3px;
  background: #073b4c;
  color: #fff;
  cursor: pointer;
}

.ep-teklif-refresh:hover {
  background: var(--pbmit-global-color, #de7436);
}

.ep-teklif-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}

.ep-back-btn {
  background: transparent !important;
  color: #555 !important;
  border: 2px solid #bbb !important;
  box-shadow: none !important;
}

.ep-back-btn:hover {
  background: #f5f5f5 !important;
  color: #333 !important;
  border-color: #999 !important;
}

.ep-teklif-toast-wrap {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 999999;
}

.ep-teklif-toast {
  min-width: 300px;
  border-radius: 4px;
  background: #2e7d52;
}

.ep-teklif-toast.ep-toast-error {
  background: #b84242;
}

.ep-teklif-toast .toast-body {
  padding: 14px 18px;
  font-size: 15px;
}

.ep-teklif-toast .toast-body span {
  font-size: 13px;
  opacity: .9;
}

@media (max-width: 575px) {
  #teklifModal .ep-teklif-dialog {
    min-height: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    border-radius: 0;
  }

  #teklifForm {
    flex: 1;
    overflow-y: auto;
  }

  
.ep-teklif-contracts {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fafafa;
}

.ep-teklif-contract {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0;
  color: #444;
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
}

.ep-teklif-contract input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: 0 0 16px;
}

.ep-teklif-contract a {
  color: var(--pbmit-global-color, #de7436);
}
.ep-teklif-captcha {
    grid-template-columns: 1fr;
  }
}



#epCookieConsent.ep-cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 18px 16px;
  background: rgba(9, 18, 30, .9);
  box-shadow: 0 -10px 30px rgba(9, 18, 30, .2);
}

#epCookieConsent.ep-cookie-consent.ep-cookie-consent--expanded {
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 24px 16px;
  background: rgba(9, 18, 30, .94);
  box-shadow: none;
}

.ep-cookie-consent__panel {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.ep-cookie-consent--expanded .ep-cookie-consent__panel {
  width: min(1600px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  align-self: center;
}

.ep-cookie-consent--expanded .ep-cookie-consent__detail {
  max-height: 260px;
  display: flex;
  flex-direction: column;
}

.ep-cookie-consent--expanded .ep-cookie-consent__detail-head {
  position: sticky;
  top: 0;
  z-index: 1;
  box-shadow: 0 1px 0 rgba(17, 28, 45, .08);
}

.ep-cookie-consent--expanded .ep-cookie-consent__detail-body {
  overflow-y: auto;
}

.ep-cookie-consent__content strong {
  display: block;
  margin-bottom: 4px;
  color: #0d2034;
  font-size: 17px;
  line-height: 1.25;
}

.ep-cookie-consent__content p {
  margin: 0;
  color: #526071;
  font-size: 14px;
  line-height: 1.55;
}

.ep-cookie-consent__settings {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 2px;
}

.ep-cookie-consent__settings[hidden] {
  display: none;
}

.ep-cookie-consent__help {
  grid-column: 1 / -1;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f7f9fb;
  color: #526071;
  font-size: 14px;
  line-height: 1.45;
}

.ep-cookie-consent__help a {
  color: var(--pbmit-global-color, #de7436);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ep-cookie-consent__detail {
  border: 1px solid rgba(17, 28, 45, .1);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.ep-cookie-consent__detail {
  border-color: rgba(222, 116, 54, .35);
}

.ep-cookie-consent__detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 12px 14px;
  margin: 0;
  color: #0d2034;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.ep-cookie-consent__detail-head span {
  min-width: 0;
  flex: 1 1 auto;
  align-self: center;
}

.ep-cookie-consent__detail input {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-self: center;
  accent-color: var(--pbmit-global-color, #de7436);
  opacity: 1;
  visibility: visible;
  position: static;
  margin: 0;
  transform: translateY(0);
}

.ep-cookie-consent__detail-body {
  min-height: 0;
  padding-top: 8px;
}

.ep-cookie-consent__detail p {
  margin: 0;
  padding: 0 14px 8px 14px;
  color: #526071;
  font-size: 13px;
  line-height: 1.45;
}

.ep-cookie-consent__detail ul {
  margin: 0;
  padding: 0 14px 12px 30px;
  color: #526071;
  font-size: 13px;
  line-height: 1.45;
}

.ep-cookie-consent__detail li {
  margin: 2px 0;
}

.ep-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.ep-cookie-consent__button,
.ep-cookie-consent__link {
  min-height: 42px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.ep-cookie-consent__button {
  border: 1px solid var(--pbmit-global-color, #de7436);
  background: var(--pbmit-global-color, #de7436);
  color: #fff;
  padding: 0 16px;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.ep-cookie-consent__button--ghost {
  background: #fff;
  color: #0d2034;
  border-color: rgba(17, 28, 45, .18);
}

.ep-cookie-consent__button:hover,
.ep-cookie-consent__button:focus {
  background: #c85f22;
  border-color: #c85f22;
  color: #fff;
}

.ep-cookie-consent__button--ghost:hover,
.ep-cookie-consent__button--ghost:focus {
  background: #f7f9fb;
  border-color: rgba(17, 28, 45, .26);
  color: #0d2034;
}

.ep-cookie-consent__link {
  border: 0;
  background: transparent;
  color: #0d2034;
  padding: 0 6px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ep-cookie-consent--closing {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease;
}

@media (max-width: 991px) {
  .ep-cookie-consent__panel {
    grid-template-columns: 1fr;
  }

  .ep-cookie-consent__actions {
    justify-content: flex-start;
  }

  .ep-cookie-consent__settings {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  #epCookieConsent.ep-cookie-consent {
    padding: 10px;
  }

  #epCookieConsent.ep-cookie-consent.ep-cookie-consent--expanded {
    align-items: stretch;
    padding: 10px;
  }

  .ep-cookie-consent__panel {
    width: 100%;
    padding: 14px;
    gap: 14px;
  }

  .ep-cookie-consent--expanded .ep-cookie-consent__panel {
    max-height: calc(100vh - 20px);
  }

  .ep-cookie-consent--expanded .ep-cookie-consent__detail {
    max-height: 220px;
  }

  .ep-cookie-consent__settings,
  .ep-cookie-consent__actions {
    grid-template-columns: 1fr;
  }

  .ep-cookie-consent__actions {
    display: grid;
  }

  .ep-cookie-consent__button,
  .ep-cookie-consent__link {
    width: 100%;
  }
}
