/* SEIZOCAREER v2.3.13 - TOC toggle restored and cleaned */

/* title row */
body.single #ez-toc-container .ez-toc-title-container,
body.single .ez-toc-container .ez-toc-title-container{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  padding-right:0 !important;
}

/* parent wrapper: no extra box */
body.single #ez-toc-container .ez-toc-title-toggle,
body.single .ez-toc-container .ez-toc-title-toggle{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 0 0 auto !important;
  padding:0 !important;
  border:0 !important;
  outline:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

/* actual clickable toggle: one clean square */
body.single #ez-toc-container .ez-toc-title-toggle > a.ez-toc-toggle,
body.single .ez-toc-container .ez-toc-title-toggle > a.ez-toc-toggle,
body.single #ez-toc-container .ez-toc-title-toggle > .ez-toc-btn,
body.single .ez-toc-container .ez-toc-title-toggle > .ez-toc-btn{
  box-sizing:border-box !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:34px !important;
  min-width:34px !important;
  height:34px !important;
  min-height:34px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #C9D7E1 !important;
  border-radius:8px !important;
  outline:0 !important;
  background:#FFFFFF !important;
  color:#2E6F95 !important;
  box-shadow:none !important;
  text-decoration:none !important;
  line-height:1 !important;
  overflow:hidden !important;
  -webkit-tap-highlight-color:transparent !important;
}

body.single #ez-toc-container .ez-toc-title-toggle > a.ez-toc-toggle:hover,
body.single .ez-toc-container .ez-toc-title-toggle > a.ez-toc-toggle:hover,
body.single #ez-toc-container .ez-toc-title-toggle > .ez-toc-btn:hover,
body.single .ez-toc-container .ez-toc-title-toggle > .ez-toc-btn:hover{
  background:#EEF5F9 !important;
  border-color:#AFC6D5 !important;
}

/* remove browser/plugin focus rings that caused the double outline */
body.single #ez-toc-container .ez-toc-title-toggle a:focus,
body.single .ez-toc-container .ez-toc-title-toggle a:focus,
body.single #ez-toc-container .ez-toc-title-toggle a:focus-visible,
body.single .ez-toc-container .ez-toc-title-toggle a:focus-visible{
  outline:none !important;
  box-shadow:0 0 0 2px rgba(46,111,149,.14) !important;
}

/* reset the plugin glyph so it cannot create a second box */
body.single #ez-toc-container .ez-toc-glyphicon,
body.single .ez-toc-container .ez-toc-glyphicon{
  position:relative !important;
  display:block !important;
  width:16px !important;
  min-width:16px !important;
  height:16px !important;
  min-height:16px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  outline:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#2E6F95 !important;
  font-size:0 !important;
  line-height:1 !important;
}

/* simple centered chevron; button click behavior remains plugin-controlled */
body.single #ez-toc-container .ez-toc-glyphicon::before,
body.single .ez-toc-container .ez-toc-glyphicon::before{
  content:"" !important;
  position:absolute !important;
  left:4px !important;
  top:3px !important;
  width:7px !important;
  height:7px !important;
  border-right:2px solid #2E6F95 !important;
  border-bottom:2px solid #2E6F95 !important;
  transform:rotate(45deg) !important;
  transform-origin:center !important;
}

/* preserve plugin-controlled collapsing: do not force nav/list open */
body.single #ez-toc-container nav,
body.single .ez-toc-container nav{
  visibility:visible;
}

@media(max-width:760px){
  body.single #ez-toc-container .ez-toc-title-toggle > a.ez-toc-toggle,
  body.single .ez-toc-container .ez-toc-title-toggle > a.ez-toc-toggle,
  body.single #ez-toc-container .ez-toc-title-toggle > .ez-toc-btn,
  body.single .ez-toc-container .ez-toc-title-toggle > .ez-toc-btn{
    width:32px !important;
    min-width:32px !important;
    height:32px !important;
    min-height:32px !important;
  }
}
