
.mvs-ma-wrap,
.mvs-ma-wrap *{
  box-sizing:border-box;
}

.mvs-ma-wrap{
  --green:#159957;
  --green-dark:#0f7d49;
  --text:#18212b;
  --muted:#69747d;
  --border:#e5ebe8;
  --shadow:0 8px 24px rgba(22,45,34,.07);
  width:100%;
  max-width:1220px;
  margin:0 auto;
  padding:30px 16px 50px;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
}

.mvs-ma-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin-bottom:24px;
}

.mvs-ma-kicker{
  display:block;
  color:var(--green);
  font-size:12px;
  font-weight:800;
  letter-spacing:.7px;
  margin-bottom:6px;
}

.mvs-ma-head h1{
  margin:0 0 7px;
  font-size:36px;
  line-height:1.1;
  letter-spacing:-.8px;
}

.mvs-ma-head p{
  margin:0;
  color:var(--muted);
}

.mvs-ma-add{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:48px;
  padding:0 19px;
  border-radius:11px;
  background:var(--green);
  color:#fff !important;
  text-decoration:none !important;
  font-weight:800;
}

.mvs-ma-add:hover{
  background:var(--green-dark);
}

.mvs-ma-add span{
  font-size:22px;
  line-height:1;
}

.mvs-ma-notice{
  padding:15px 17px;
  border-radius:12px;
  margin-bottom:18px;
  font-weight:700;
}

.mvs-ma-notice.success{
  background:#e9f8f0;
  border:1px solid #ccebd9;
  color:#126c40;
}

.mvs-ma-notice.error{
  background:#fff1f1;
  border:1px solid #f0cccc;
  color:#a52828;
}

.mvs-ma-status{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:27px 29px;
  margin-bottom:24px;
}

.mvs-ma-status-main{
  flex:1;
}

.mvs-ma-plan{
  color:var(--green);
  font-size:17px;
  font-weight:800;
  margin-bottom:5px;
}

.mvs-ma-status h2{
  margin:0 0 13px;
  font-size:23px;
}

.mvs-ma-progress{
  width:min(600px,100%);
  height:10px;
  border-radius:30px;
  background:#e5e9e7;
  overflow:hidden;
}

.mvs-ma-progress span{
  display:block;
  min-width:12px;
  height:100%;
  border-radius:30px;
  background:#69c997;
}

.mvs-ma-status p{
  margin:10px 0 0;
  color:#5f6b74;
}

.mvs-ma-status-badge{
  width:155px;
  text-align:center;
  border-left:1px solid var(--border);
}

.mvs-ma-status-badge div{
  width:70px;
  height:70px;
  margin:0 auto 7px;
  border-radius:50%;
  background:#e8f7ef;
  color:var(--green);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:38px;
}

.mvs-ma-status-badge span{
  color:#46515a;
  font-size:12px;
}

.mvs-ma-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-bottom:24px;
}

.mvs-ma-card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow);
  transition:.18s ease;
}

.mvs-ma-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 30px rgba(22,45,34,.11);
}

.mvs-ma-image{
  position:relative;
  height:235px;
  background:#f3f6f4;
  overflow:hidden;
}

.mvs-ma-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.mvs-ma-noimage{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#8d9892;
}

.mvs-ma-state{
  position:absolute;
  top:14px;
  right:14px;
  padding:6px 10px;
  border-radius:30px;
  font-size:12px;
  font-weight:800;
  backdrop-filter:blur(5px);
}

.mvs-ma-state.active{
  background:rgba(229,248,237,.95);
  color:#147445;
}

.mvs-ma-state.inactive{
  background:rgba(245,245,245,.95);
  color:#66716b;
}

.mvs-ma-card-body{
  padding:19px;
}

.mvs-ma-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.mvs-ma-meta span{
  padding:4px 8px;
  border-radius:20px;
  background:#f1f5f3;
  color:#66716b;
  font-size:11px;
  font-weight:700;
}

.mvs-ma-card h3{
  margin:0 0 8px;
  font-size:20px;
  line-height:1.3;
}

.mvs-ma-price{
  color:var(--green);
  font-size:20px;
  font-weight:900;
  margin-bottom:17px;
}

.mvs-ma-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
}

