/* Estilos para Beatcritik Login */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #000000  50%, #B3B3B4 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.login-container {
  background: rgba(45, 45, 45, 1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
    color: #000000;
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-section {
  margin-bottom: 40px;
}

.music-bars {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 40px;
  margin-bottom: 20px;
}

.bar {
  width: 4px;
  background: linear-gradient(to top, #ff6666, #ff4444);
  margin: 0 2px;
  border-radius: 2px;
  animation: musicBars 1.2s infinite ease-in-out;
}

.bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.bar:nth-child(2) { height: 30px; animation-delay: 0.1s; }
.bar:nth-child(3) { height: 40px; animation-delay: 0.2s; }
.bar:nth-child(4) { height: 35px; animation-delay: 0.3s; }

@keyframes musicBars {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
}

.logo-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff4444;
  margin-bottom: 8px;
}

.logo-subtitle {
  color: #b3b3b3;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.tab-container {
  display: flex;
  background: #b3b3b3;
  border-radius: 12px;
  margin-bottom: 30px;
  padding: 4px;
}

.tab {
  flex: 1;
  padding: 12px;
  background: #b3b3b3;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  color: #ff6666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab.active {
  background: black;
  color: #ff4444;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-section {
  display: none;
}

.form-section.active {
  display: block;
}

.google-btn {
  width: 100%;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #374151;
}

.google-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: #ff4444;
  font-size: 0.85rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ff4444;
}

.divider span {
  padding: 0 15px;
}

.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-label {
  display: block;
  margin-bottom: 6px;
  color: #b3b3b3;
  font-weight: 500;
  font-size: 0.9rem;
}


.input-field::placeholder {
  color: #333; 
}


.input-field:focus::placeholder {
  color: #ffffff; /* blanco cuando escribís */
}

.input-field {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ff8888;
  border-radius: 12px;
  background: #b3b3b3;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input-field:focus {
  outline: none;
  color: white ;
  border-color: #ff4444;
  background: #000000;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.forgot-password {
  text-align: right;
  margin-bottom: 25px;
}

.forgot-password a {
  color: #ff4444;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.forgot-password a:hover {
  color: #1e40af;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff4444 0%, #000000 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 3);
}

.submit-btn:active {
  transform: translateY(0);
}

.signup-link {
  margin-top: 20px;
  color: #ff8888;
  font-size: 0.9rem;
}

.signup-link a {
  color: #ff3333;
  text-decoration: none;
  font-weight: 500;
}

.signup-link a:hover {
  color: #ff3333;
}

/* Loader styles */
.screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 58, 138, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  display: flex;
}

.dot {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  margin: 0 4px;
  animation: bounce 1.5s infinite ease-in-out;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Responsive */
@media (max-width: 480px) {
  .login-container {
    padding: 30px 25px;
    margin: 10px;
  }
  
  .logo-title {
    font-size: 2rem;
  }
}