/* public/assets/css/auth.css */

.auth-wrapper {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* Background ambient circles to make it look premium */
.auth-wrapper::before,
.auth-wrapper::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  z-index: 1;
}

.auth-wrapper::before {
  background-color: var(--accent);
  top: 10%;
  left: 10%;
}

.auth-wrapper::after {
  background-color: var(--info);
  bottom: 10%;
  right: 10%;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  animation: authCardEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes authCardEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-logo {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.auth-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.auth-subtitle {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

/* Input Styles in Login Form */
.auth-form .form-group {
  margin-bottom: 1.5rem;
}

.auth-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.auth-form .form-control {
  padding: 14px 16px 14px 46px;
  font-size: var(--font-size-base);
  border-radius: var(--border-radius);
  border: 1.5px solid var(--border-color);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.auth-form .form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(15, 52, 96, 0.15);
}

.password-toggle-btn {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.password-toggle-btn:hover {
  color: var(--text-secondary);
}

/* Submit Button */
.btn-login {
  width: 100%;
  padding: 14px 20px;
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(15, 52, 96, 0.3);
  margin-top: 10px;
  transition: var(--transition);
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 52, 96, 0.4);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
}

.btn-login:active {
  transform: translateY(0);
}

/* Footer Copyright inside layout */
.auth-footer {
  text-align: center;
  margin-top: 30px;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.5);
  z-index: 10;
}
