/* CSS Document */
:root{
  --bg:#0b0d10;
  --card:#12151b;
  --text:#f2f4f7;
  --muted:#aab2bf;
  --line:#242b36;
  --accent:#5eead4;
  --danger:#fb7185;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;

  background:
    radial-gradient(
      circle at 20% 10%,
      #132031 0%,
      var(--bg) 60%
    );

  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;

  color:var(--text);
}

.wrap{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.card{
  width:100%;
  max-width:980px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border:1px solid var(--line);
  border-radius:18px;
  padding:20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.brand{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.badge{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--muted);
}

h1{
  font-size:20px;
  margin:0 0 6px;
  letter-spacing:0.2px;
}

p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.45;
  font-size:14px;
}

label{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin:10px 0 6px;
}

.input{
  width:100%;
  padding:14px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(0,0,0,0.25);
  color:var(--text);
  font-size:16px;
  outline:none;
}

.input:focus{
  border-color: rgba(94,234,212,0.45);
  box-shadow: 0 0 0 4px rgba(94,234,212,0.10);
}

.row{
  display:flex;
  gap:10px;
  margin-top:12px;
}

.btn{
  width:100%;
  border:1px solid rgba(94,234,212,0.25);
  background: rgba(94,234,212,0.10);
  color:var(--text);
  padding:12px 14px;
  border-radius:12px;
  cursor:pointer;
  font-size:14px;
  font-weight:600;
}

.btn:hover{background: rgba(94,234,212,0.14)}
.btn:active{transform: translateY(1px)}

.msg{
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
  display:none;
}

.msg.show{display:block}
.msg.good{border-color: rgba(94,234,212,0.35); color: rgba(94,234,212,0.95)}
.msg.bad{border-color: rgba(251,113,133,0.35); color: rgba(251,113,133,0.95)}

.small{
  margin-top:14px;
  font-size:12px;
  color:var(--muted);
}

.small code{
  background: rgba(255,255,255,0.06);
  padding:2px 6px;
  border-radius:8px;
  border:1px solid var(--line);
}

.topNav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
  gap:12px;
  flex-wrap:wrap;
}

.navLeft,
.navRight{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.navBtn{
  padding:8px 14px;
  border-radius:8px;
  background:#111827;
  border:1px solid rgba(255,255,255,0.08);
  color:#fff;
  text-decoration:none;
  font-size:14px;
  cursor:pointer;
  transition:all .15s ease;
}

.navBtn:hover{
  background:#1f2937;
}

.navBtn.danger{
  background:#1f1113;
  border-color:#5b1d24;
}

.navBtn.danger:hover{
  background:#2b1317;
}

/* Employee table layout refinement */

.tr {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tr strong {
  display: block;
  font-size: 16px;
}

.tr .muted {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 4px;
}

.tr .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tr .actions button {
  min-width: 90px;
}

.tag {
  white-space: nowrap;
}
.subRow{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,0.06);
  border-radius:14px;
  background:rgba(0,0,0,0.18);
  cursor:pointer;
  transition:all .15s ease;
}

.subRow:hover{
  background:rgba(255,255,255,0.04);
}

.subRow input{
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
  pointer-events:none;
}
.subRow{
  position:relative;
}

.checkBox{
  width:18px;
  height:18px;
  border-radius:6px;
  border:2px solid rgba(255,255,255,0.25);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all .15s ease;
}

.subRow.isDone .checkBox{
  background:rgba(94,234,212,0.25);
  border-color:rgba(94,234,212,0.7);
}

.subRow.isDone .subText{
  opacity:0.6;
  text-decoration:line-through;
}
.subRow.isDone .checkBox::after{
  content:"";
  width:8px;
  height:12px;
  border-right:2px solid rgba(94,234,212,0.95);
  border-bottom:2px solid rgba(94,234,212,0.95);
  transform: rotate(45deg);
  margin-top:-2px;
}
.subRow .checkBox{ pointer-events:none; }
.subRow{ user-select:none; }

/* Fixed site header (authenticated app shell) */
.siteTopbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:999;
  backdrop-filter:blur(10px);
  background:rgba(0,0,0,0.35);
  border-top:2px solid var(--accent);
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.siteTopbarInner{
  max-width:980px;
  margin:0 auto;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.siteBrand{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.siteBrand h1{
  margin:0;
  font-size:18px;
  font-weight:700;
}
.sitePill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--line);
  padding:6px 10px;
  border-radius:999px;
  background:rgba(0,0,0,0.18);
}
.siteNav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.siteNavBtn{
  padding:8px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,0.03);
  color:var(--text);
  text-decoration:none;
  font-size:13px;
  cursor:pointer;
  font-family:inherit;
}
.siteNavBtn:hover{background:rgba(255,255,255,0.06)}
.siteNavBtn.danger{
  border-color:rgba(251,113,133,0.35);
  background:rgba(251,113,133,0.08);
}

.pageWithSiteHeader{
  padding-top:90px;
}
.wrap.pageWithSiteHeader{
  align-items:flex-start;
  justify-content:flex-start;
}