/* V21.15.41 - Profil ve duyuru tercihleri kesin responsive düzeltme */

/* PROFIL > BILDIRIM TERCIHLERI */
body.page-profile #notification-preferences .ac-preference-list{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  width:100%!important;
  margin:0!important;
}
body.page-profile #notification-preferences .ac-preference-row{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 52px!important;
  align-items:center!important;
  gap:18px!important;
  width:100%!important;
  min-width:0!important;
  min-height:78px!important;
  margin:0!important;
  padding:15px 16px!important;
  border:1px solid #e2e6ec!important;
  border-radius:14px!important;
  background:#fff!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  cursor:pointer!important;
}
body.page-profile #notification-preferences .ac-preference-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:4px!important;
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
body.page-profile #notification-preferences .ac-preference-copy b{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#172033!important;
  font-size:15px!important;
  line-height:1.3!important;
  font-weight:800!important;
  overflow-wrap:anywhere!important;
}
body.page-profile #notification-preferences .ac-preference-copy>span{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#707887!important;
  font-size:13px!important;
  line-height:1.45!important;
  font-weight:500!important;
  overflow-wrap:anywhere!important;
}
body.page-profile #notification-preferences .ac-switch,
body.page-announcement-preferences #announcementPreferences .preference-switch{
  position:relative!important;
  display:block!important;
  width:50px!important;
  height:28px!important;
  min-width:50px!important;
  flex:0 0 50px!important;
  margin:0!important;
  padding:0!important;
  justify-self:end!important;
  align-self:center!important;
  overflow:visible!important;
}
body.page-profile #notification-preferences .ac-switch input,
body.page-announcement-preferences #announcementPreferences .preference-switch input{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  opacity:0!important;
  cursor:pointer!important;
  z-index:2!important;
}
body.page-profile #notification-preferences .ac-switch i,
body.page-announcement-preferences #announcementPreferences .preference-switch i{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:50px!important;
  height:28px!important;
  border-radius:999px!important;
  background:#d8dde5!important;
  box-shadow:inset 0 0 0 1px rgba(23,32,51,.06)!important;
  transition:background .2s ease!important;
  pointer-events:none!important;
}
body.page-profile #notification-preferences .ac-switch i::after,
body.page-announcement-preferences #announcementPreferences .preference-switch i::after{
  content:""!important;
  position:absolute!important;
  top:3px!important;
  left:3px!important;
  width:22px!important;
  height:22px!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 2px 6px rgba(0,0,0,.22)!important;
  transition:transform .2s ease!important;
}
body.page-profile #notification-preferences .ac-switch input:checked+i,
body.page-announcement-preferences #announcementPreferences .preference-switch input:checked+i{
  background:#f56600!important;
}
body.page-profile #notification-preferences .ac-switch input:checked+i::after,
body.page-announcement-preferences #announcementPreferences .preference-switch input:checked+i::after{
  transform:translateX(22px)!important;
}
body.page-profile #notification-preferences .ac-switch input:focus-visible+i,
body.page-announcement-preferences #announcementPreferences .preference-switch input:focus-visible+i{
  outline:3px solid rgba(245,102,0,.22)!important;
  outline-offset:3px!important;
}
body.page-profile #notification-preferences .ac-actions{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:10px!important;
  margin-top:16px!important;
}
body.page-profile #notification-preferences .ac-actions>*{
  width:100%!important;
  min-width:0!important;
  justify-content:center!important;
  box-sizing:border-box!important;
}

