/* Modal Styles */
.auth-modal .modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  color:#333;
}

.auth-modal .modal-header {
  border-bottom: none;
  padding: 1.5rem 1.5rem 0;
  position: relative;
}

.auth-modal .modal-body {
  padding: 1.5rem;
}

.auth-modal .btn-close {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 10;
}

.modal-backdrop {
  background: rgba(33, 37, 41, 0.6);
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}

/* Form Styles */
.auth-form {
  transition: var(--transition);
}

.form-floating {
  margin-bottom: 1.2rem;
}

/* .form-control {
  border-radius: 10px;
  padding: 1rem 0.75rem;
  border: 2px solid #e9ecef;
  transition: var(--transition);
} */

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

.form-label {
  color: #6c757d;
  font-weight: 500;
}

.btn-auth {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-auth:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
  background: var(--secondary-color);
}

.auth-toggle {
  color: var(--primary-color);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.auth-toggle:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Animation Classes */
.slide-in-right {
  animation: slideInRight 0.5s forwards;
}

.slide-in-left {
  animation: slideInLeft 0.5s forwards;
}

.slide-out-right {
  animation: slideOutRight 0.5s forwards;
}

.slide-out-left {
  animation: slideOutLeft 0.5s forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(50px);
  }
}

@keyframes slideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-50px);
  }
}

/* Password Toggle */
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #6c757d;
  z-index: 5;
}

/* Success Animation */
@keyframes successCheckmark {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-checkmark {
  color: #28a745;
  font-size: 3rem;
  animation: successCheckmark 0.5s ease-in-out;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .auth-modal .modal-dialog {
    margin: 0.5rem;
  }

  .social-buttons {
    flex-wrap: wrap;
  }
}