#evBrokerTaskTab{display:none}
#evBrokerTaskTab.active{display:block}
.evbtp-wrap{max-width:1120px;margin:0 auto;padding:24px 16px}
.evbtp-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.evbtp-head h2{margin:0;color:#102c46}.evbtp-muted{color:#71808c;font-size:13px}
.evbtp-panel{background:#fff;border:1px solid rgba(16,44,70,.14);border-radius:18px;padding:16px;box-shadow:0 12px 30px rgba(7,17,29,.08)}
.evbtp-add{display:grid;grid-template-columns:minmax(180px,1fr) 150px auto;gap:10px;align-items:end;margin-bottom:16px}
.evbtp-add label{display:grid;gap:6px;font-weight:800;color:#102c46}.evbtp-add select,.evbtp-add input{min-height:42px;border:1px solid #ccd5dc;border-radius:10px;padding:8px 10px;background:#fff}
.evbtp-btn{min-height:42px;border:0;border-radius:10px;padding:10px 14px;font-weight:900;cursor:pointer;background:#d8b85d;color:#102c46}.evbtp-btn.danger{background:#fff0f0;color:#a02020;border:1px solid #efc8c8}
.evbtp-grid{display:grid;gap:12px}.evbtp-card{display:grid;grid-template-columns:minmax(150px,1fr) 110px minmax(220px,2fr) auto;gap:16px;align-items:center;border:1px solid rgba(16,44,70,.12);border-radius:15px;padding:14px}
.evbtp-name strong{display:block;color:#102c46;font-size:16px}.evbtp-name span{font-size:12px;color:#71808c}
.evbtp-ring{--p:0;--ring:#c34242;width:92px;height:92px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--ring) calc(var(--p)*1%),#edf1f4 0);position:relative}
.evbtp-ring:before{content:"";position:absolute;inset:9px;border-radius:50%;background:#fff}.evbtp-ring b{position:relative;z-index:1;color:#102c46;font-size:18px}.evbtp-ring small{position:absolute;z-index:1;margin-top:34px;font-size:10px;color:#71808c}
.evbtp-stats{display:grid;gap:7px}.evbtp-line{display:flex;justify-content:space-between;gap:10px;font-size:13px}.evbtp-bar{height:10px;background:#edf1f4;border-radius:999px;overflow:hidden}.evbtp-bar>span{display:block;height:100%;width:0;background:linear-gradient(90deg,#c34242,#d89b3c,#d8b85d,#4d9c61);border-radius:inherit}
.evbtp-empty{padding:26px;text-align:center;color:#71808c}.evbtp-status{font-size:12px;font-weight:900;color:#102c46}
@media(max-width:760px){.evbtp-add{grid-template-columns:1fr}.evbtp-card{grid-template-columns:1fr 92px}.evbtp-stats{grid-column:1/-1}.evbtp-actions{grid-column:1/-1}.evbtp-head{align-items:flex-start;flex-direction:column}}

.evbtp-task-option{
  display:flex!important;
  flex-direction:column;
  gap:4px;
}

.evbtp-task-option span{
  display:flex;
  align-items:center;
  gap:7px;
  font-weight:800;
}

.evbtp-task-option input[type="checkbox"]{
  width:auto;
  min-width:16px;
  height:16px;
}

.evbtp-subtask{
  display:grid;
  grid-template-columns:minmax(140px,1fr) 78px minmax(260px,2fr) auto;
  align-items:center;
  gap:14px;
  padding:14px 0;
  border-top:1px solid #e3e7eb;
}

@media(max-width:720px){
  .evbtp-subtask{
    grid-template-columns:1fr;
  }
}


/* EV_TASK_ADMIN_PREMIUM_LAYOUT_V8
   Visual polish only. No API, no counters, no logic changes. */

#evBrokerTaskTab{
  background:
    radial-gradient(circle at top right, rgba(216,185,93,.18), transparent 34%),
    linear-gradient(180deg,#f4f1e7 0%,#ece9df 100%);
  min-height:100vh;
}

.evbtp-wrap{
  max-width:1180px;
  padding:22px 18px 36px;
}

.evbtp-head{
  align-items:flex-start;
  justify-content:space-between;
  margin-bottom:18px;
  direction:rtl;
}

.evbtp-head h2{
  font-size:24px;
  line-height:1.2;
  letter-spacing:-.02em;
  color:#0f2d46;
}

.evbtp-muted{
  color:#617386;
  font-size:13px;
  margin-top:6px;
}

.evbtp-panel{
  border-radius:22px;
  border:1px solid rgba(15,45,70,.12);
  background:rgba(255,255,255,.92);
  box-shadow:0 18px 46px rgba(15,45,70,.10);
  padding:20px 22px;
  overflow:hidden;
}

.evbtp-add{
  direction:rtl;
  display:grid;
  grid-template-columns:minmax(260px,1fr) 180px 170px;
  grid-template-areas:
    "broker broker broker"
    "bestOption bestRounds submit"
    "dailyOption dailyRounds submit";
  gap:14px 12px;
  align-items:end;
  margin:0;
}

.evbtp-add label{
  color:#0f2d46;
  font-weight:950;
  font-size:13px;
  gap:8px;
}

.evbtp-add label:nth-of-type(1){grid-area:broker}
.evbtp-add label:nth-of-type(2){grid-area:bestOption}
.evbtp-add label:nth-of-type(3){grid-area:bestRounds}
.evbtp-add label:nth-of-type(4){grid-area:dailyOption}
.evbtp-add label:nth-of-type(5){grid-area:dailyRounds}
.evbtp-add #evbtpAdd{grid-area:submit}

.evbtp-add select,
.evbtp-add input{
  min-height:46px;
  border-radius:14px;
  border:1px solid rgba(15,45,70,.18);
  background:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
  font-weight:900;
  color:#0f2d46;
}

.evbtp-add select:focus,
.evbtp-add input:focus{
  outline:none;
  border-color:rgba(216,185,93,.95);
  box-shadow:0 0 0 4px rgba(216,185,93,.18);
}

.evbtp-task-option{
  min-height:76px;
  border:1px solid rgba(15,45,70,.12);
  background:linear-gradient(180deg,#ffffff,#f8fafc);
  border-radius:18px;
  padding:12px 14px;
  justify-content:center;
}

.evbtp-task-option span{
  justify-content:space-between;
  font-size:14px;
}

.evbtp-task-option small{
  color:#617386;
  font-size:12px;
  font-weight:900;
}

.evbtp-task-option input[type="checkbox"]{
  accent-color:#1d73d8;
  transform:scale(1.08);
}

.evbtp-btn{
  min-height:46px;
  border-radius:14px;
  background:linear-gradient(135deg,#d8b85d,#f0d985);
  color:#0f2d46;
  box-shadow:0 10px 24px rgba(171,134,35,.20);
  transition:transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.evbtp-btn:hover{
  transform:translateY(-1px);
  filter:saturate(1.04);
  box-shadow:0 14px 28px rgba(171,134,35,.26);
}

.evbtp-grid{
  margin-top:18px;
}

.evbtp-card{
  border-radius:20px;
  background:linear-gradient(180deg,#ffffff,#fbfcfd);
  box-shadow:0 10px 28px rgba(15,45,70,.08);
}

.evbtp-subtask{
  border-top:1px solid rgba(15,45,70,.10);
  padding:16px 2px;
}

@media(max-width:780px){
  .evbtp-head{
    direction:ltr;
  }

  .evbtp-add{
    grid-template-columns:1fr;
    grid-template-areas:
      "broker"
      "bestOption"
      "bestRounds"
      "dailyOption"
      "dailyRounds"
      "submit";
  }

  .evbtp-panel{
    padding:16px;
  }
}
