/* =========================================================
   CLEANOPRO EMPLOYEE LOGIN
   Global modal + direct /medewerker-inloggen/ page
   ========================================================= */

:root{
  --cpoh-login-green:#24e07b;
  --cpoh-login-green2:#10b963;
  --cpoh-login-dark:#071417;
  --cpoh-login-dark2:#0b2329;
  --cpoh-login-text:#15282f;
  --cpoh-login-muted:#71817c;
  --cpoh-login-line:#dfe7e3;
}

.cpoh-login-modal,
.cpoh-login-modal *,
.cpoh-direct-access,
.cpoh-direct-access *{
  box-sizing:border-box;
}

.cpoh-login-modal{
  position:fixed;
  z-index:2147483000;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.cpoh-login-modal.is-open{
  display:flex;
}

.cpoh-login-backdrop{
  position:absolute;
  inset:0;
  background:rgba(2,10,13,.72);
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
}

.cpoh-login-dialog{
  position:relative;
  z-index:2;
  width:min(470px,100%);
  max-height:min(92vh,760px);
  overflow:auto;
  padding:24px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:24px;
  background:
    radial-gradient(circle at 0 0,rgba(36,224,123,.12),transparent 30%),
    #fff;
  box-shadow:0 35px 100px rgba(0,0,0,.35);
}

.cpoh-login-close{
  position:absolute;
  z-index:4;
  top:14px;
  right:14px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:11px;
  color:#435650;
  background:#eff4f1;
  font-size:21px;
  line-height:1;
  cursor:pointer;
}

.cpoh-login-dialog-head{
  min-height:69px;
  display:flex;
  align-items:center;
  gap:12px;
  margin:-24px -24px 23px;
  padding:15px 60px 15px 20px;
  color:#fff;
  background:
    radial-gradient(circle at 0 0,rgba(36,224,123,.15),transparent 34%),
    linear-gradient(135deg,var(--cpoh-login-dark),var(--cpoh-login-dark2));
}

.cpoh-login-mark{
  width:39px;
  height:39px;
  display:grid;
  place-items:center;
  flex:none;
  border-radius:12px;
  color:#07140d;
  background:linear-gradient(135deg,var(--cpoh-login-green),#17cf6d);
  box-shadow:0 9px 20px rgba(36,224,123,.18);
  font-size:11px;
  font-weight:1000;
}

.cpoh-login-dialog-head strong{
  display:block;
  color:#fff;
  font-size:12px;
  font-weight:950;
}

.cpoh-login-dialog-head span{
  display:block;
  margin-top:2px;
  color:rgba(255,255,255,.58);
  font-size:8.5px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.cpoh-login-dialog-copy{
  margin-bottom:19px;
}

.cpoh-login-kicker{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#0d9658;
  font-size:9px;
  font-weight:950;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.cpoh-login-kicker::before{
  width:18px;
  height:2px;
  content:"";
  border-radius:999px;
  background:var(--cpoh-login-green2);
}

.cpoh-login-dialog-copy h2{
  margin:8px 0 0;
  color:#142b32;
  font-size:29px;
  font-weight:1000;
  letter-spacing:-.045em;
  line-height:1.03;
}

.cpoh-login-dialog-copy p{
  margin:9px 0 0;
  color:var(--cpoh-login-muted);
  font-size:11px;
  line-height:1.55;
}

.cpoh-access-form{
  display:grid;
  gap:13px;
}

.cpoh-access-field{
  display:grid;
  gap:6px;
}

.cpoh-access-field > span:first-child{
  color:#4e625c;
  font-size:9.5px;
  font-weight:900;
}

.cpoh-access-field input[type="text"],
.cpoh-access-field input[type="password"]{
  width:100%;
  min-height:48px;
  padding:0 13px;
  border:1px solid #d6e0db;
  border-radius:12px;
  outline:none;
  color:#20383f;
  background:#fbfdfc;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
  font-size:12px;
  font-weight:750;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}

.cpoh-access-field input:focus{
  border-color:rgba(16,185,99,.72);
  background:#fff;
  box-shadow:0 0 0 4px rgba(36,224,123,.10);
}

.cpoh-password-wrap{
  position:relative;
  display:block;
}

.cpoh-password-wrap input{
  padding-right:72px !important;
}

.cpoh-password-toggle{
  position:absolute;
  top:50%;
  right:7px;
  min-height:34px;
  padding:0 9px;
  border:0;
  border-radius:9px;
  color:#567069;
  background:#eef4f0;
  transform:translateY(-50%);
  font-size:8.5px;
  font-weight:900;
  cursor:pointer;
}

.cpoh-access-options{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:1px;
}

.cpoh-remember{
  display:flex;
  align-items:center;
  gap:7px;
  color:#667873;
  font-size:9px;
  font-weight:800;
}

.cpoh-remember input{
  width:16px;
  height:16px;
  margin:0;
  accent-color:var(--cpoh-login-green2);
}

.cpoh-access-options a{
  color:#0a8d50 !important;
  font-size:9px;
  font-weight:900;
  text-decoration:none !important;
}

.cpoh-access-submit{
  min-height:49px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:2px;
  padding:0 13px 0 16px;
  border:0;
  border-radius:12px;
  color:#06140c;
  background:linear-gradient(135deg,var(--cpoh-login-green),#17cf6d);
  box-shadow:0 12px 28px rgba(36,224,123,.20);
  font-size:10.5px;
  font-weight:950;
  cursor:pointer;
  transition:transform .15s ease,opacity .15s ease;
}

.cpoh-access-submit:hover{
  transform:translateY(-1px);
}

.cpoh-access-submit:disabled{
  opacity:.62;
  cursor:wait;
  transform:none;
}

.cpoh-access-submit b{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:rgba(6,20,12,.10);
  font-size:13px;
}

.cpoh-access-message{
  display:none;
  padding:10px 11px;
  border-radius:10px;
  font-size:9.5px;
  font-weight:800;
  line-height:1.45;
}

.cpoh-access-message.is-visible{
  display:block;
}

.cpoh-access-message.is-error{
  color:#963741;
  border:1px solid #f1cbd0;
  background:#fff3f4;
}

.cpoh-access-message.is-success{
  color:#087546;
  border:1px solid #bfead2;
  background:#edfbf4;
}

.cpoh-access-footnote{
  margin:0;
  color:#98a49f;
  font-size:8.5px;
  line-height:1.4;
  text-align:center;
}

.cpoh-direct-login-link{
  display:block;
  margin:14px 0 0;
  color:#687a74 !important;
  font-size:9px;
  font-weight:850;
  text-align:center;
  text-decoration:none !important;
}

.cpoh-direct-login-link:hover{
  color:#0b8d50 !important;
}

/* =========================================================
   DIRECT LOGIN PAGE
   ========================================================= */

.cpoh-direct-access{
  background:
    radial-gradient(circle at 10% 5%,rgba(36,224,123,.13),transparent 28%),
    linear-gradient(145deg,#071417,#0a252b) !important;
}

.cpoh-direct-access-card{
  width:min(470px,calc(100% - 28px));
  max-width:470px !important;
  padding:25px !important;
  border-radius:24px !important;
  box-shadow:0 35px 90px rgba(0,0,0,.28) !important;
}

.cpoh-direct-access-card .cp-login-brand{
  margin-bottom:24px;
}

.cpoh-direct-access-card .cpoh-access-form{
  margin-top:19px;
}

.cpoh-back-site{
  display:block;
  margin-top:17px;
  color:#71817c !important;
  font-size:9px;
  font-weight:850;
  text-align:center;
  text-decoration:none !important;
}

.cp-login-card--redirect .cp-btn{
  margin-top:16px;
}

body.cpoh-login-locked{
  overflow:hidden !important;
}

@media(max-width:620px){

  .cpoh-login-modal{
    align-items:flex-end;
    padding:0;
  }

  .cpoh-login-dialog{
    width:100%;
    max-height:94vh;
    padding:20px 17px calc(20px + env(safe-area-inset-bottom));
    border-radius:23px 23px 0 0;
  }

  .cpoh-login-dialog-head{
    margin:-20px -17px 20px;
    padding:14px 54px 14px 17px;
  }

  .cpoh-login-close{
    top:11px;
    right:11px;
  }

  .cpoh-login-dialog-copy h2{
    font-size:26px;
  }

  .cpoh-access-options{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }

  .cpoh-direct-access-card{
    width:calc(100% - 20px);
    padding:19px !important;
    border-radius:20px !important;
  }

}