.mvs-ma-btn{
  min-height:42px;
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:9px 11px;
  font-size:13px;
  font-weight:800;
  text-decoration:none !important;
}

.mvs-ma-btn.edit{
  background:#e8f7ef;
  color:#137646 !important;
}

.mvs-ma-btn.toggle{
  background:#edf4fb;
  color:#236eaa !important;
}

.mvs-ma-btn.delete{
  grid-column:1 / -1;
  background:#fff1f1;
  color:#b73535 !important;
}

.mvs-ma-empty{
  padding:60px 20px;
  text-align:center;
  border:1px solid var(--border);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--shadow);
  margin-bottom:24px;
}

.mvs-ma-empty-icon{
  width:80px;
  height:80px;
  margin:0 auto 16px;
  border-radius:50%;
  background:#e9f6ff;
  color:#267bc1;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:40px;
}

.mvs-ma-empty h2{
  margin:0 0 8px;
  font-size:24px;
}

.mvs-ma-empty p{
  color:var(--muted);
  margin-bottom:20px;
}

.mvs-ma-empty a{
  display:inline-flex;
  min-height:48px;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  border-radius:10px;
  background:var(--green);
  color:#fff !important;
  text-decoration:none !important;
  font-weight:800;
}

.mvs-ma-plus{
  display:grid;
  grid-template-columns:70px 1fr 220px;
  gap:18px;
  align-items:center;
  background:linear-gradient(90deg,#fbfffd,#f5fbf7);
  border:1px solid #cfe9da;
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:22px 25px;
}

.mvs-ma-plus-icon{
  width:58px;
  height:58px;
  border-radius:50%;
  background:#e8f7ef;
  color:var(--green);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:35px;
}

.mvs-ma-plus-copy h3{
  margin:0 0 5px;
  font-size:19px;
}

.mvs-ma-plus-copy p{
  margin:0;
  color:#56626c;
}

.mvs-ma-plus-action{
  text-align:center;
}

.mvs-ma-plus-action strong{
  display:block;
  margin-bottom:8px;
  padding:7px 12px;
  border-radius:30px;
  background:var(--green);
  color:#fff;
}

.mvs-ma-plus-action a{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid #d5ddd8;
  background:#fff;
  color:var(--green-dark) !important;
  text-decoration:none !important;
  font-weight:800;
}

.mvs-ma-login,
.mvs-ma-error{
  max-width:650px;
  margin:30px auto;
  padding:28px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  box-shadow:var(--shadow);
}

.mvs-ma-login a{
  display:inline-block;
  margin-top:8px;
  padding:11px 17px;
  border-radius:10px;
  background:var(--green);
  color:#fff !important;
  text-decoration:none !important;
  font-weight:800;
}

@media(max-width:980px){
  .mvs-ma-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:700px){
  .mvs-ma-wrap{
    padding:22px 12px 35px;
  }

  .mvs-ma-head{
    align-items:flex-start;
  }

  .mvs-ma-head h1{
    font-size:29px;
  }

  .mvs-ma-add{
    min-height:44px;
    padding:0 13px;
    font-size:13px;
  }

  .mvs-ma-status{
    padding:21px 17px;
  }

  .mvs-ma-status h2{
    font-size:19px;
  }

  .mvs-ma-status-badge{
    width:90px;
  }

  .mvs-ma-status-badge div{
    width:55px;
    height:55px;
    font-size:31px;
  }

  .mvs-ma-grid{
    grid-template-columns:1fr;
  }

  .mvs-ma-image{
    height:260px;
  }

  .mvs-ma-plus{
    grid-template-columns:55px 1fr;
    padding:19px 16px;
  }

  .mvs-ma-plus-icon{
    width:50px;
    height:50px;
  }

  .mvs-ma-plus-action{
    grid-column:1 / -1;
  }
}

@media(max-width:470px){
  .mvs-ma-head{
    display:block;
  }

  .mvs-ma-add{
    margin-top:16px;
  }

  .mvs-ma-status-badge{
    display:none;
  }

  .mvs-ma-image{
    height:220px;
  }

  .mvs-ma-actions{
    grid-template-columns:1fr;
  }

  .mvs-ma-btn.delete{
    grid-column:auto;
  }
}
