/* Modern Login Layout Styles - Maintaining existing card structure */

/* Header Section */
.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem 0;
}

.login-subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.4;
}

.midi-count {
  color: var(--color);
  font-weight: 600;
}

/* Form Styles */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


/* Forgot Password */
.forgot-password {
  text-align: left;
  margin-bottom: 1rem;
}

.forgot-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  color: var(--color);
}

/* Separator */
.separator {
  text-align: center;
  position: relative;
  margin: 1.5rem 0;
}

.separator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--foreground);
}

.separator span {
  background: var(--foreground);
  color: var(--text-muted);
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* Social Login Buttons */
.social-login {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.social-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--background);
  border: 1px solid var(--foreground);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.social-btn:hover:not(.disabled) {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--foreground);
  color: var(--text-muted);
}

.social-btn i,
.social-btn svg {
  font-size: 1.125rem;
}

/* Google Button - Brand Colors */
.google-btn.active {
  background: #ffffff;
  border: 1px solid #dadce0;
  color: #3c4043;
}

.google-btn.active:hover {
  background: #f8f9fa;
  border-color: #dadce0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.google-btn.active .google-icon {
  width: 20px;
  height: 20px;
}

/* Apple Button - Brand Colors */
.apple-btn {
  background: #000000;
  border: 1px solid #000000;
  color: #ffffff;
}

.apple-btn i {
  color: #ffffff;
}

.apple-btn.disabled {
  background: var(--foreground);
  border-color: var(--foreground);
  color: var(--text-muted);
}

.apple-btn.disabled i {
  color: var(--text-muted);
}

/* X (Twitter) Button - Brand Colors */
.x-btn {
  background: #000000;
  border: 1px solid #000000;
  color: #ffffff;
}

.x-btn i {
  color: #ffffff;
}

.x-btn.disabled {
  background: var(--foreground);
  border-color: var(--foreground);
  color: var(--text-muted);
}

.x-btn.disabled i {
  color: var(--text-muted);
}

/* Sign Up Link Container */
.signup-link-container {
  text-align: center;
  margin-top: 1.5rem;
}

.signup-text {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.signup-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  margin-left: 0.25rem;
  transition: color 0.3s ease;
}

.signup-link:hover {
  color: var(--color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .login-title {
    font-size: 1.75rem;
  }
  
  .social-login {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .social-btn {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .login-title {
    font-size: 1.5rem;
  }
  
  .login-form {
    gap: 1.25rem;
  }
  
  .social-btn {
    padding: 0.875rem 1rem;
  }
}