﻿/* SWESUND EKONOMI - Uppgifter Premium v1 */

.v9-tasks-shell{
  max-width:1520px;
  margin:0 auto;
  padding:26px 28px 56px;
  color:#182b3b;
}

.v9-tasks-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  margin-bottom:22px;
}

.v9-tasks-eyebrow{
  margin-bottom:7px;
  color:#a6854d;
  font-size:10px;
  font-weight:800;
  letter-spacing:.18em;
}

.v9-tasks-hero h1{
  margin:0;
  color:#0d3554;
  font-size:31px;
  line-height:1.08;
  letter-spacing:-.035em;
}

.v9-tasks-hero p{
  max-width:700px;
  margin:8px 0 0;
  color:#72808d;
  font-size:13px;
  line-height:1.6;
}

.v9-tasks-actions{
  display:flex;
  gap:9px;
}

.v9-task-btn{
  min-height:39px;
  padding:0 16px;
  border:1px solid #dbe2e8;
  border-radius:10px;
  background:#fff;
  color:#163e5d;
  font-weight:750;
  cursor:pointer;
  transition:.16s ease;
}

.v9-task-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 18px rgba(14,52,83,.08);
}

.v9-task-btn.primary{
  border-color:#103b5f;
  background:#103b5f;
  color:#fff;
}

.v9-task-btn:disabled{
  opacity:.55;
  cursor:wait;
}

.v9-task-summary{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:11px;
  margin-bottom:18px;
}

.v9-task-summary-card{
  position:relative;
  min-height:105px;
  padding:15px;
  border:1px solid #e1e6ea;
  border-radius:13px;
  background:#fff;
  text-align:left;
  cursor:pointer;
  box-shadow:
    0 2px 4px rgba(12,43,68,.02),
    0 7px 20px rgba(12,43,68,.035);
  transition:.16s ease;
}

.v9-task-summary-card:hover{
  transform:translateY(-1px);
  border-color:#d2dce3;
}

.v9-task-summary-card.active{
  border-color:rgba(188,148,73,.46);
  background:
    linear-gradient(
      135deg,
      rgba(16,59,95,.035),
      rgba(197,161,93,.065)
    );
}

.v9-task-summary-card.active:before{
  content:"";
  position:absolute;
  left:0;
  top:12px;
  bottom:12px;
  width:2px;
  background:#c4a05b;
  border-radius:2px;
}

.v9-task-summary-card span{
  display:block;
  color:#6f7f8c;
  font-size:11px;
  font-weight:750;
}

.v9-task-summary-card strong{
  display:block;
  margin-top:5px;
  color:#123b59;
  font-size:25px;
  line-height:1;
}

.v9-task-summary-card small{
  display:block;
  margin-top:8px;
  color:#9aa3ab;
  font-size:10px;
}

.v9-task-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}

.v9-task-search{
  display:flex;
  align-items:center;
  width:min(520px,100%);
  min-height:40px;
  padding:0 12px;
  border:1px solid #dce3e8;
  border-radius:10px;
  background:#fff;
}

.v9-task-search span{
  margin-right:8px;
  color:#80909d;
}

.v9-task-search input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#153a56;
  font-size:12px;
}

.v9-task-filter-all{
  min-height:38px;
  padding:0 14px;
  border:1px solid #dce3e8;
  border-radius:9px;
  background:#fff;
  color:#637686;
  font-size:11px;
  font-weight:750;
  cursor:pointer;
}

.v9-task-filter-all.active{
  border-color:#c6a15d;
  color:#173e5b;
}

.v9-task-create-card{
  margin-bottom:17px;
  padding:18px;
  border:1px solid #dce3e8;
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 26px rgba(12,43,68,.045);
}

.v9-task-create-card:before{
  content:"";
  display:block;
  height:2px;
  margin:-18px -18px 17px;
  background:
    linear-gradient(
      90deg,
      #123f61,
      #c4a15e 70%,
      transparent
    );
}

.v9-task-create-head{
  display:flex;
  justify-content:space-between;
  gap:15px;
  margin-bottom:16px;
}

.v9-task-create-head span{
  color:#a6854d;
  font-size:9px;
  font-weight:800;
  letter-spacing:.15em;
}

.v9-task-create-head h2{
  margin:3px 0 0;
  color:#123a57;
  font-size:19px;
}

.v9-task-create-close{
  width:34px;
  height:34px;
  border:1px solid #e0e5e9;
  border-radius:9px;
  background:#fff;
  color:#778692;
  font-size:20px;
  cursor:pointer;
}

.v9-task-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}

