*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Courier New", monospace;
}

:root{
  --black:#1D1D1B;
  --cream:#E8D9B7;
  --light:#F0DCB7;
  --orange:#EB5B38;
  --orange2:#F07E51;
  --red:#BE1622;
  --white:#fff;
}

body{
  min-height:100vh;
}

button,
a,
input,
select{
  font:inherit;
}

/* LOGIN */
.login-page,
.popup-page,
.new-leak-page{
  min-height:100vh;
  background:var(--black);
  color:var(--cream);
  display:flex;
  justify-content:center;
  align-items:center;
  padding:24px;
}

.login-card{
  width:min(92vw, 430px);
  padding:42px;
  border-radius:24px;
  background:var(--cream);
  color:var(--black);
  box-shadow:0 0 30px rgba(235,91,56,0.22);
}

.login-card h1{
  font-size:clamp(42px, 12vw, 64px);
  line-height:.9;
  margin-bottom:20px;
}

.login-card p{
  margin-bottom:24px;
  font-size:14px;
}

.code-inputs{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-bottom:28px;
}

.code-inputs input{
  width:60px;
  height:70px;
  border:none;
  border-radius:16px;
  background:#fff;
  color:#000;
  font-size:32px;
  text-align:center;
  outline:none;
}

.code-inputs input:focus{
  outline:3px solid var(--orange);
}

.login-card button,
.new-leak-card-button,
.vote-btn{
  width:100%;
  border:none;
  border-radius:14px;
  background:var(--orange);
  color:white;
  padding:16px;
  font-size:18px;
  font-weight:bold;
  cursor:pointer;
}

.login-card button:hover,
.new-leak-card button:hover,
.vote-btn:hover{
  background:#C7442D;
}

/* AGENT POPUP */
.agent-card{
  background:var(--cream);
  padding:70px 60px;
  border-radius:20px;
  font-size:34px;
  line-height:1.05;
  font-weight:bold;
  text-align:center;
  position:relative;
  color:#000;
}

.tape{
  position:absolute;
  width:200px;
  pointer-events:none;
}

.tape.top{
  top:-60px;
  right:-60px;
  transform:rotate(30deg);
}

.tape.bottom{
  bottom:-60px;
  left:-60px;
  transform:rotate(30deg);
}

.close-btn,
.modal-close{
  position:absolute;
  top:12px;
  right:14px;
  width:24px;
  height:24px;
  border:none;
  outline:none;
  background:var(--red);
  color:white;
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:18px;
  font-weight:bold;
  cursor:pointer;
  z-index:10;
  line-height:1;
  padding:0;
}

/* NEW LEAK */
.new-leak-card{
  width:min(92vw, 560px);
  background:var(--cream);
  color:var(--black);
  border-radius:32px;
  padding:48px;
  position:relative;
}

.new-leak-card h1{
  font-size:clamp(48px, 10vw, 76px);
  line-height:.88;
  margin-bottom:22px;
}

.sub{
  margin-bottom:36px;
  color:#333;
}

.form-group{
  margin-bottom:24px;
}

label{
  display:block;
  font-size:14px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#000;
}

input,
select{
  width:100%;
  border:none;
  background:#F4E8CC;
  padding:18px;
  border-radius:18px;
  color:#000;
  font-size:16px;
}

input:focus,
select:focus{
  outline:2px solid var(--orange);
}

.upload-box{
  background:#F4E8CC;
  border:2px dashed var(--orange);
  border-radius:18px;
  padding:34px;
  text-align:center;
  color:#000;
  cursor:pointer;
  text-transform:none;
  letter-spacing:0;
}

.upload-box input{
  display:none;
}

.warning{
  margin-top:24px;
  text-align:center;
  color:#000;
  opacity:.55;
  font-size:13px;
}

/* SAFE / WHO */
.safe-page{
  background:#000;
  color:var(--cream);
  padding-bottom:132px;
}

.who-page{
  background:var(--cream);
  color:var(--black);
  padding-bottom:132px;
}

.page-wrap{
  width:min(1280px, 100%);
  margin:0 auto;
  padding:42px 36px 90px;
}

.safe-header{
  display:flex;
  justify-content:space-between;
  gap:28px;
  align-items:flex-start;
}

.safe-header h1{
  font-size:clamp(54px, 9vw, 112px);
  line-height:.95;
  margin-bottom:34px;
}

/*reset button*/
.reset-btn{
  position:fixed;
  top:20px;
  right:20px;

  background:#BE1622;
  color:white;

  border:none;
  border-radius:999px;

  padding:10px 18px;

  font-size:14px;
  font-weight:bold;

  cursor:pointer;
  z-index:200;
}

