@import url('https://mussike.com/styles.css');

/* ============================================
   AUTH LAYOUT (signup / signin)
   ============================================ */

body {
  margin: 0;
  padding: 0;
}

.auth-layout {
  display: grid;
  grid-template-columns: 1fr 616px;
  min-height: 100vh;
}

.auth-panel {
  display: flex;
  flex-direction: column;
  padding: 42px 48px;
  background: var(--color-bg-light);
}

.auth-brand {
  display: block;
  margin-bottom: 0;
}

.auth-logo {
  height: 22px;
  width: auto;
}

.auth-form-wrap {
  max-width: 415px;
  margin: auto;
  width: 100%;
  padding: 60px 0;
}

.auth-titulo {
  font-size: 55px;
  font-weight: var(--font-weight-black);
  line-height: 61px;
  color: var(--color-text-dark);
  margin: 0 0 12px;
}

.auth-subtitulo {
  font-size: 14px;
  color: var(--color-text-dark);
  margin: 0 0 28px;
  line-height: normal;
}

.auth-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 53px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: white;
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-dark);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.auth-google-btn:hover {
  opacity: 0.85;
}

.auth-google-icon {
  width: 23px;
  height: 23px;
}

.auth-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.auth-separator-line {
  flex: 1;
  height: 1px;
  background: #e5e5e5;
  display: block;
}

.auth-separator-text {
  font-size: 14px;
  color: var(--color-text-dark);
}

.auth-field {
  margin-bottom: 16px;
}

.auth-label {
  display: block;
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: black;
  margin-bottom: 8px;
}

.auth-input-wrap {
  position: relative;
}

.auth-input {
  width: 100%;
  height: 53px;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  padding: 0 44px 0 16px;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--color-text-dark);
  background: white;
  box-sizing: border-box;
}

.auth-input::placeholder {
  color: rgba(0,0,0,0.4);
}

.auth-input:focus {
  outline: none;
  border-color: var(--color-brand-green);
}

.auth-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.4;
  padding: 0;
  display: flex;
  align-items: center;
  color: var(--color-text-dark);
}

.auth-submit {
  width: 100%;
  height: 53px;
  background: var(--color-brand-green);
  color: white;
  border: none;
  border-radius: 5px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s ease;
}

.auth-submit:hover {
  background: #2a9a3a;
  opacity: 1;
}

.auth-divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 28px 0 16px;
}

.auth-footer-text {
  font-size: 14px;
  color: var(--color-text-dark);
  margin: 0;
}

.auth-footer-link {
  color: var(--color-brand-green);
  text-decoration: none;
}

.auth-footer-link:hover {
  opacity: 0.8;
}

.auth-foto {
  position: relative;
  overflow: hidden;
}

.auth-foto-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-foto {
    display: none;
  }

  .auth-form-wrap {
    padding: 40px 0;
  }

  .auth-titulo {
    font-size: 36px;
    line-height: 42px;
  }
}

/* ============================================
   ONBOARDING
   ============================================ */

.ob-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--color-bg-light);
}

.ob-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 37px 48px 37px 51px;
  background: var(--color-bg-light);
}

.ob-logout-link {
  font-size: 14px;
  color: #e46962;
  text-decoration: none;
}

.ob-layout {
  display: grid;
  grid-template-columns: 375px 1fr;
  flex: 1;
  background: var(--color-bg-light);
}

.ob-sidebar {
  background: var(--color-bg-light);
  padding: 0 20px 42px 41px;
  display: flex;
  flex-direction: column;
}

