@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;500;600;700&family=Rubik:wght@400;500;600;700&display=swap");

:root {
  --umsl-bg: #fff1f2;
  --umsl-panel: #fff7f8;
  --umsl-panel-strong: #ffffff;
  --umsl-text: #241316;
  --umsl-muted: #6b5960;
  --umsl-line: #fecdd3;
  --umsl-primary: #e11d48;
  --umsl-primary-dark: #9f1239;
  --umsl-accent: #2563eb;
  --umsl-blue: #2563eb;
  --umsl-radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(225, 29, 72, 0.05), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), transparent 44%),
    var(--umsl-bg);
  color: var(--umsl-text);
  font-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.umsl-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: clamp(380px, 36vw, 500px) minmax(520px, 1fr);
  overflow-x: hidden;
  font-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--umsl-text);
}

.umsl-left {
  position: fixed;
  inset: 0 auto 0 0;
  width: clamp(380px, 36vw, 500px);
  min-height: 100vh;
  max-height: 100vh;
  overflow: auto;
  padding: clamp(26px, 5vh, 50px) clamp(24px, 4vw, 46px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 247, 248, 0.96)),
    var(--umsl-panel);
  border-right: 1px solid var(--umsl-line);
  box-shadow: 22px 0 70px rgba(76, 5, 25, 0.08);
}

.umsl-left-inner {
  min-height: calc(100vh - clamp(52px, 10vh, 100px));
  display: grid;
  align-content: center;
  gap: 18px;
}

.umsl-brand {
  display: inline-grid;
  grid-template-columns: 42px auto;
  gap: 10px;
  align-items: center;
  width: max-content;
}

.umsl-brand span,
.umsl-provider span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 600;
}

/* The span holds the UnliTube mark, which paints its own rose circle. */
.umsl-brand span {
  width: 42px;
  height: 42px;
  background: transparent;
  box-shadow: none;
}

.umsl-brand span svg {
  display: block;
  width: 100%;
  height: 100%;
}

.umsl-brand strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.umsl-brand strong b {
  color: var(--umsl-primary);
  font-weight: inherit;
}

.umsl-copy {
  display: grid;
  gap: 8px;
  max-width: 400px;
}

.umsl-copy p,
.umsl-right-head p,
.umsl-video-copy p,
.umsl-admin-note,
.umsl-provider small {
  margin: 0;
  color: var(--umsl-muted);
  line-height: 1.45;
}

.umsl-copy > span {
  max-width: 360px;
  color: var(--umsl-muted);
  font-size: 14px;
  line-height: 1.45;
}

.umsl-copy p:first-child,
.umsl-right-head p {
  color: var(--umsl-primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 12px;
}

.umsl-copy h1 {
  margin: 0;
  max-width: 420px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0;
}

.umsl-panel-head {
  display: grid;
  gap: 2px;
}

.umsl-panel-head strong {
  font-size: 16px;
  font-weight: 500;
}

.umsl-panel-head small,
.umsl-panel-head span {
  color: var(--umsl-muted);
  line-height: 1.35;
  font-size: 12px;
}

.umsl-admin-note {
  max-width: 480px;
  font-size: 13px;
}

.umsl-primary-link {
  display: inline-block;
  margin-top: 12px;
  border-radius: var(--umsl-radius);
  padding: 12px 16px;
  background: var(--umsl-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.umsl-card {
  align-self: center;
  justify-self: center;
  width: min(520px, calc(100vw - 36px));
  padding: 24px;
  border: 1px solid var(--umsl-line);
  border-radius: var(--umsl-radius);
  background: var(--umsl-panel-strong);
}

.umsl-modal-buttons {
  max-width: none;
}

@media (max-width: 980px) {
  .umsl-shell {
    grid-template-columns: 1fr;
  }

  .umsl-left {
    position: static;
    width: auto;
    min-height: auto;
    max-height: none;
    padding-top: 34px;
    border-right: 0;
    border-bottom: 1px solid var(--umsl-line);
  }

  .umsl-left-inner {
    min-height: auto;
    align-content: start;
  }

  .umsl-right {
    grid-column: auto;
    min-height: auto;
    padding-top: 22px;
  }

  .umsl-right-head {
    position: static;
  }
}

@media (max-width: 620px) {
  .umsl-left,
  .umsl-right {
    padding: 18px;
  }

  .umsl-copy h1 {
    font-size: 26px;
  }

  .umsl-video-list {
    grid-template-columns: 1fr;
  }
}