.reset-btn:hover{
  background:#E8D9B7;
  color:#000;
}
/*vagiatie buttons*/
.nav-buttons{
  display:flex;
  gap:28px;
  flex-wrap:wrap;
}

.outline-btn{
  min-width:170px;
  text-align:center;
  padding:7px 18px;
  border:2px solid var(--cream);
  background:transparent;
  color:var(--cream);
  border-radius:10px;
  font-weight:bold;
  text-decoration:none;
  font-size:14px;
}

.outline-btn.dark{
  border-color:var(--black);
  color:var(--black);
}

.ranking{
  flex:0 0 230px;
  color:#000;
  position:relative;
  border-radius:14px;
  overflow:hidden;
}

.ranking::before{
  content:"";
  position:absolute;
  top:-8px;
  left:76px;
  width:88px;
  height:28px;
  transform:skew(-12deg);
  z-index:2;
}

.ranking-content,
.ranking-bottom{
  padding:20px 24px;
}

/* .ranking-content{
  background:var(--cream);
}

.white-card{
  background:#fff;
  border:2px solid var(--orange);
  border-radius:12px;
}

.ranking-bottom{
  margin-top:16px;
  background:var(--orange2);
  border-radius:12px;
} */

.ranking{
  flex:0 0 230px;
  color:#000;
  position:relative;
  border-radius:14px;
  overflow:hidden;
  background:var(--cream);
}

.ranking-content{
  padding:20px 24px 14px;
  background:var(--cream);
}

.ranking-bottom{
  padding:20px 24px 20px;
  background:var(--orange);
  margin-top:0;
}

.ranking p{
  font-size:18px;
  margin-bottom:8px;
  display:grid;
  gap:5px;
}

.ranking h3{
  font-size:28px;
  margin-bottom:16px;
}

.ranking p{
  font-size:18px;
  margin-bottom:8px;
}

.safe-leaks{
  margin-top:96px;
  display:flex;
  flex-direction:column;
  gap:90px;
  width:min(860px, 100%);
}

.safe-leak{
  display:grid;
  grid-template-columns:minmax(260px, 420px) minmax(190px, 285px);
  gap:34px;
  align-items:start;
  margin-left:68px;
  position:relative;
}

.safe-leak-alt{
  margin-left:260px;
}

.leak-image-wrap{
  position:relative;
}

.photo-tape{
  position:absolute;
  top:-30px;
  left:-38px;

  width:200px;
  height:auto;

  z-index:5;
  pointer-events:none;

  transform:rotate(-13deg);
}

/* .leak-image-wrap img{
  width:100%;
  aspect-ratio:1.05 / 1;
  object-fit:cover;
  filter:grayscale(100%);
  display:block;
} */

.leak-photo{
  width:100%;
  aspect-ratio:1.05 / 1;
  object-fit:cover;
  filter:grayscale(100%);
  display:block;
}

.date-tape,
.name-tape{
  position:absolute;
  top:-8px;
  left:-23px;
  color:#fff;
  padding:12px 42px;
  transform:rotate(-13deg);
  z-index:5;
  font-size:22px;
  white-space:nowrap;
}

/*note*/
.leak-note,
.evidence-box{
  background:var(--cream);
  color:#111;
  border-radius:8px;
  padding:18px;
  margin-top:18px;
  min-height:120px;
  position:relative;
}

.leak-note::before{
  content:"";
  position:absolute;
  top:-20px;
  left:-80px;

  width:320px;
  height:80px;

  background:url("images/swoosh.png") center/contain no-repeat;

  opacity:.9;
  transform:rotate(-5deg);

  pointer-events:none;
}

/*streep door naam*/
/* .leak-note::before{
  content:"";
  position:absolute;
  top:13px;
  left:16px;
  width:110px;
  height:18px;
  background:var(--orange);
  opacity:.85;
  transform:rotate(-3deg);
} */

/* .leak-note strong{
  position:relative;
  z-index:1;
} */

.leak-note p,
.evidence-box p{
  margin-top:12px;
  font-size:14px;
  line-height:1.1;
}

.empty-state{
  opacity:.7;
}

.dark-text{
  color:#111;
}

/* Bottom scroller */
.bottom-bar{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  background:var(--cream);
  padding:16px 28px;
  display:block;
  z-index:20;
}

.dark-bottom{
  background:var(--black);
}

.profiles{
  display:flex;
  gap:16px;
  overflow-x:auto;
  padding-bottom:4px;
  scrollbar-width:thin;
}

