/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --primary: #ff4b91;
  --primary-dark: #e83e8c;
  --secondary: rgba(197, 45, 103, 0.9);
  --dark: #2d2b55;
  --light: #f8f9fa;
  --gray: #dce4eb;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --online: #28a745;
  --offline: #6c757d;
}

body {
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  background: linear-gradient(135deg, #ff4b91, rgba(197, 45, 103, 0.9));
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

/* Auth Container */
.auth-container {
  display: flex;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  min-height: 600px;
  position: relative;
  min-width: 700px;
}

.auth-left {
  flex: 1;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  transition: transform 0.8s ease;
}

.auth-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.auth-left-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.auth-left h1 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 700;
}

.auth-left p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.auth-features {
  list-style: none;
  margin-top: 30px;
}

.auth-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.auth-features i {
  margin-right: 10px;
  font-size: 20px;
  color: var(--primary);
  background: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-right {
  flex: 1;
  padding: 50px;
  background: url("../uploads/auth-img.jpg");
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-form-container {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 30px;
  transition: transform 0.5s ease;
}

.auth-logo i {
  margin-right: 10px;
  font-size: 32px;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h2 {
  color: var(--dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.auth-header p {
  color: var(--gray);
}

.auth-form {
  position: relative;
  width: 100%;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e1e1e1;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 75, 145, 0.2);
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.form-check-input {
  margin-right: 10px;
}

.form-check-label {
  font-size: 14px;
  color: var(--gray);
}

.form-check-label a {
  color: var(--primary);
  text-decoration: none;
}

.btn {
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-size: 16px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background: #5a52e0;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.auth-divider {
  text-align: center;
  margin: 25px 0;
  position: relative;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e1e1e1;
}

.auth-divider span {
  background: white;
  padding: 0 15px;
  color: var(--gray);
  font-size: 14px;
}

.social-auth {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.social-btn {
  flex: 1;
  padding: 12px;
  border: 2px solid #e1e1e1;
  border-radius: 10px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.social-btn:hover {
  border-color: var(--primary);
  background: #fff5f9;
}

.social-btn i {
  font-size: 18px;
  margin-right: 8px;
}

.social-btn.facebook i {
  color: #3b5998;
}

.social-btn.google i {
  color: #db4437;
}

.auth-footer {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: var(--gray);
}

.auth-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

/* Back to Home */
.back-home {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}

.back-home a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.back-home i {
  margin-right: 8px;
}

/* Success Message */
.success-message {
  background: #d4edda;
  color: #155724;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
  animation: slideInDown 0.5s ease;
}

/* Animation Particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
}

/* Animation Keyframes */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgba(255, 75, 145, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 75, 145, 0.8);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 75, 145, 0.5);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .auth-container {
    flex-direction: column;
    min-width: 400px;
  }

  .auth-left {
    padding: 30px;
    min-height: 170px;
  }

  .auth-right {
    padding: 30px;
    background-size: cover;
  }

  .social-auth {
    flex-direction: column;
  }
}