/* DUYURU TERCIHLERI */
body.page-announcement-preferences .account-mobile-page{
  width:min(100%,920px)!important;
  margin:0 auto!important;
  padding-bottom:110px!important;
  box-sizing:border-box!important;
}
body.page-announcement-preferences #announcementPreferences{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:14px!important;
  width:100%!important;
  margin:0!important;
  padding:18px 20px 26px!important;
  box-sizing:border-box!important;
}
body.page-announcement-preferences #announcementPreferences .pref-section{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-sizing:border-box!important;
}
body.page-announcement-preferences #announcementPreferences .pref-section>h2{
  display:block!important;
  margin:0 0 8px 2px!important;
  padding:0!important;
  color:#5e6672!important;
  font-size:15px!important;
  line-height:1.3!important;
  font-weight:800!important;
}
body.page-announcement-preferences #announcementPreferences .announcement-pref-row{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 52px!important;
  align-items:center!important;
  gap:18px!important;
  width:100%!important;
  min-width:0!important;
  min-height:78px!important;
  margin:0!important;
  padding:15px 16px!important;
  border:1px solid #e2e6ec!important;
  border-radius:14px!important;
  background:#fff!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  cursor:pointer!important;
}
body.page-announcement-preferences #announcementPreferences .announcement-pref-copy{
  display:block!important;
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
body.page-announcement-preferences #announcementPreferences .announcement-pref-copy p{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  color:#737b87!important;
  font-size:13px!important;
  line-height:1.5!important;
  font-weight:500!important;
  overflow-wrap:anywhere!important;
}
body.page-announcement-preferences #announcementPreferences .pref-save{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:52px!important;
  margin:4px 0 0!important;
  border:0!important;
  border-radius:14px!important;
  background:#ff6500!important;
  color:#fff!important;
  font-size:16px!important;
  font-weight:800!important;
  box-sizing:border-box!important;
}

@media (max-width:768px){
  body.page-profile #notification-preferences .ac-preference-row,
  body.page-announcement-preferences #announcementPreferences .announcement-pref-row{
    grid-template-columns:minmax(0,1fr) 48px!important;
    gap:12px!important;
    min-height:72px!important;
    padding:13px 14px!important;
    border-radius:12px!important;
  }
  body.page-profile #notification-preferences .ac-preference-copy b{font-size:14px!important}
  body.page-profile #notification-preferences .ac-preference-copy>span,
  body.page-announcement-preferences #announcementPreferences .announcement-pref-copy p{
    font-size:12.5px!important;
    line-height:1.45!important;
  }
  body.page-profile #notification-preferences .ac-switch,
  body.page-announcement-preferences #announcementPreferences .preference-switch{
    width:46px!important;
    min-width:46px!important;
    height:26px!important;
    flex-basis:46px!important;
  }
  body.page-profile #notification-preferences .ac-switch i,
  body.page-announcement-preferences #announcementPreferences .preference-switch i{
    width:46px!important;
    height:26px!important;
  }
  body.page-profile #notification-preferences .ac-switch i::after,
  body.page-announcement-preferences #announcementPreferences .preference-switch i::after{
    width:20px!important;
    height:20px!important;
  }
  body.page-profile #notification-preferences .ac-switch input:checked+i::after,
  body.page-announcement-preferences #announcementPreferences .preference-switch input:checked+i::after{
    transform:translateX(20px)!important;
  }
  body.page-profile #notification-preferences .ac-actions{
    grid-template-columns:1fr!important;
  }
  body.page-announcement-preferences #announcementPreferences{
    gap:12px!important;
    padding:16px 14px 118px!important;
  }
  body.page-announcement-preferences #announcementPreferences .pref-save{
    position:fixed!important;
    left:16px!important;
    right:16px!important;
    bottom:94px!important;
    width:auto!important;
    z-index:60!important;
    box-shadow:0 8px 22px rgba(0,0,0,.16)!important;
  }
}

@media (max-width:360px){
  body.page-profile #notification-preferences .ac-preference-row,
  body.page-announcement-preferences #announcementPreferences .announcement-pref-row{
    grid-template-columns:minmax(0,1fr) 44px!important;
    padding:12px!important;
    gap:10px!important;
  }
  body.page-profile #notification-preferences .ac-switch,
  body.page-announcement-preferences #announcementPreferences .preference-switch{
    width:42px!important;
    min-width:42px!important;
    height:24px!important;
    flex-basis:42px!important;
  }
  body.page-profile #notification-preferences .ac-switch i,
  body.page-announcement-preferences #announcementPreferences .preference-switch i{
    width:42px!important;
    height:24px!important;
  }
  body.page-profile #notification-preferences .ac-switch i::after,
  body.page-announcement-preferences #announcementPreferences .preference-switch i::after{
    width:18px!important;
    height:18px!important;
  }
  body.page-profile #notification-preferences .ac-switch input:checked+i::after,
  body.page-announcement-preferences #announcementPreferences .preference-switch input:checked+i::after{
    transform:translateX(18px)!important;
  }
}
