/* ==========================================
   Profile Page Styles
   ========================================== */
.profile-container {
  position: relative;
  padding: 25px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .profile-container {
    padding: 20px 16px;
  }
}

/* Custom Profile Form Input Focus States */
.form-control {
  transition: all 0.2s ease-in-out !important;
}

.form-control:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 4px rgba(34, 129, 145, 0.12) !important;
  background-color: #ffffff !important;
}

/* ==========================================
   Auth Form Transition Animations
   ========================================== */

@keyframes authSlideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes authSlideInFromRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes authFadeOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(12px);
  }
}

.auth-form-enter-login {
  animation: authSlideInFromRight 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.auth-form-enter-register {
  animation: authSlideInFromLeft 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.auth-form-exit {
  animation: authFadeOut 0.18s ease-in forwards;
}

/* Smooth card height transition */
.auth-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Switcher tab pill animation */
.auth-switcher-btn {
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, font-weight 0.15s ease !important;
}

/* Title text fade */
@keyframes titleFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.auth-title-animate {
  animation: titleFadeIn 0.3s ease forwards;
}
