/* Estilos especificos de esta vista (no compartidos con otras) */
.bubbles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; pointer-events: none; }
.bubble { position: absolute; bottom: -150px; background: rgba(155, 124, 184, 0.5); border-radius: 50%; opacity: 0.7; animation: rise linear infinite; box-shadow: 0 0 20px rgba(155, 124, 184, 0.3); }
.bubble:nth-child(1) { width: 80px; height: 80px; left: 10%; animation-duration: 15s; background: rgba(139, 92, 172, 0.6); animation-delay: 0s; }
.bubble:nth-child(2) { width: 60px; height: 60px; left: 20%; animation-duration: 12s; background: rgba(155, 124, 184, 0.55); animation-delay: 2s; }
.bubble:nth-child(3) { width: 100px; height: 100px; left: 35%; animation-duration: 18s; background: rgba(123, 104, 238, 0.5); animation-delay: 4s; }
.bubble:nth-child(4) { width: 50px; height: 50px; left: 50%; animation-duration: 14s; background: rgba(147, 112, 219, 0.6); animation-delay: 0s; }
.bubble:nth-child(5) { width: 70px; height: 70px; left: 55%; animation-duration: 16s; background: rgba(138, 43, 226, 0.45); animation-delay: 3s; }
.bubble:nth-child(6) { width: 90px; height: 90px; left: 65%; animation-duration: 13s; background: rgba(155, 124, 184, 0.6); animation-delay: 5s; }
.bubble:nth-child(7) { width: 65px; height: 65px; left: 75%; animation-duration: 17s; background: rgba(139, 92, 172, 0.55); animation-delay: 1s; }
.bubble:nth-child(8) { width: 85px; height: 85px; left: 85%; animation-duration: 19s; background: rgba(123, 104, 238, 0.5); animation-delay: 6s; }
.bubble:nth-child(9) { width: 55px; height: 55px; left: 90%; animation-duration: 11s; background: rgba(147, 112, 219, 0.6); animation-delay: 2s; }
.bubble:nth-child(10) { width: 75px; height: 75px; left: 5%; animation-duration: 20s; background: rgba(138, 43, 226, 0.5); animation-delay: 7s; }
@keyframes rise { 0% { bottom: -150px; transform: translateX(0) scale(1); opacity: 0.7; } 50% { transform: translateX(100px) scale(1.1); opacity: 0.9; } 100% { bottom: 110vh; transform: translateX(-50px) scale(0.8); opacity: 0; } }
body { background: #f3eefa; }
.login-container { background: #fff; border-radius: 15px; box-shadow: 0 0 30px rgba(0,0,0,0.15); display: flex; overflow: hidden; width: 850px; max-width: 95%; margin: auto; position: relative; z-index: 1; animation: fadeIn 0.5s ease-in; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.login-left { background: linear-gradient(135deg, #3d2f78, #564697); color: white; width: 45%; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 40px 20px; text-align: center; }
.login-left h2 { font-size: 28px; font-weight: 600; margin-bottom: 10px; }
.login-left p { font-size: 14px; opacity: 0.9; margin-bottom: 20px; }
.login-left img { width: 80%; max-width: 240px; margin-top: 20px; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.login-right { width: 55%; padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.login-logo { display: block; margin: 0 auto 20px auto; height: 70px; width: auto; max-width: 220px; }
.login-right h3 { color: #9b7cb8; font-weight: 600; margin-bottom: 30px; text-align: center; font-size: 26px; }
.btn-login { background: linear-gradient(135deg, #f5a3c7, #9b7cb8); border: none; color: white; font-weight: 500; border-radius: 25px; padding: 12px; transition: all 0.3s; font-size: 16px; cursor: pointer; }
.btn-login:hover { background: linear-gradient(135deg, #9b7cb8, #f5a3c7); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(155, 124, 184, 0.4); }
.btn-login:active { transform: translateY(0); }
a { text-decoration: none; color: #9b7cb8; font-size: 0.9em; }
a:hover { text-decoration: underline; }
#msg { margin-bottom: 15px; }
@media screen and (max-width: 768px) {
  body { padding: 10px; }
  .login-container { flex-direction: column; width: 100%; max-width: 500px; }
  .login-left { width: 100%; padding: 30px 20px; order: 1; }
  .login-left h2 { font-size: 24px; }
  .login-left p { font-size: 13px; }
  .login-left img { max-width: 180px; margin-top: 15px; }
  .login-right { width: 100%; padding: 30px; order: 2; }
  .login-logo { height: 55px; margin-bottom: 15px; }
  .login-right h3 { font-size: 22px; margin-bottom: 25px; }
  .bubble { transform: scale(0.8); }
}
@media screen and (max-width: 480px) {
  body { padding: 5px; }
  .login-container { border-radius: 10px; max-width: 100%; }
  .login-left { padding: 25px 15px; }
  .login-left h2 { font-size: 20px; }
  .login-left p { font-size: 12px; }
  .login-left img { max-width: 150px; margin-top: 10px; }
  .login-right { padding: 25px 20px; }
  .login-logo { height: 45px; margin-bottom: 12px; }
  .login-right h3 { font-size: 20px; margin-bottom: 20px; }
  .form-control { padding: 10px 18px; font-size: 14px; }
  .btn-login { padding: 10px; font-size: 15px; }
  .mb-3 { margin-bottom: 15px !important; }
  .bubble { transform: scale(0.6); opacity: 0.5; }
  .alert { font-size: 13px; padding: 10px; }
}
@media screen and (max-width: 360px) {
  .login-left { padding: 20px 10px; }
  .login-left h2 { font-size: 18px; }
  .login-left img { max-width: 120px; }
  .login-right { padding: 20px 15px; }
  .login-right h3 { font-size: 18px; }
  .form-control { padding: 9px 15px; font-size: 13px; }
  .btn-login { font-size: 14px; }
}
@media screen and (max-height: 500px) and (orientation: landscape) {
  body { padding: 10px; align-items: flex-start; }
  .login-container { flex-direction: row; margin: 10px auto; }
  .login-left { width: 40%; padding: 20px 15px; }
  .login-left h2 { font-size: 18px; margin-bottom: 5px; }
  .login-left p { font-size: 11px; margin-bottom: 10px; }
  .login-left img { max-width: 100px; margin-top: 10px; }
  .login-right { width: 60%; padding: 20px; }
  .login-right h3 { font-size: 18px; margin-bottom: 15px; }
  .form-control { padding: 8px 15px; }
  .btn-login { padding: 8px; }
  .mb-3 { margin-bottom: 10px !important; }
}
@media screen and (min-width: 1200px) {
  .login-container { width: 900px; }
  .login-left h2 { font-size: 30px; }
  .login-left img { max-width: 260px; }
  .login-right { padding: 60px; }
  .login-right h3 { font-size: 28px; }
}
