:root{
  --hd-red: #ea2b12;
  --hd-red-dark: #c71d0d;
  --hd-orange: #ff6a00;
  --hd-orange-soft: #fff1e8;
  --hd-navy: #16234f;
  --hd-navy-2: #0f1838;
  --hd-text: #101828;
  --hd-muted: #667085;
  --hd-border: #d9dee7;
  --hd-bg: #f4f6fb;
  --hd-card: #ffffff;
  --hd-white: #ffffff;
  --hd-success-bg: #ecfdf3;
  --hd-success-border: #abefc6;
  --hd-success-text: #067647;
  --hd-error-bg: #fef3f2;
  --hd-error-border: #fecdca;
  --hd-error-text: #b42318;
  --hd-warning-bg: #fffaeb;
  --hd-warning-border: #fedf89;
  --hd-warning-text: #b54708;
  --hd-info-bg: #eff8ff;
  --hd-info-border: #b2ddff;
  --hd-info-text: #175cd3;

  --hd-radius-xs: 5px;
  --hd-radius-sm: 7px;
  --hd-radius-md: 10px;

  --hd-shadow-sm: 0 6px 18px rgba(16, 24, 40, 0.06);
  --hd-shadow-md: 0 12px 28px rgba(16, 24, 40, 0.08);

  --hd-font: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*{
  box-sizing: border-box;
}

html, body{
  margin: 0;
  padding: 0;
  font-family: var(--hd-font);
  background: var(--hd-bg);
  color: var(--hd-text);
}

body.hd-body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a{
  text-decoration: none;
  color: inherit;
}

img{
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea{
  font-family: var(--hd-font);
}

.hd-container{
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* HEADER */
.hd-header{
  background: var(--hd-white);
  border-bottom: 1px solid rgba(22, 35, 79, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.hd-header-inner{
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hd-brand{
  display: inline-flex;
  align-items: center;
}

.hd-logo{
  height: 64px;
  width: auto;
  object-fit: contain;
}

.hd-header-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.hd-login-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--hd-radius-sm);
  border: 1px solid rgba(234, 43, 18, 0.18);
  background: linear-gradient(135deg, var(--hd-red), var(--hd-orange));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: 0 8px 18px rgba(234, 43, 18, 0.18);
  transition: .20s ease;
}

.hd-login-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(234, 43, 18, 0.24);
}

/* MAIN */
.hd-main{
  flex: 1;
  padding-top:0 !important;
}

.hd-brand{
  display:flex;
  align-items:center;
  gap:8px;
}

.hd-brand{
  display:flex;
  align-items:center;
  text-decoration:none;
}

.hd-brand{
  display:flex;
  align-items:center;     /* dikey ortalama */
  justify-content:center; /* yatay ortalama */
  gap:10px;
  text-decoration:none;
}

.hd-logo{
  height:70px;   /* logo büyüklüğü */
  width:auto;
}

.hd-brand-logo{
  font-family:"Montserrat", sans-serif;
  font-size:26px; /* yazı büyüklüğü */
  font-weight:800;
  font-style: italic;
  letter-spacing:.3px;
  line-height:1;
}

.hd-brand-halle{
  color:var(--hdd-navy);
}

.hd-brand-de{
  color:#ff6a00;
}
/* FLASH */
.hd-flash-wrap{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.hd-flash{
  width: 100%;
  border: 1px solid;
  border-radius: var(--hd-radius-sm);
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--hd-shadow-sm);
}

.hd-flash-success{
  background: var(--hd-success-bg);
  border-color: var(--hd-success-border);
  color: var(--hd-success-text);
}

.hd-flash-error,
.hd-flash-danger{
  background: var(--hd-error-bg);
  border-color: var(--hd-error-border);
  color: var(--hd-error-text);
}

.hd-flash-warning{
  background: var(--hd-warning-bg);
  border-color: var(--hd-warning-border);
  color: var(--hd-warning-text);
}

.hd-flash-info{
  background: var(--hd-info-bg);
  border-color: var(--hd-info-border);
  color: var(--hd-info-text);
}

/* FOOTER */
.hd-footer{
  margin-top: 48px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.98)),
    linear-gradient(135deg, rgba(255,106,0,0.06), rgba(22,35,79,0.05));
  border-top: 1px solid rgba(22, 35, 79, 0.08);
}

.hd-footer-inner{
  padding: 34px 0 20px;
}

.hd-footer-top{
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.hd-footer-col{
  background: #fff;
  border: 1px solid rgba(22, 35, 79, 0.08);
  border-radius: var(--hd-radius-md);
  padding: 18px;
  box-shadow: var(--hd-shadow-sm);
  min-height: 100%;
}

.hd-footer-brand-col{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:12px;
}

.hd-footer-logo{
  width: 220px;
  max-width: 100%;
  height: auto;
}

.hd-footer-brand-text{
  font-size: 14px;
  line-height: 1.7;
  color: var(--hd-muted);
  font-weight: 500;
}

.hd-footer-title{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--hd-navy);
  font-size: 16px;
  font-weight: 800;
}

.hd-footer-title i{
  color: var(--hd-red);
}

.hd-footer-links{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hd-footer-link{
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(22, 35, 79, 0.08);
  border-radius: var(--hd-radius-sm);
  background: #fbfcfe;
  font-size: 14px;
  font-weight: 600;
  color: var(--hd-text);
  transition: .18s ease;
}

.hd-footer-link i{
  color: var(--hd-red);
  width: 16px;
  text-align: center;
}

.hd-footer-link:hover{
  border-color: rgba(234, 43, 18, 0.22);
  background: #fff7f2;
  color: var(--hd-red-dark);
}

.hd-footer-mid{
  margin-top: 20px;
  background: #fff;
  border: 1px solid rgba(22, 35, 79, 0.08);
  border-radius: var(--hd-radius-md);
  padding: 18px;
  box-shadow: var(--hd-shadow-sm);
}

.hd-footer-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hd-footer-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(234, 43, 18, 0.14);
  background: linear-gradient(135deg, rgba(255,106,0,0.08), rgba(234,43,18,0.08));
  color: var(--hd-navy);
  font-size: 13px;
  font-weight: 700;
}

.hd-footer-pill i{
  color: var(--hd-red);
}

.hd-footer-note{
  margin-top: 14px;
  color: var(--hd-muted);
  line-height: 1.7;
  font-size: 13px;
  font-weight: 500;
}

.hd-footer-bottom{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(22, 35, 79, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.hd-footer-copy{
  color: var(--hd-navy);
  font-size: 13px;
  font-weight: 700;
}

.hd-footer-mini-links{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hd-footer-mini-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(22, 35, 79, 0.08);
  border-radius: var(--hd-radius-xs);
  background: #fff;
  color: var(--hd-text);
  font-size: 13px;
  font-weight: 700;
  transition: .18s ease;
}

.hd-footer-mini-link:hover{
  color: var(--hd-red-dark);
  border-color: rgba(234, 43, 18, 0.2);
  background: #fff8f4;
}

/* GENEL KART YAPILARI */
.hd-card{
  background: #fff;
  border: 1px solid rgba(22, 35, 79, 0.08);
  border-radius: var(--hd-radius-md);
  box-shadow: var(--hd-shadow-sm);
}

.hd-section{
  padding: 28px 0;
}

.hd-section-title{
  margin: 0 0 10px;
  color: var(--hd-navy);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.2px;
}

.hd-section-subtitle{
  margin: 0;
  color: var(--hd-muted);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}

/* FORM ELEMANLARI */
.hd-label{
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--hd-navy);
}

.hd-input,
.hd-select,
.hd-textarea{
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(22, 35, 79, 0.14);
  border-radius: var(--hd-radius-sm);
  background: #fff;
  color: var(--hd-text);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: .18s ease;
}

.hd-textarea{
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.hd-input:focus,
.hd-select:focus,
.hd-textarea:focus{
  border-color: rgba(234, 43, 18, 0.36);
  box-shadow: 0 0 0 4px rgba(234, 43, 18, 0.08);
}

/* BUTTONLAR */
.hd-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--hd-radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: .18s ease;
}

.hd-btn-primary{
  background: linear-gradient(135deg, var(--hd-red), var(--hd-orange));
  color: #fff;
  box-shadow: 0 8px 16px rgba(234, 43, 18, 0.18);
}

.hd-btn-primary:hover{
  transform: translateY(-1px);
}

.hd-btn-secondary{
  background: #fff;
  color: var(--hd-navy);
  border-color: rgba(22, 35, 79, 0.12);
}

.hd-btn-secondary:hover{
  border-color: rgba(234, 43, 18, 0.22);
  color: var(--hd-red-dark);
}

/* RESPONSIVE */
@media (max-width: 992px){
  .hd-footer-top{
    grid-template-columns: 1fr;
  }

  .hd-footer-logo{
    width: 190px;
  }
}

@media (max-width: 768px){
  .hd-container{
    width: min(100% - 24px, 1180px);
  }

  .hd-header-inner{
    min-height: 74px;
  }

  .hd-logo{
    height: 52px;
  }

  .hd-login-btn{
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hd-section-title{
    font-size: 23px;
  }

  .hd-footer-inner{
    padding: 28px 0 18px;
  }

  .hd-footer-col,
  .hd-footer-mid{
    padding: 16px;
  }

  .hd-footer-bottom{
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px){
  .hd-header-inner{
    gap: 10px;
  }

  .hd-logo{
    height: 46px;
  }

  .hd-login-btn{
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
    gap: 7px;
  }

  .hd-footer-link{
    min-height: 40px;
    font-size: 13px;
  }

  .hd-footer-pill{
    width: 100%;
    justify-content: center;
    border-radius: var(--hd-radius-sm);
  }
}

.hd-modal-open{
  overflow: hidden;
}

.hd-modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 40, 0.56);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 3000;
}

.hd-modal-backdrop.show{
  display: flex;
}

.hd-modal-card{
  width: 100%;
  max-width: 620px;
  background: #fff;
  border: 1px solid rgba(22, 35, 79, 0.10);
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}

.hd-login-modal{
  max-width: 520px;
}

.hd-modal-close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(22, 35, 79, 0.10);
  border-radius: 8px;
  background: #fff;
  color: #16234f;
  cursor: pointer;
  z-index: 5;
}

.hd-modal-head{
  padding: 26px 26px 10px;
}

.hd-modal-badge{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.10);
  color: #c71d0d;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.hd-modal-title{
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #16234f;
}

