html {
  height: 100%;
  height: 100dvh;
  height: var(--app-h, 100dvh);
}

body {
  font-family: 'Inter', sans-serif;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  background-color: #e2e8f0;
  height: 100%;
  height: 100dvh;
  height: var(--app-h, 100dvh);
  overflow: hidden;
}

.app-ekran {
  position: relative;
  width: 100%;
  height: var(--app-h, 100dvh);
  min-height: var(--app-h, 100dvh);
  max-height: var(--app-h, 100dvh);
  max-width: 100%;
}

html.fiberix-uygulama .app-ekran,
body.fiberix-uygulama .app-ekran {
  max-width: 100%;
  box-shadow: none;
}

@media (min-width: 1024px) {
  html:not(.fiberix-uygulama) body {
    user-select: text;
    background-color: #f1f5f9;
  }

  html:not(.fiberix-uygulama) .app-ekran {
    max-width: none;
    width: 100%;
    box-shadow: none;
  }

  html:not(.fiberix-uygulama) .telefon-ara {
    pointer-events: none;
    cursor: default;
    box-shadow: none;
  }
  html:not(.fiberix-uygulama) .telefon-ara:hover {
    background: #e50012;
  }
  html:not(.fiberix-uygulama) .telefon-ara:active {
    transform: none;
  }
  html:not(.fiberix-uygulama) .telefon-yan-btn {
    display: none;
  }

  html:not(.fiberix-uygulama) #app-header {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  html:not(.fiberix-uygulama) #bottom-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    z-index: 30;
    width: 15rem;
    height: auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.35rem;
    padding: calc(4rem + 1.25rem) 0.85rem 1.25rem;
    border-top: 0;
    border-right: 1px solid #e2e8f0;
    box-shadow: none;
    background: #fff;
  }

  html:not(.fiberix-uygulama) #bottom-nav > [onclick] {
    flex-direction: row !important;
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.7rem 0.85rem;
    border-radius: 0.85rem;
  }

  html:not(.fiberix-uygulama) #bottom-nav > [onclick]:hover {
    background: #f1f5f9;
  }

  html:not(.fiberix-uygulama) #bottom-nav svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  html:not(.fiberix-uygulama) #bottom-nav > [onclick] > span {
    font-size: 0.8125rem;
    font-weight: 700;
  }

  html:not(.fiberix-uygulama) #main-scroll-container {
    margin-left: 15rem;
    padding-bottom: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
  }

  html:not(.fiberix-uygulama) #main-scroll-container::-webkit-scrollbar {
    display: block;
    width: 8px;
    height: 8px;
  }

  html:not(.fiberix-uygulama) #main-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
  }

  html:not(.fiberix-uygulama) #main-scroll-container > div {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  html:not(.fiberix-uygulama) #cekmece {
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }

  html:not(.fiberix-uygulama) #cekmece-panel {
    width: min(36rem, 100%);
    max-width: 36rem;
    max-height: 85vh;
    border-radius: 1.5rem;
    padding-bottom: 1.25rem;
  }

  html:not(.fiberix-uygulama) body.giris-govde {
    background: #001b5e;
  }

  html:not(.fiberix-uygulama) body.giris-govde .app-ekran {
    max-width: none;
    background: transparent;
    box-shadow: none;
  }

  html:not(.fiberix-uygulama) #login-page {
    justify-content: flex-start;
    align-items: center;
    padding-top: 1.5rem;
  }

  html:not(.fiberix-uygulama) #login-page.giris-sayfa {
    justify-content: flex-start;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

.modem-arayuz-btn {
  display: none;
}

html.fiberix-uygulama .modem-arayuz-btn,
body.fiberix-uygulama .modem-arayuz-btn {
  display: flex;
}

#bottom-nav {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(3rem + env(safe-area-inset-bottom, 0px));
  padding-left: 3rem;
  padding-right: 3rem;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255, 255, 255, 0.96);
}

html.fiberix-uygulama #bottom-nav {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(255, 255, 255, 0.96);
}

#cekmece {
  position: absolute;
  inset: 0;
  padding-bottom: 0;
  box-sizing: border-box;
  overflow: hidden;
}

html.giris-cekmece-acik #cekmece {
  position: fixed;
  z-index: 60;
}

html.giris-cekmece-acik #cekmece-panel.cekmece-klavye {
  padding-bottom: 0.75rem;
}

html.giris-cekmece-acik #login-page {
  overflow: hidden !important;
  overscroll-behavior: none;
}

@media (pointer: coarse) {
  #cekmece-icerik input,
  #cekmece-icerik textarea,
  #cekmece-icerik select {
    font-size: 16px !important;
    line-height: 1.35;
  }
}

#cekmece-panel {
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding-bottom: calc(0.75rem + var(--nav-alt, env(safe-area-inset-bottom, 0px)));
  box-sizing: border-box;
}

