/* ===== Premium White Theme - Daily Work Report ===== */

:root{
  --bg: #f4f6f9;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e5e7eb;
  --line2:#d1d5db;
  --primary:#2563eb;
  --primary2:#1d4ed8;
  --shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
  --shadow2: 0 18px 60px rgba(15, 23, 42, 0.10);
  --radius: 18px;
}

/* GLOBAL */
*{ box-sizing: border-box; }
html, body{ height:100%; }

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg) !important;
  color: var(--text) !important;
}

/* WRAP */
.wrap{
  max-width: 880px;
  margin: 0 auto;
  padding: 44px 18px;
}

/* HEADER */
.top{
  margin-bottom: 16px;
}
.top h1{
  margin:0 0 6px;
  font-size: 30px;
  letter-spacing: -0.2px;
  color: var(--text) !important;
}
.top p{
  margin:0;
  color: var(--muted) !important;
  font-size: 14px;
}

/* CARD */
.card{
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
@media(max-width: 820px){
  .grid{ grid-template-columns: 1fr; }
  .card{ padding: 18px; }
}

/* LABEL */
label{
  display:block;
  font-weight: 650;
  font-size: 13px;
  color: #334155 !important;
}

/* INPUTS */
input, select, textarea, .multi-select-btn{
  width:100%;
  margin-top: 7px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line2) !important;
  background: #fff !important;
  color: #0f172a !important;
  font-size: 14px;
  outline: none;
  transition: 0.15s ease;
}

textarea{
  min-height: 110px;
  resize: vertical;
}

input:focus, select:focus, textarea:focus, .multi-select-btn:focus{
  border-color: rgba(37,99,235,.55) !important;
  box-shadow: 0 0 0 4px rgba(37,99,235,.14);
}

/* PLACEHOLDERS */
::placeholder{ color: #94a3b8; }

/* BUTTON */
.btn{
  margin-top: 14px;
  width:100%;
  border: none;
  border-radius: 14px;
  padding: 14px 14px;
  background: linear-gradient(180deg, var(--primary), var(--primary2)) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(37,99,235,.22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(37,99,235,.28);
}
.btn:disabled{
  opacity: .7;
  cursor: not-allowed;
}

/* MESSAGE */
.msg{
  margin-top: 12px;
  text-align:center;
  font-weight: 700;
  font-size: 14px;
}
.msg.ok{ color:#16a34a; }
.msg.bad{ color:#dc2626; }

/* FOOT LINK */
.foot{
  margin-top: 18px;
  text-align: center;
}
.foot a{
  color: var(--primary) !important;
  text-decoration: none;
  font-weight: 700;
}
.foot a:hover{ text-decoration: underline; }

/* MULTI SELECT (checkbox dropdown) */
.multi-select{ position: relative; }

.multi-select-btn{
  text-align:left;
  cursor:pointer;
}

.multi-select-panel{
  position:absolute;
  left:0; right:0;
  top: 112%;
  background:#fff !important;
  border:1px solid var(--line2) !important;
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow2);
  display:none;
  z-index: 999;
}
.multi-select-panel.show{ display:block; }

/* options */
.ms-option{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  cursor:pointer;
  color: #0f172a !important;
  transition: .12s ease;
}
.ms-option:hover{
  background: rgba(37,99,235,.06) !important;
}
.ms-option input{
  width: 16px;
  height: 16px;
  accent-color: var(--primary) !important;
}

/* FORCE ALL DROPDOWN TEXT VISIBLE */
.multi-select-panel *{
  color: #0f172a !important;
  opacity: 1 !important;
}


