.auth-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 20px 60px 20px;
}

.auth-container {
  max-width: 520px;
  width: 100%;
}

.auth-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  border: 1px solid #f0f0f0;
  text-align: center;
}

.auth-header {
  margin-bottom: 30px;
}

.auth-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.auth-logo img {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  align-self: center;
}

.auth-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  align-self: center;
  line-height: 1;
  height: 50px;
  display: flex;
  align-items: center;
}

.auth-form {
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  font-size: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  color: #333;
}

.form-control:focus {
  outline: none;
  border-color: #FF6B35;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-control::placeholder {
  color: #999;
}

.form-control.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 5px;
  font-size: 0.875rem;
  color: #dc3545;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  margin-top: 2px;
  accent-color: #FF6B35;
}

.form-check label {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 5px;
  cursor: pointer;
}

.form-check small {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 5px;
  line-height: 1.4;
}

.form-check small b {
  color: #FF6B35;
}

.submit-button {
  width: 100%;
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.submit-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-form .btn-link {
  color: #b0b0b0;
  font-size: 0.92rem;
  margin-top: 16px;
  display: inline-block;
  text-decoration: none;
  transition: color 0.2s;
  font-family: inherit;
}

.auth-form .btn-link:hover {
  color: #888;
  text-decoration: none;
}

.btn-login:hover,
.btn-login:focus,
.btn-login:target {
  transform: none !important;
  box-shadow: none !important;
}

.auth-footer {
  text-align: center;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #e9ecef;
}

.auth-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

.auth-footer a {
  color: #FF6B35;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.auth-footer a:hover {
  color: #E55A2B;
  text-decoration: underline;
}

.alert {
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  border: none;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border-left: 4px solid #dc3545;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border-left: 4px solid #28a745;
}

/* Social Login Styles */
.social-login {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e9ecef;
}

.social-login .separator {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.social-login .separator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e9ecef;
}

.social-login .separator span {
  background: #fff;
  padding: 0 15px;
  color: #666;
  font-size: 0.9rem;
}

.social-button {
  width: 100%;
  padding: 12px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  background: #fff;
  color: #333;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-button:hover {
  border-color: #FF6B35;
  background: #f8f9fa;
  transform: translateY(-1px);
}

.social-button i {
  margin-right: 10px;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 480px) {
  .auth-section {
    padding: 80px 5px 30px 5px;
  }

  .auth-card {
    padding: 10px;
    border-radius: 8px;
  }

  .auth-title {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-control {
    padding: 12px 15px;
  }

  .submit-button {
    padding: 12px 25px;
  }

  .auth-container {
    max-width: 100%;
  }
}

.auth-card {
  animation: slideUp 0.5s ease-out;
}

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

#new-organizer-form {
  scroll-margin-top: clamp(160px, 22vh, 280px);
}
