.mcwrap{
  --ocean: rgba(0,142,199,1);
  --deep: rgba(0,84,141,1);
  --sand: rgba(255,210,128,1);
  max-width: 1100px; margin: 0 auto; padding: 18px 14px 34px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(0,142,199,0.12), rgba(0,0,0,0) 55%),
    radial-gradient(circle at 85% 10%, rgba(255,210,128,0.20), rgba(0,0,0,0) 52%),
    linear-gradient(135deg, rgba(0,142,199,0.14), rgba(255,210,128,0.18));
}

/* Watermark badge branding */
.mcwrap::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('badge.png');
  background-repeat: no-repeat;
  background-position: 98% 14px;
  background-size: 220px auto;
  opacity: 0.06;
  pointer-events: none;
}

.mcwrap > *{
  position: relative;
  z-index: 1;
}
.mchero{
  border-radius: 22px; padding: 18px;
  background: rgba(255,255,255,0.60);
  border: 1px solid rgba(255,255,255,0.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
}
.mcbadge{
  display:inline-flex; padding: 7px 11px; border-radius: 999px;
  background: rgba(255,255,255,0.75); border: 1px solid rgba(0,0,0,0.06);
  font-weight: 900; color: rgba(0,84,141,0.95); margin-bottom: 10px;
}
.mchero h2{ margin:0 0 6px; font-size:28px; }
.mchero p{ margin:0; color: rgba(7,50,74,0.70); font-weight: 800; }

.mctools{ margin-top: 12px; display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.mcsearch{
  flex: 1; min-width: 220px;
  padding: 10px 12px; border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.88);
}
.mcfilter{
  padding: 10px 12px; border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.88);
}
.mcexport{
  padding: 9px 11px; border-radius: 14px;
  text-decoration:none !important;
  font-weight: 1100;
  color: rgba(0,84,141,0.98);
  border: 1px solid rgba(0,84,141,0.12);
  background: rgba(0,142,199,0.10);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mcexport:hover{ transform: translateY(-1px); box-shadow: 0 10px 20px rgba(0,0,0,0.10), 0 0 22px rgba(0,142,199,0.18); }

.mcresults{ margin-top: 14px; }
.mc-empty{
  padding: 12px 14px; border-radius: 18px;
  border: 1px dashed rgba(0,84,141,0.22);
  background: rgba(255,255,255,0.85);
  color: rgba(7,50,74,0.70); font-weight: 900;
}

.mc-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-top: 8px; }
.mc-card{
  border-radius: 22px; padding: 12px;
  background: rgba(255,210,128,0.24); /* beach sand */
  border: 1px solid rgba(0,84,141,0.10);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mc-card:hover{ transform: translateY(-3px) scale(1.01); box-shadow: 0 16px 34px rgba(0,0,0,0.12),0 0 26px rgba(0,142,199,0.18); }
.mc-card-head{ font-weight: 1200; color: rgba(7,50,74,0.95); font-size: 16px; margin-bottom: 8px; }
.mc-list{ margin:0; padding-left: 18px; }
.mc-list li{ margin: 6px 0; color: rgba(7,50,74,0.92); font-weight: 900; }
.mc-edu{
  border:0; background:transparent; padding:0; margin:0;
  font: inherit; color: rgba(0,84,141,0.98);
  cursor:pointer; text-decoration: underline;
}
.mc-edu:hover{ opacity:.85; }
.mc-role{
  display:inline-flex;
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 2px solid rgba(0,142,199,0.55); /* ocean border */
  background: rgba(255,255,255,0.74);
  color: rgba(0,84,141,0.98);
  font-weight: 1100;
  font-size: 12px;
}

/* Sea Wave login overlay */
.mcoverlay{
  position: fixed; inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(0,142,199,0.35), rgba(0,0,0,0) 55%),
              radial-gradient(circle at 85% 10%, rgba(255,210,128,0.22), rgba(0,0,0,0) 52%),
              rgba(0,0,0,0.35);
  display:flex; align-items:center; justify-content:center;
  padding: 16px;
  z-index: 99999;
}
.mclogin{
  width: min(520px, 96vw);
  border-radius: 22px;
  padding: 16px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.18);
}
.mclogin-badge{
  display:inline-flex; padding: 7px 11px; border-radius: 999px;
  background: rgba(0,84,141,0.94); color:#fff; font-weight: 1100;
}
.mclogin h3{ margin:10px 0 6px; font-size:18px; }
.mclogin p{ margin:0 0 10px; color: rgba(7,50,74,0.70); font-weight:900; }
.mclogin input{
  width: 100%;
  padding: 10px 12px; border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.86);
}
.mcbtn{
  margin-top: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,84,141,0.14);
  background: rgba(0,84,141,0.94);
  color:#fff; font-weight: 1100; cursor:pointer;
}
.mcerr{
  margin-top:10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,193,7,0.18);
  border: 1px solid rgba(255,193,7,0.28);
  color: rgba(120,70,0,0.95);
  font-weight: 1000;
}

/* Educator profile modal */
.mcmodal{
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.35);
  display:flex; align-items:center; justify-content:center;
  padding: 14px;
  z-index: 99998;
}
.mcmodal-card{
  width: min(720px, 96vw);
  border-radius: 22px;
  padding: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.18);
  position: relative;
}
.mcmodal-close{
  position:absolute; right: 10px; top: 10px;
  width: 36px; height: 36px; border-radius: 12px;
  border:1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.82);
  cursor:pointer;
}
.mcmodal-title{ font-weight: 1200; color: rgba(7,50,74,0.95); font-size: 18px; margin-bottom: 10px; }
.mcmodal-body{ color: rgba(7,50,74,0.86); font-weight: 900; }
.mcmodal-body ul{ margin:0; padding-left: 18px; }
