/*
  MY SMART KOKU V16 – Ministry UI
  css/components.css
*/
.menu{
  display:flex;
  align-items:center;
  gap:10px;
}
.menu a,.drop-btn{
  border:0;
  background:transparent;
  color:#0f172a;
  padding:16px 18px;
  font-size:17px;
  font-weight:500;
  border-radius:18px;
  cursor:pointer;
}
.menu a:hover,.drop:hover .drop-btn{color:var(--blue);background:#f8fafc}
.menu a.active,.drop.active .drop-btn{
  color:var(--blue);
  border-bottom:3px solid var(--blue);
  border-radius:0;
}
.drop{position:relative}
.drop-menu{
  display:none;
  position:absolute;
  right:0;
  top:56px;
  min-width:260px;
  background:#fff;
  border-radius:20px;
  padding:10px;
  box-shadow:0 22px 55px rgba(15,23,42,.12);
  z-index:20;
}
.drop:hover .drop-menu{display:block}
.drop-menu a{
  display:block;
  border-radius:14px;
  padding:14px 16px;
  font-size:16px;
  border:0;
}
.drop-menu a:hover{background:#f1f5f9}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:16px;
  padding:12px 18px;
  border:1px solid var(--line);
  background:#fff;
  color:#1e293b;
  font-weight:500;
  cursor:pointer;
}
.btn.primary{
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  color:#fff;
  border:0;
  box-shadow:0 12px 25px rgba(37,99,235,.18);
}
.btn.light{background:#fff;color:var(--blue);border-color:#bfdbfe}

.main-search{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:12px;
  padding:12px;
  border:1px solid var(--line);
  background:#f8fbff;
  border-radius:28px;
}
.main-search input{
  border:1px solid #dbe4f0;
  background:#fff;
  border-radius:20px;
  min-height:66px;
  padding:0 22px;
  color:#1e293b;
  font-size:18px;
  font-weight:400;
}
.main-search button,.main-search .btn{
  min-height:66px;
  padding:0 28px;
  font-size:18px;
}

.engine-strip{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 14px 40px rgba(15,23,42,.055);
  padding:18px 22px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.engine-strip div{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:14px;
}
.engine-strip b{color:#07803b;font-weight:600}

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  box-shadow:0 14px 42px rgba(15,23,42,.055);
  padding:22px;
  margin-bottom:18px;
}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:16px;
}
.section-head h2{
  margin:0;
  font-size:24px;
  letter-spacing:-.035em;
  font-weight:600;
  color:#0f172a;
}
.section-head p{margin:5px 0 0;color:var(--muted)}
.table-wrap{
  border:1px solid var(--line);
  border-radius:20px;
  overflow:auto;
  background:#fff;
}
.table-wrap table{width:100%;border-collapse:collapse}
.table-wrap th,.table-wrap td{
  padding:11px 12px;
  border-bottom:1px solid #e4e7ec;
  font-size:13px;
}
.table-wrap th{
  background:#f8fafc;
  color:#475569;
  text-align:left;
  font-weight:500;
}
.table-wrap td{font-weight:400}
.table-wrap tr:last-child td{border-bottom:0}
.table-wrap tr:hover td{background:#fbfdff}
.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-weight:500;
  font-size:12px;
}
.muted{color:var(--muted)}
.v12-blue{color:var(--blue);font-weight:500}
@media(max-width:900px){
  .menu{margin-top:18px;flex-wrap:wrap}
  .main-search{grid-template-columns:1fr}
  .engine-strip{display:block}
}