.profile-item{
  min-width:92px;
  color:#111;
  text-align:center;
}

.dark-bottom .profile-item{
  color:var(--cream);
}

.profile-img{
  width:84px;
  height:84px;
  margin:0 auto 7px;
  background:#111;
  color:var(--cream);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:42px;
  filter:grayscale(100%);
}

.profile-img.big{
  width:92px;
  height:116px;
  font-size:48px;
}

.profile-item p{
  font-size:17px;
}

/* WHO */
.who-grid{
  margin-top:88px;
  display:grid;
  grid-template-columns:1fr;
  gap:76px;
}

.suspect-number{
  font-size:13px;
  font-weight:bold;
  letter-spacing:2px;
  text-transform:uppercase;
  opacity:.5;
}

.who-card{
  display:grid;
  grid-template-columns:280px 110px 280px;
  gap:12px;
  align-items:start;
}

.who-card.reverse{
  grid-template-columns:280px 110px 280px;
  margin-left:180px;
}


.who-photo{
  position:relative;
  cursor:pointer;
}

.who-main-photo{
  width:100%;
  aspect-ratio:1 / .88;
  object-fit:cover;
  filter:grayscale(100%);
  display:block;
}
.who-photo-tape{
  position:absolute;
  top:-30px;
  left:-38px;

  width:200px;
  height:auto;

  z-index:5;
  pointer-events:none;

  transform:rotate(-13deg);
}

/* .who-photo-tape{
  position:absolute;
  top:-30px;
  left:-38px;

  width:200px;
  height:auto;

  z-index:5;
  pointer-events:none;

  transform:rotate(-13deg);
} */

.zoom-btn{
  position:absolute;
  top:6px;
  right:6px;
  width:24px;
  height:24px;
  border:none;
  border-radius:50%;
  background:var(--red);
  color:white;
  cursor:pointer;
}

.vote-panel{
  text-align:center;
}

.vote-panel p{
  margin:8px 0;
}

.vote-btn{
  padding:6px 10px;
  border-radius:4px;
  font-size:10px;
}

.evidence-box{
  border:2px dashed var(--orange);
  background:transparent;
  margin-top:0;
}

.image-modal{
  position:fixed;
  inset:0;
  background:var(--cream);
  display:flex;
  justify-content:center;
  align-items:center;
  padding:34px;
  z-index:99;
}

.image-modal img{
  width:min(92vw, 980px);
  max-height:82vh;
  object-fit:contain;
  filter:grayscale(100%);
}

.hidden{
  display:none;
}

/* Shared overlay backdrop */
.overlay-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  display:flex;
  justify-content:center;
  align-items:center;
  padding:24px;
  z-index:200;
  overflow-y:auto;
}

.overlay-backdrop.hidden{
  display:none;
}

@media (max-width:850px){
  .page-wrap{
    padding:28px 20px 80px;
  }

  .safe-header{
    display:block;
  }

  .ranking{
    position:absolute;
    top:30px;
    right:20px;
    width:130px;
    border-radius:9px;
    flex:auto;
  }

  .ranking::before{
    width:54px;
    height:18px;
    left:46px;
  }

  .ranking-content,
  .ranking-bottom{
    padding:10px;
  }

  .ranking-bottom{
    margin-top:8px;
  }

  .ranking h3{
    font-size:11px;
    margin-bottom:7px;
  }

  .ranking p{
    font-size:8px;
    margin-bottom:4px;
  }

  .nav-buttons{
    gap:20px;
  }

  .outline-btn{
    min-width:126px;
    font-size:10px;
    padding:6px 10px;
  }

  .safe-leaks{
    margin-top:70px;
    gap:76px;
  }

  .safe-leak,
  .safe-leak-alt{
    grid-template-columns:1fr 150px;
    gap:14px;
    margin-left:32px;
  }

  .safe-leak-alt{
    margin-left:86px;
  }

  .date-tape,
  .name-tape{
    font-size:12px;
    padding:8px 26px;
    left:-28px;
  }

  .leak-note{
    padding:14px;
    min-height:96px;
  }

  .leak-note p,
  .evidence-box p{
    font-size:9px;
  }

  .profile-item{
    min-width:64px;
  }

  .profile-img{
    width:56px;
    height:56px;
    font-size:28px;
  }

  .profile-item p{
    font-size:11px;
  }

  .who-card,
  .who-card.reverse{
    grid-template-columns:1fr 78px;
    margin-left:0;
  }

  .evidence-box{
    grid-column:1 / -1;
  }
}