.ob-sidebar-bg {
  background: #ceffe2;
  border-radius: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.ob-sidebar-isotipo {
  display: block;
  width: 100px;
  height: auto;
  margin-bottom: 19px;
}

.ob-sidebar-content {
  margin-top: auto;
  margin-bottom: auto;
}

.ob-sidebar-hello {
  font-size: 30px;
  font-weight: 900;
  color: var(--color-text-dark);
  margin: 0 0 16px;
  font-family: var(--font-family);
}

.ob-sidebar-text {
  font-size: 30px;
  font-weight: 900;
  color: var(--color-text-dark);
  line-height: 1.2;
  margin: 0;
  font-family: var(--font-family);
}

.ob-sidebar-footer {
  margin-top: auto;
}

.ob-sidebar-contact {
  font-size: 14px;
  color: var(--color-text-dark);
  margin: 0;
  line-height: 1.6;
  font-weight: 700;
}

.ob-sidebar-contact a {
  color: var(--color-brand-green);
  text-decoration: none;
  display: block;
  font-weight: 400;
}

.ob-main {
  background: var(--color-bg-light);
  padding: 0 48px 42px;
  display: flex;
  flex-direction: column;
}

.ob-steps {
  flex: 1;
  display: flex;
  align-items: center;
}

.ob-step {
  display: none;
  width: 100%;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ob-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.ob-step.exit {
  opacity: 0;
  transform: translateX(-30px);
}

.ob-titulo {
  font-size: 30px;
  font-weight: 900;
  color: var(--color-text-dark);
  margin: 0 0 24px;
  line-height: normal;
  font-family: var(--font-family);
}

.ob-titulo span {
  font-size: 30px;
  font-weight: 400;
  display: block;
}

.ob-input {
  width: 379px;
  height: 53px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 0 16px;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--color-text-dark);
  background: white;
  box-sizing: border-box;
  display: block;
  margin-bottom: 24px;
}

.ob-input:focus {
  outline: none;
  border-color: var(--color-brand-green);
}

.ob-input::placeholder {
  color: rgba(0,0,0,0.4);
}

.ob-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ob-btn-continuar {
  width: 143px;
  height: 53px;
  background: var(--color-brand-green);
  color: white;
  border: none;
  border-radius: 5px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ob-btn-continuar:hover {
  background: #2a9a3a;
}

.ob-omitir {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brand-green);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.ob-omitir:hover {
  opacity: 0.7;
}

.ob-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  max-width: 780px;
}

.ob-genre-tag {
  padding: 10px 20px;
  border: 1px solid #e5e5e5;
  border-radius: 50px;
  background: white;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--color-text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ob-genre-tag:hover {
  border-color: var(--color-brand-green);
}

.ob-genre-tag.selected {
  background: var(--color-brand-green);
  border-color: var(--color-brand-green);
  color: white;
}

.ob-levels {
  display: grid;
  grid-template-columns: repeat(3, 284px);
  gap: 16px;
  margin-bottom: 32px;
}

.ob-level-card {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px 30px;
  background: white;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-family);
  height: 139px;
  box-sizing: border-box;
}

.ob-level-card:hover {
  border-color: var(--color-brand-green);
}

.ob-level-card.selected {
  border-color: var(--color-brand-green);
  background: #f0fdf4;
}

.ob-level-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.ob-level-card p {
  font-size: 13px;
  color: var(--color-text-dark);
  opacity: 0.7;
  margin: 0;
  line-height: 1.5;
}

.ob-error {
  font-size: 14px;
  color: red;
  margin-top: -16px;
  font-family: var(--font-family);
}

@media (max-width: 768px) {
  .ob-layout {
    grid-template-columns: 1fr;
  }

  .ob-sidebar {
    display: none;
  }

  .ob-levels {
    grid-template-columns: 1fr;
  }

  .ob-input {
    width: 100%;
  }
}
/* ============================================
   REGISTRO EXITOSO
   ============================================ */

.exito-bg {
  position: fixed;
  inset: 0;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.exito-circle {
  position: fixed;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--color-brand-green);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: expandCircle 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes expandCircle {
  0%   { width: 0; height: 0; }
  100% { width: 300vmax; height: 300vmax; }
}

.exito-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--color-bg-light);
  padding: 0 24px;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 0.7s;
}

@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.exito-isotipo {
  width: auto;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

.exito-titulo {
  font-family: var(--font-family);
  font-weight: var(--font-weight-black);
  font-size: clamp(32px, 5vw, 55px);
  line-height: 1.1;
  margin: 0 0 16px;
  max-width: initial;
  color: var(--color-bg-light);
}

.exito-subtitulo {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.5;
  margin: 0 auto 40px;
  max-width: 600px;
  color: var(--color-bg-light);
  opacity: 0.9;
}

.exito-btn {
  display: inline-block;
  background: var(--color-text-dark);
  color: var(--color-bg-light);
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: 14px;
  padding: 16px 40px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.exito-btn:hover {
  opacity: 0.85;
}