:root {
  --primary-color: #4361ee;
  --primary-light: #e6f0ff;
  --success-color: #28a745;
  --error-color: #dc3545;
  --text-color: #2b2d42;
  --light-gray: #f8f9fa;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.auth-container {
  display: flex;
  min-height: 100vh;
  background-color: var(--light-gray);
}

.auth-illustration {
  flex: 1;
  background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-illustration img {
  max-width: 80%;
  height: auto;
}

.auth-form-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  width: 100%;
  max-width: 420px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-title {
  color: var(--text-color);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.auth-form .form-group {
  margin-bottom: 1.5rem;
}

.auth-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
}

.auth-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: all 0.3s;
}

.auth-form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
  outline: none;
}

.auth-btn {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.auth-btn:hover {
  background-color: #3a56e8;
  transform: translateY(-2px);
}

.auth-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 500;
}

.auth-message.success {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
}

.auth-message.error {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--error-color);
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: #6c757d;
}

.auth-footer a {
  color: var(--primary-color);
  text-decoration: none;
}

.unlock-container {
  text-align: center;
  padding: 1.5rem 0;
  cursor: default;
}

.unlock-icon {
  margin: 0 auto 1.5rem;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  border-radius: 50%;
  color: white;
  box-shadow: 0 10px 25px rgba(67, 97, 238, 0.3);
}

.unlock-icon svg {
  width: 48px;
  height: 48px;
}

.user-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem auto;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  max-width: 300px;
  transition: all 0.3s ease;
}

.user-profile:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-right: 1rem;
}

.user-details {
  text-align: left;
}

.username {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
}

.fullname {
  font-size: 1rem;
  color: #6c757d;
}

.unlock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  border: none;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
  margin-top: 1.5rem;
}

.unlock-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(67, 97, 238, 0.4);
  background: linear-gradient(135deg, #3a56e8 0%, #2e0a8c 100%);
}

.btn-icon {
  margin-right: 0.5rem;
  display: flex;
  align-items: center;
}

.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animate__bounceIn {
  animation-name: bounceIn;
}

.animate__fadeIn {
  animation-name: fadeIn;
}

.animate__fadeInUp {
  animation-name: fadeInUp;
}

@keyframes bounceIn {
  from,
  20%,
  40%,
  60%,
  80%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 768px) {
  .auth-container {
    flex-direction: column;
  }

  .auth-illustration {
    padding: 1rem;
    display: none;
  }

  .auth-form-container {
    padding: 1.5rem;
  }
}
