
/* ================================================================
   ProfeYa V39 · branding consistente
   ================================================================ */

:root{
  --profeya-brand-a:#7138ff;
  --profeya-brand-b:#2f6df6;
  --profeya-brand-c:#20cee2;
}

/* Marca real en accesos, familia, perfiles y registro */
.authBrand .authBrandLogoV39{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:15px!important;
  background:linear-gradient(145deg,var(--profeya-brand-a),var(--profeya-brand-b),var(--profeya-brand-c))!important;
  box-shadow:0 9px 22px rgba(55,71,187,.18)!important;
}
.authBrand .authBrandLogoV39 img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
}
.authBrand strong{
  letter-spacing:-.25px;
}
.authBrand strong .brandYaV39{
  background:linear-gradient(90deg,#5d3df1,#18bfdc);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* Student app topbar: make the logo feel more intentional */
.topbar .brandMark{
  width:48px!important;
  height:48px!important;
  border-radius:15px!important;
  overflow:hidden!important;
  box-shadow:0 9px 20px rgba(47,83,203,.20)!important;
  background:linear-gradient(145deg,var(--profeya-brand-a),var(--profeya-brand-b),var(--profeya-brand-c))!important;
}
.topbar .brandMark img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
.topbar .brandBtn>span:last-child strong{
  letter-spacing:-.45px!important;
}

/* Splash - one time per browser tab */
.profeyaSplashV39{
  position:fixed;
  inset:0;
  z-index:99999;
  display:grid;
  place-items:center;
  padding:24px;
  background:
    radial-gradient(circle at 18% 18%,rgba(114,54,255,.30),transparent 35%),
    radial-gradient(circle at 86% 15%,rgba(31,210,228,.28),transparent 34%),
    linear-gradient(145deg,#eef3ff,#f9fbff 48%,#e9fcff);
  opacity:1;
  visibility:visible;
  transition:opacity .32s ease,visibility .32s ease;
}
.profeyaSplashV39.isLeaving{
  opacity:0;
  visibility:hidden;
}
.profeyaSplashCardV39{
  display:grid;
  justify-items:center;
  text-align:center;
  gap:10px;
}
.profeyaSplashLogoV39{
  width:118px;
  height:118px;
  border-radius:31px;
  box-shadow:0 24px 55px rgba(44,66,174,.22);
  animation:profeyaSplashFloatV39 1.7s ease-in-out infinite;
}
.profeyaSplashNameV39{
  margin:0;
  color:#111951;
  font-size:42px;
  line-height:1;
  font-weight:950;
  letter-spacing:-1.5px;
}
.profeyaSplashNameV39 span{
  background:linear-gradient(90deg,#6542f3,#1cc9e0);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.profeyaSplashTagV39{
  margin:0;
  color:#617092;
  font-size:14px;
  line-height:1.35;
  font-weight:750;
}
.profeyaSplashDotsV39{
  display:flex;
  gap:7px;
  margin-top:5px;
}
.profeyaSplashDotsV39 i{
  width:8px;height:8px;border-radius:999px;
  background:#6f47f2;
  animation:profeyaSplashDotV39 .9s infinite alternate;
}
.profeyaSplashDotsV39 i:nth-child(2){animation-delay:.18s;background:#386cf1}
.profeyaSplashDotsV39 i:nth-child(3){animation-delay:.36s;background:#1dcbdc}

@keyframes profeyaSplashFloatV39{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-6px)}
}
@keyframes profeyaSplashDotV39{
  from{transform:scale(.75);opacity:.45}
  to{transform:scale(1.15);opacity:1}
}

:root[data-theme="dark"] .profeyaSplashV39{
  background:
    radial-gradient(circle at 18% 18%,rgba(114,54,255,.23),transparent 35%),
    radial-gradient(circle at 86% 15%,rgba(31,210,228,.18),transparent 34%),
    linear-gradient(145deg,#091426,#0c1830 50%,#0b2231);
}
:root[data-theme="dark"] .profeyaSplashNameV39{color:#f7f9ff}
:root[data-theme="dark"] .profeyaSplashTagV39{color:#aebbd4}

@media(max-width:600px){
  .authBrand .authBrandLogoV39{
    width:43px!important;height:43px!important;min-width:43px!important;
  }
  .profeyaSplashLogoV39{width:96px;height:96px;border-radius:26px}
  .profeyaSplashNameV39{font-size:35px}
  .profeyaSplashTagV39{font-size:12px}
}

.brandIntroV39{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:16px 0 -8px;
  padding:6px 9px 6px 6px;
  border:1px solid #dde5f7;
  border-radius:999px;
  background:#f8fbff;
  color:#5361b5;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.04em;
}
.brandIntroV39 img{
  width:25px;height:25px;border-radius:8px;
}
:root[data-theme="dark"] .brandIntroV39{
  background:#141e36;
  border-color:#334361;
  color:#b9c4f0;
}
