/* Estilos del Login - Diseño Apple Minimalista y Responsivo */

/* Variables CSS */
:root {
  --primary-blue: #007AFF;
  --primary-blue-dark: #0056CC;
  --secondary-blue: #5AC8FA;
  --accent-blue: #34C759;
  --text-primary: #1D1D1F;
  --text-secondary: #86868B;
  --text-tertiary: #C7C7CC;
  --background-primary: #FFFFFF;
  --background-secondary: #F2F2F7;
  --border-color: #E5E5EA;
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.12);
  --border-radius: 16px;
  --border-radius-large: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y estilos base */
* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

/* Animaciones de entrada */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(2deg);
  }
  50% {
    transform: translateY(-25px) rotate(0deg);
  }
  75% {
    transform: translateY(-15px) rotate(-2deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.15);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.15);
  }
  70% {
    transform: scale(1);
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes wave {
  0%, 100% {
    transform: translateX(0) scaleY(1);
  }
  50% {
    transform: translateX(20px) scaleY(1.2);
  }
}

/* Aplicar animaciones */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

.animate-slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all var(--transition-medium);
}

.animate-slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all var(--transition-medium);
}

.animate-slide-in-left.animate-in,
.animate-slide-in-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* Contenedor principal */
body {
  background: linear-gradient(-45deg, #E3F2FD, #BBDEFB, #90CAF9, #64B5F6, #42A5F5, #2196F3, #1E88E5, #1976D2);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  overflow-x: hidden;
}

/* Elementos de fondo animados mejorados */
body::before,
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 200, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(100, 180, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(140, 220, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 60% 60%, rgba(160, 240, 255, 0.08) 0%, transparent 50%);
  animation: float 25s ease-in-out infinite, rotate 30s linear infinite;
}

body::after {
  background: 
    radial-gradient(circle at 90% 10%, rgba(80, 160, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(160, 240, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(120, 200, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(180, 220, 255, 0.1) 0%, transparent 50%);
  animation: float 30s ease-in-out infinite reverse, rotate 40s linear infinite reverse;
}

/* Animaciones de fondo mejoradas */
@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 25%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 75%;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
  }
  20% {
    transform: translateY(-20px) translateX(10px) rotate(5deg) scale(1.05);
  }
  40% {
    transform: translateY(-35px) translateX(-15px) rotate(-3deg) scale(0.95);
  }
  60% {
    transform: translateY(-25px) translateX(20px) rotate(8deg) scale(1.1);
  }
  80% {
    transform: translateY(-15px) translateX(-25px) rotate(-5deg) scale(0.9);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Partículas flotantes adicionales */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 200, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(100, 180, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(140, 220, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 60% 60%, rgba(160, 240, 255, 0.08) 0%, transparent 50%);
  animation: float 25s ease-in-out infinite, rotate 30s linear infinite;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background: 
    radial-gradient(circle at 90% 10%, rgba(80, 160, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(160, 240, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(120, 200, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(180, 220, 255, 0.1) 0%, transparent 50%);
  animation: float 30s ease-in-out infinite reverse, rotate 40s linear infinite reverse;
}

/* Elementos decorativos adicionales en el fondo */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  background: 
    radial-gradient(circle at 15% 85%, rgba(100, 150, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(150, 200, 255, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(200, 230, 255, 0.05) 0%, transparent 60%);
  animation: float 35s ease-in-out infinite, rotate 50s linear infinite;
}

/* Ondas de fondo animadas */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -3;
  background: 
    radial-gradient(ellipse at 50% 50%, rgba(120, 180, 255, 0.03) 0%, transparent 70%);
  animation: wave 15s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: scale(1.2) rotate(90deg);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.4) rotate(180deg);
    opacity: 0.7;
  }
  75% {
    transform: scale(1.2) rotate(270deg);
    opacity: 0.5;
  }
}

/* Contenedor del login - Más ancho y menos alto como solicitado */
.login-container {
  background: var(--background-primary);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-heavy);
  overflow: hidden;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  max-width: 850px;
  width: 100%;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: row;
  min-height: 450px;
  margin: 0 auto;
}

/* Sección del formulario */
.login-form-section {
  flex: 1.2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

/* Logo y sección superior */
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.logo-container {
  position: relative;
  margin-bottom: 1rem;
}

.logo-animation {
  height: 3rem;
  width: auto;
  transition: all var(--transition-medium);
  filter: drop-shadow(0 4px 12px rgba(0, 122, 255, 0.15));
}

.logo-animation:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 24px rgba(0, 122, 255, 0.25));
}

/* Títulos */
.login-title {
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-align: center;
}

.login-subtitle {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 300;
  font-size: 0.875rem;
}

/* Formulario */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Campos de entrada */
.input-group {
  position: relative;
}

.input-label {
  display: block;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.input-container {
  position: relative;
  overflow: hidden;
}

.input-field {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.875rem;
  background: var(--background-secondary);
  transition: all var(--transition-medium);
  outline: none;
  color: var(--text-primary);
}

.input-field:focus {
  border-color: var(--primary-blue);
  background: var(--background-primary);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
  transform: translateY(-2px);
}

.input-field::placeholder {
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

.input-field:focus::placeholder {
  color: var(--text-secondary);
}

.input-focus-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
  transition: width var(--transition-medium);
}

.input-field:focus + .input-focus-border {
  width: 100%;
}

/* Toggle de contraseña */
.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.password-toggle:hover {
  background: rgba(0, 122, 255, 0.1);
  color: var(--primary-blue);
}

/* Opciones de login */
.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox-container {
  position: relative;
  display: inline-block;
  width: 1.125rem;
  height: 1.125rem;
  margin-right: 0.5rem;
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-custom {
  position: absolute;
  top: 0;
  left: 0;
  width: 1.125rem;
  height: 1.125rem;
  background: var(--background-secondary);
  border: 2px solid var(--border-color);
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.checkbox-input:checked ~ .checkbox-custom {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  transform: scale(1.1);
}

.checkbox-custom::after {
  content: '';
  position: absolute;
  display: none;
  left: 0.3125rem;
  top: 0.125rem;
  width: 0.25rem;
  height: 0.5rem;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-input:checked ~ .checkbox-custom::after {
  display: block;
}

.checkbox-text {
  color: var(--text-secondary);
}

.forgot-password {
  color: var(--primary-blue);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.forgot-password:hover {
  color: var(--primary-blue-dark);
}

/* Botón de login */
.login-button {
  position: relative;
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-medium);
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

.login-button:active {
  transform: translateY(0);
}

.button-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left var(--transition-slow);
}

.login-button:hover .button-shine {
  left: 100%;
}

/* Mensaje de error */
.error-message {
  background: #FF3B30;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  text-align: center;
  margin-top: 0.5rem;
  transition: all var(--transition-fast);
}

.error-message.shake {
  animation: shake 0.5s ease-in-out;
}

/* Sección de demo */
.demo-section {
  text-align: center;
  margin-bottom: 1.5rem;
}

.demo-title {
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.demo-buttons {
  display: flex;
  gap: 0.5rem;
}

.demo-button {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: var(--background-primary);
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.demo-button:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.demo-button.doctor:hover {
  border-color: var(--primary-blue);
  background: rgba(0, 122, 255, 0.05);
}

.demo-button.patient:hover {
  border-color: var(--accent-blue);
  background: rgba(52, 199, 89, 0.05);
}

.demo-button.provider:hover {
  border-color: #AF52DE;
  background: rgba(175, 82, 222, 0.05);
}

.demo-icon {
  font-size: 1.125rem;
  margin-right: 0.5rem;
  transition: transform var(--transition-fast);
}

.demo-button:hover .demo-icon {
  transform: scale(1.2);
}

.demo-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Enlace de registro */
.register-link {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.register-text {
  color: var(--primary-blue);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.register-text:hover {
  color: var(--primary-blue-dark);
}

/* Sección de bienvenida */
.welcome-section {
  flex: 0.8;
  background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  min-width: 0;
}

.floating-elements {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Formas flotantes decorativas mejoradas */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  animation: float 8s ease-in-out infinite;
  backdrop-filter: blur(2px);
}

.shape-1 {
  width: 50px;
  height: 50px;
  top: 15%;
  left: 8%;
  animation-delay: 0s;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
}

.shape-2 {
  width: 70px;
  height: 70px;
  top: 55%;
  right: 12%;
  animation-delay: 2s;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.03));
}

.shape-3 {
  width: 35px;
  height: 35px;
  bottom: 25%;
  left: 15%;
  animation-delay: 4s;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
}

.shape-4 {
  width: 60px;
  height: 60px;
  top: 35%;
  right: 25%;
  animation-delay: 1s;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
}

/* Contenido de bienvenida */
.welcome-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.welcome-title {
  font-size: 2rem;
  font-weight: 300;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.welcome-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 18rem;
}

/* Ilustración médica */
.medical-illustration {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
}

.heart-beat {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.95);
  animation: heartbeat 2s ease-in-out infinite;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.pulse-lines {
  display: flex;
  gap: 0.375rem;
}

.pulse-line {
  width: 3px;
  height: 16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  animation: wave 2s ease-in-out infinite;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pulse-line:nth-child(1) {
  animation-delay: 0s;
}

.pulse-line:nth-child(2) {
  animation-delay: 0.3s;
}

.pulse-line:nth-child(3) {
  animation-delay: 0.6s;
}

/* Responsividad completa */
@media (max-width: 1024px) {
  .login-container {
    max-width: 650px;
    margin: 1rem;
  }
  
  .login-form-section,
  .welcome-section {
    padding: 1.75rem;
  }
  
  .welcome-title {
    font-size: 1.75rem;
  }
  
  .welcome-description {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  body {
    padding: 0.5rem;
  }
  
  .login-container {
    max-width: 100%;
    flex-direction: column;
    min-height: auto;
    border-radius: var(--border-radius);
  }
  
  .login-form-section,
  .welcome-section {
    padding: 1.5rem;
  }
  
  .login-form-section {
    order: 2;
  }
  
  .welcome-section {
    order: 1;
    padding: 1.75rem 1.5rem;
  }
  
  .welcome-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .welcome-description {
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
  }
  
  .heart-beat {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }
  
  .demo-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .demo-button {
    padding: 0.625rem 0.375rem;
  }
  
  .demo-icon {
    font-size: 1.125rem;
  }
  
  .demo-text {
    font-size: 0.65rem;
  }
  
  .floating-shape {
    display: none;
  }
}

@media (max-width: 640px) {
  .login-container {
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
  }
  
  .login-form-section,
  .welcome-section {
    padding: 1rem;
  }
  
  .welcome-section {
    padding: 1.25rem 1rem;
  }
  
  .login-title {
    font-size: 1.5rem;
  }
  
  .login-subtitle {
    font-size: 0.8rem;
  }
  
  .input-field {
    padding: 0.75rem 0.875rem;
    font-size: 16px; /* Evita zoom en iOS */
  }
  
  .login-button {
    padding: 0.75rem 1rem;
  }
  
  .demo-button {
    padding: 0.5rem 0.25rem;
  }
  
  .demo-icon {
    font-size: 1rem;
  }
  
  .demo-text {
    font-size: 0.6rem;
  }
  
  .welcome-title {
    font-size: 1.25rem;
  }
  
  .welcome-description {
    font-size: 0.75rem;
  }
  
  .heart-beat {
    font-size: 2rem;
  }
  
  .pulse-lines {
    gap: 0.25rem;
  }
  
  .pulse-line {
    width: 2px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .login-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .checkbox-wrapper {
    align-self: flex-start;
  }
  
  .forgot-password {
    align-self: flex-end;
  }
}

/* Estados de hover mejorados */
.input-field:hover:not(:focus) {
  border-color: var(--text-tertiary);
  background: var(--background-primary);
}

.demo-button:hover {
  background: var(--background-secondary);
}

/* Transiciones suaves para todos los elementos interactivos */
a, button, input, label {
  transition: all var(--transition-fast);
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  body {
    background: #E3F2FD;
    animation: none;
  }
  
  body::before,
  body::after {
    display: none;
  }
}

/* Orientación landscape en móviles */
@media (max-height: 600px) and (orientation: landscape) {
  .login-container {
    min-height: auto;
    max-height: 90vh;
  }
  
  .login-form-section,
  .welcome-section {
    padding: 1rem;
  }
  
  .logo-section {
    margin-bottom: 1rem;
  }
  
  .login-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .login-subtitle {
    margin-bottom: 1rem;
  }
  
  .login-form {
    gap: 1rem;
  }
  
  .separator {
    margin: 1rem 0;
  }
  
  .demo-section {
    margin-bottom: 1rem;
  }
  
  .welcome-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .welcome-description {
    margin-bottom: 1rem;
  }
  
  .medical-illustration {
    margin-top: 1rem;
  }
  
  .heart-beat {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
}