#cekmece-icerik {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#cekmece-panel.smooth-transition {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#cekmece-panel.cekmece-tam {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#cekmece-panel.cekmece-tam #cekmece-icerik {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
}

.hiz-testi-cerceve {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 0.75rem;
  background: #fff;
}

#main-scroll-container {
  padding-bottom: calc(3.75rem + env(safe-area-inset-bottom, 0px));
}

html, body, * {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.smooth-transition {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cekmece-surukleniyor,
#cekmece-panel.cekmece-surukleniyor {
  transition: none !important;
}

#duyuru-alani-track,
#package-track,
#ariza-track,
#cekmece-panel {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

#duyuru-alani img {
  -webkit-user-drag: none;
  user-select: none;
}

@media (min-width: 1024px) {
  html:not(.fiberix-uygulama) #duyuru-alani .duyuru-slayt img {
    min-height: 250px;
  }
}

.pulse-custom {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.1); }
}

#yukle-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  overflow: hidden;
  pointer-events: none;
}

#yukle-bar-ic {
  width: 100%;
  height: 100%;
  background-color: #e50012;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  opacity: 1;
}

#sss-liste .sss-icerik,
#yardim-video-liste .sss-icerik {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transform: translateY(-10px);
}

#sss-liste .sss-icerik-ic,
#yardim-video-liste .sss-icerik-ic {
  padding-bottom: 2px;
}

#sss-liste .sss-baslik,
#yardim-video-liste .sss-baslik {
  transition: color 0.35s ease;
}

#sss-liste .sss-ok,
#yardim-video-liste .sss-ok {
  display: inline-flex;
  transition: transform 0.4s ease;
}

#sss-liste .sss-madde.acik .sss-baslik,
#yardim-video-liste .sss-madde.acik .sss-baslik {
  color: #e50012;
}

#sss-liste .sss-madde.acik .sss-ok,
#yardim-video-liste .sss-madde.acik .sss-ok {
  transform: rotate(180deg);
}

.ariza-sekme {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0.65rem 0.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.875rem;
  background: #f8fafc;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.25;
  color: #94a3b8;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.ariza-sekme:active {
  transform: scale(0.98);
}

.ariza-sekme-mobil.aktif {
  background: #fff;
  border-color: #001b5e;
  color: #001b5e;
  box-shadow: 0 4px 14px rgba(0, 27, 94, 0.14);
}

.ariza-sekme-crm.aktif {
  background: #fff;
  border-color: #e50012;
  color: #001b5e;
  box-shadow: 0 4px 14px rgba(229, 0, 18, 0.14);
}

.yardim-sekme {
  display: block;
  width: 100%;
  min-height: 88px;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 1rem;
  background: #f8fafc;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.yardim-sekme:active {
  transform: scale(0.98);
}

.yardim-sekme .yardim-sekme-baslik {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.25;
  color: #94a3b8;
  transition: color 0.25s ease;
}

.yardim-sekme .yardim-sekme-ikon {
  display: inline-flex;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 0.75rem;
  background: #e2e8f0;
  color: #94a3b8;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.yardim-sekme-sss.aktif {
  background: #fff;
  border-color: #001b5e;
  box-shadow: 0 4px 14px rgba(0, 27, 94, 0.14);
}

.yardim-sekme-sss.aktif .yardim-sekme-baslik {
  color: #001b5e;
}

.yardim-sekme-sss.aktif .yardim-sekme-ikon-sss {
  background: #eef2ff;
  color: #4f46e5;
}

.yardim-sekme-video.aktif {
  background: #fff;
  border-color: #e50012;
  box-shadow: 0 4px 14px rgba(229, 0, 18, 0.14);
}

.yardim-sekme-video.aktif .yardim-sekme-baslik {
  color: #001b5e;
}

.yardim-sekme-video.aktif .yardim-sekme-ikon-video {
  background: #fef2f2;
  color: #e50012;
}

.yardim-video-cerceve {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #000;
}

.yardim-video-cerceve iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

html.fiberix-uygulama,
html.fiberix-uygulama body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

html.fiberix-uygulama body {
  display: block;
  justify-content: stretch;
}

html.giris-html,
html.giris-html body,
html.giris-html .app-ekran {
  background: #001b5e;
  background-color: #001b5e;
}

html.fiberix-uygulama .app-ekran,
html.fiberix-uygulama #login-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-shadow: none;
}

#login-page.giris-sayfa {
  justify-content: flex-start;
  min-height: 0;
  overflow: hidden;
}

#login-page.giris-sayfa .giris-icerik {
  margin-top: auto;
  margin-bottom: auto;
  flex: 0 0 auto;
  will-change: transform;
}

.giris-hizli {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 1rem;
  column-gap: 0.5rem;
  justify-items: center;
}

@media (min-width: 400px) {
  .giris-hizli {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
  }
}