.v9-task-form-grid label{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.v9-task-form-grid label.wide{
  grid-column:1/-1;
}

.v9-task-form-grid label > span{
  color:#586b7c;
  font-size:10px;
  font-weight:800;
}

.v9-task-form-grid input,
.v9-task-form-grid textarea,
.v9-task-form-grid select{
  width:100%;
  padding:10px 11px;
  border:1px solid #d8e0e6;
  border-radius:9px;
  background:#fbfcfd;
  color:#173a55;
  font:inherit;
  box-sizing:border-box;
}

.v9-task-form-grid textarea{
  resize:vertical;
}

.v9-task-create-actions{
  display:flex;
  justify-content:flex-end;
  gap:9px;
  margin-top:15px;
}

.v9-task-board{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}

.v9-task-card{
  position:relative;
  overflow:hidden;
  border:1px solid #e1e6ea;
  border-radius:13px;
  background:#fff;
  box-shadow:
    0 2px 4px rgba(12,43,68,.02),
    0 8px 22px rgba(12,43,68,.035);
}

.v9-task-card-accent{
  height:2px;
  background:#b8c2ca;
}

.v9-task-card-accent.low{
  background:#8ca8b9;
}

.v9-task-card-accent.normal{
  background:
    linear-gradient(
      90deg,
      #174c70,
      #d2bd8a
    );
}

.v9-task-card-accent.high{
  background:
    linear-gradient(
      90deg,
      #b17e32,
      #d9bd78
    );
}

.v9-task-card-accent.urgent{
  background:#a64c46;
}

.v9-task-card-main{
  padding:15px 16px 14px;
}

.v9-task-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:15px;
}

.v9-task-card-title{
  display:flex;
  min-width:0;
  gap:10px;
}

.v9-task-status-dot{
  width:9px;
  height:9px;
  margin-top:5px;
  flex:0 0 auto;
  border-radius:999px;
  background:#9da8b0;
  box-shadow:0 0 0 4px rgba(157,168,176,.1);
}

.v9-task-status-dot.open{
  background:#557c98;
}

.v9-task-status-dot.progress{
  background:#c0984d;
}

.v9-task-status-dot.waiting{
  background:#9172a3;
}

.v9-task-status-dot.done{
  background:#56866c;
}

.v9-task-status-dot.cancelled{
  background:#a3a9ae;
}

.v9-task-card h3{
  margin:0;
  color:#153d59;
  font-size:14px;
  line-height:1.35;
}

.v9-task-card p{
  margin:5px 0 0;
  color:#81909c;
  font-size:11px;
  line-height:1.45;
}

.v9-task-priority{
  flex:0 0 auto;
  padding:4px 7px;
  border:1px solid #e0e5e8;
  border-radius:999px;
  background:#f8f9fa;
  color:#84909a;
  font-size:8.5px;
  font-weight:800;
}

.v9-task-priority.high{
  border-color:#eadabc;
  color:#987330;
  background:#fcfaf5;
}

.v9-task-priority.urgent{
  border-color:#ebd0ce;
  color:#984844;
  background:#fdf8f7;
}

.v9-task-meta{
  display:flex;
  flex-wrap:wrap;
  gap:14px 22px;
  margin-top:15px;
  padding-top:12px;
  border-top:1px solid #edf0f2;
}

.v9-task-meta span{
  display:flex;
  flex-direction:column;
  gap:2px;
  color:#788995;
  font-size:10px;
}

.v9-task-meta b{
  color:#9aa3aa;
  font-size:8px;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.v9-task-card-footer{
  display:flex;
  justify-content:flex-end;
  margin-top:12px;
}

.v9-task-status-select{
  min-height:33px;
  padding:0 30px 0 10px;
  border:1px solid #dce3e8;
  border-radius:8px;
  background:#fbfcfd;
  color:#173d59;
  font-size:10px;
  font-weight:700;
}

.v9-task-empty,
.v9-task-error{
  grid-column:1/-1;
  min-height:250px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:7px;
  border:1px dashed #d9e0e5;
  border-radius:14px;
  background:#fff;
  color:#8a969f;
  text-align:center;
}

.v9-task-empty-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  margin-bottom:4px;
  border-radius:13px;
  background:#eef4f6;
  color:#315f7c;
  font-size:18px;
}

.v9-task-empty strong,
.v9-task-error strong{
  color:#38556b;
  font-size:13px;
}

.v9-task-empty span,
.v9-task-error span{
  font-size:11px;
}

@media(max-width:1100px){
  .v9-task-summary{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:850px){
  .v9-task-board{
    grid-template-columns:1fr;
  }

  .v9-task-form-grid{
    grid-template-columns:1fr;
  }

  .v9-task-form-grid label.wide{
    grid-column:auto;
  }
}

@media(max-width:700px){
  .v9-tasks-shell{
    padding:20px 16px 40px;
  }

  .v9-tasks-hero{
    flex-direction:column;
  }

  .v9-task-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .v9-task-toolbar{
    align-items:stretch;
    flex-direction:column;
  }
}

/* ============================================================
   SWESUND EKONOMI - UPPGIFTER PREMIUM v1.1 POLISH
   ============================================================ */

.v9-task-card-main{
  padding:13px 15px 12px;
}

.v9-task-card h3{
  font-size:13.5px;
}

.v9-task-card p{
  margin-top:4px;
  font-size:10.5px;
}

.v9-task-meta{
  gap:10px 20px;
  margin-top:12px;
  padding-top:10px;
}

.v9-task-card-footer{
  margin-top:9px;
}

.v9-task-status-select{
  min-height:30px;
  padding:0 28px 0 9px;
  border-color:#e1e6ea;
  border-radius:8px;
  background:#f8fafb;
  color:#496273;
  font-size:9.5px;
  font-weight:700;
  box-shadow:none;
}

.v9-task-status-select:hover{
  border-color:#cfd9e0;
  background:#fff;
}

.v9-task-status-select:focus{
  outline:none;
  border-color:#bda064;
  box-shadow:0 0 0 2px rgba(189,160,100,.09);
}

.v9-task-summary-card{
  min-height:96px;
}

.v9-task-summary-card strong{
  font-size:23px;
}