/*info knop op de are you safe pagina */
.info-btn{
  position:fixed;
  right:32px;
  bottom:178px;
  width:30px;
  height:30px;
  border:none;
  border-radius:50%;
  background:var(--red);
  color:white;
  font-weight:bold;
  cursor:pointer;
  z-index:80;
  text-align:center;
  font-weight:bold;
  text-decoration:none;
  font-size:25px;
}

.info-btn:hover{
  background:#E8D9B7;
  color:#000;
}

.info-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:flex;
  justify-content:center;
  align-items:center;
  padding:24px;
  z-index:100;
}

.info-card{
  width:min(92vw, 390px);
  max-height:88vh;
  overflow-y:auto;
  background:var(--black);
  color:var(--cream);
  padding:28px 20px;
  position:relative;
}

.info-card.not-agent{
  background:var(--cream);
  color:var(--black);
}

.info-card h2{
  font-size:38px;
  line-height:1.1;
  margin-bottom:32px;
}

.info-card h3{
  color:var(--orange);
  font-style:italic;
  font-size:14px;
  margin-top:22px;
  margin-bottom:4px;
  text-transform:uppercase;
}

.info-card p,
.info-card li{
  font-size:12px;
  line-height:1.05;
}

.info-card ol,
.info-card ul{
  padding-left:18px;
  margin:8px 0 14px;
}

.info-card strong{
  color:var(--orange);
  font-style:italic;
}

.info-modal.hidden{
  display:none;
}

.hint-box{
  width:260px;
  background:#fff;
  color:var(--black);
  border-radius:16px;
  padding:22px;
  align-self:flex-start;
}

.hint-box h3{
  font-size:28px;
  margin-bottom:14px;
}

.hint-box p{
  font-size:15px;
  line-height:1.35;
}

/*vote systeem op de who are they pagina*/
.vote-preview-img{
  width:92px;
  height:116px;
  object-fit:cover;
  filter:grayscale(100%);
  display:block;
  margin:0 auto 8px;
  background:#111;
}

.vote-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:120;
}

.vote-modal.hidden{
  display:none;
}

.vote-card{
  width:300px;
  background:var(--black);
  color:var(--cream);
  border-radius:22px;
  padding:44px 26px 32px;
  position:relative;
  text-align:center;
}

.vote-person-image{
  width:140px;
  height:170px;
  object-fit:cover;
  filter:grayscale(100%);
  margin-bottom:14px;
}

.vote-person-name{
  font-size:24px;
  margin-bottom:20px;
}

.vote-controls{
  display:grid;
  grid-template-columns:40px 1fr 40px;
  gap:8px;
  align-items:center;
}

.vote-controls button{
  border:none;
  background:var(--orange);
  color:white;
  border-radius:8px;
  padding:8px;
  font-weight:bold;
  cursor:pointer;
}

.add-evidence-btn{
  position:absolute;
  top:8px;
  right:8px;
  width:22px;
  height:22px;
  border:none;
  border-radius:50%;
  background:var(--red);
  color:white;
  font-weight:bold;
  cursor:pointer;
}

.evidence-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:130;
}

.evidence-modal.hidden{
  display:none;
}

.evidence-card{
  width:300px;
  background:var(--black);
  color:var(--cream);
  border-radius:22px;
  padding:44px 26px 32px;
  position:relative;
}

.evidence-card h2{
  font-size:38px;
  margin-bottom:24px;
}

.evidence-card p{
  font-size:12px;
  margin-bottom:14px;
}

.evidence-card label{
  color:var(--cream);
  font-size:12px;
  margin-top:14px;
}

.evidence-card input[type="text"]{
  background:transparent;
  border:1px solid var(--cream);
  color:var(--cream);
  border-radius:10px;
  padding:10px;
  margin-bottom:14px;
}

.evidence-upload-box{
  display:block;
  border:1px dashed var(--orange);
  border-radius:10px;
  padding:22px;
  text-align:center;
  cursor:pointer;
  color:var(--cream);
}

.evidence-upload-box input{
  display:none;
}

.save-evidence-btn{
  width:100%;
  border:none;
  border-radius:10px;
  background:var(--orange);
  color:white;
  padding:12px;
  margin-top:18px;
  font-weight:bold;
  cursor:pointer;
}

.extra-evidence-list{
  margin-top:12px;
}

.extra-evidence-item{
  margin-top:10px;
  font-size:10px;
}

.extra-evidence-item img{
  width:70px;
  height:55px;
  object-fit:cover;
  filter:grayscale(100%);
  display:block;
  margin-bottom:4px;
}