.hd-modal-subtitle{
  margin: 8px 0 0;
  font-size: 14px;
  color: #667085;
  line-height: 1.7;
  font-weight: 500;
}

.hd-step-dots{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 26px 8px;
}

.hd-step-dot{
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #d0d5dd;
  transition: .2s ease;
}

.hd-step-dot.active{
  width: 30px;
  background: linear-gradient(135deg, #ea2b12, #ff6a00);
}

.hd-step-page{
  display: none;
  padding: 18px 26px 10px;
}

.hd-step-page.active{
  display: block;
}

.hd-step-intro{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid rgba(22, 35, 79, 0.08);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #fbfcff);
}

.hd-step-icon{
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(234,43,18,.10), rgba(255,106,0,.10));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ea2b12;
  font-size: 18px;
  flex-shrink: 0;
}

.hd-step-title{
  font-size: 17px;
  font-weight: 800;
  color: #16234f;
  margin-bottom: 4px;
}

.hd-step-text{
  font-size: 13px;
  color: #667085;
  line-height: 1.7;
  font-weight: 500;
}

.hd-form-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.hd-field-full{
  grid-column: 1 / -1;
}

.hd-phone-grid{
  grid-template-columns: 140px 1fr;
}

.hd-inline-action{
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
}

.hd-inline-action-stack{
  gap: 10px;
  flex-wrap: wrap;
}

