/* Login and Registration Pages Styles */

/* Logo styling for auth pages */
.logo-auth {
  /* Responsive: let Bootstrap columns and img-fluid handle sizing */
  max-width: 100%;
  max-height: 60px; /* Fixed maximum size for auth pages */
  height: auto;
  width: auto;
}

/* Page entrance animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Center content container */
.center-content {
  min-height: 100vh;
  padding: 20px 0;
  animation: fadeInUp 0.6s ease-out;
}

/* Form container card effect */
.auth-form-container {
  max-width: 800px; /* Standardized for both login and registration */
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1),
              0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Logo header */
.logo-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.logo-header h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: bold;
}

/* Label styling */
.form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  display: block;
  font-size: 0.95rem;
}

/* Input field with icon container */
.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #5356e3;
  font-size: 1.1rem;
  z-index: 1;
}

.input-icon-wrapper .form-control {
  padding-left: 45px;
}

/* Form control styling */
.form-control {
  border: 1px solid #ddd;
  transition: transform 0.2s ease, border-color 0.3s ease;
}

.form-control:focus {
  transform: translateY(-2px);
  border-color: #5356e3;
  outline: none;
}

/* Form validation visual feedback */
.form-control:valid:not(:placeholder-shown) {
  border-color: #28a745;
}

.form-control:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #dc3545;
}

/* Heading styling */
h2 {
  font-weight: bold;
}

/* Button styling with shadow and hover effects */
.btn {
  background: linear-gradient(to bottom right, #e710ea, #2b68e0);
  border: 2px solid #5356e3;
  font-weight: bold;
  padding: 5px 20px;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 8px rgba(83, 86, 227, 0.3),
              0 2px 4px rgba(83, 86, 227, 0.2);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(83, 86, 227, 0.4),
              0 4px 8px rgba(83, 86, 227, 0.3);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(83, 86, 227, 0.3),
              0 1px 2px rgba(83, 86, 227, 0.2);
}

/* Error message styling */
.alert-danger {
  background: linear-gradient(to right, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-left: 4px solid #dc3545;
  border-radius: 8px;
  color: #721c24;
  padding: 12px 15px;
  margin-bottom: 20px;
  animation: fadeInUp 0.4s ease-out;
}

/* Link hover effects */
a {
  color: #5356e3;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #e710ea;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Body background override for auth pages */
body {
  background-color: white;
}

/* Responsive styles for auth pages */
@media (max-width: 768px) {
  .logo-header {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
  }
  
  .logo-header h1 {
    font-size: 1.5rem;
  }
  
  .auth-form-container {
    padding: 30px 20px;
  }
}