.hd-inline-message{
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.hd-inline-message.show{
  display: block;
}

.hd-inline-message.error{
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
}

.hd-inline-message.success{
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #067647;
}

.hd-otp-area{
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(22,35,79,.14);
}

.hd-otp-wrap{
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}

.hd-otp-input{
  width: 56px;
  height: 60px;
  border: 3px solid rgba(22,35,79,.84);
  border-radius: 10px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: #16234f;
  outline: none;
}

.hd-otp-input:focus{
  border-color: rgba(234,43,18,.35);
  box-shadow: 0 0 0 4px rgba(234,43,18,.08);
}

.hd-modal-actions{
  padding: 18px 26px 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(22, 35, 79, 0.08);
  margin-top: 8px;
}

@media (max-width: 640px){
  .hd-modal-card{
    max-height: calc(100vh - 20px);
    overflow-y: auto;
  }

  .hd-modal-head,
  .hd-step-page,
  .hd-modal-actions,
  .hd-step-dots{
    padding-left: 18px;
    padding-right: 18px;
  }

  .hd-form-grid,
  .hd-phone-grid{
    grid-template-columns: 1fr;
  }

  .hd-otp-wrap{
    gap: 8px;
  }

  .hd-otp-input{
    width: 48px;
    height: 54px;
    font-size: 22px;
  }

  .hd-modal-actions{
    flex-direction: column;
  }

  .hd-modal-actions .hd-btn{
    width: 100%;
  }
}

.hdd-menu-link--with-badge,
.hdd-top-dropdown-link--with-badge{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.hdd-side-link-main,
.hdd-top-link-main{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.hdd-notify-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:22px;
  padding:0 7px;
  border-radius:999px;
  background:#ff6a00;
  color:#fff;
  font-size:11px;
  font-weight:800;
  line-height:1;
  box-shadow:0 8px 18px rgba(255,106,0,.24);
  animation:hddBadgePulse 1.2s ease-in-out infinite;
  white-space:nowrap;
  flex-shrink:0;
}

.hdd-notify-badge--menu{
  margin-left:2px;
  margin-right:2px;
  min-width:20px;
  height:20px;
  font-size:10px;
}

@keyframes hddBadgePulse{
  0%{
    transform:scale(1);
    box-shadow:0 0 0 0 rgba(255,106,0,.35);
  }
  50%{
    transform:scale(1.08);
    box-shadow:0 0 0 8px rgba(255,106,0,0);
  }
  100%{
    transform:scale(1);
    box-shadow:0 0 0 0 rgba(255,106,0,0);
  }
}