/* ==========================================================================
   DEQTEQ HRMS — AUTHENTICATION & LANDING PAGE STYLES
   ========================================================================== */

/* Full screen background with sky and clouds */
.auth-bg-wrapper {
  min-height: 100vh;
  width: 100%;
  background-color: #a0c8f0;
  background-image: url('../assets/images/sky_cloud_bg.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  overflow-x: hidden;
}

/* Top Left Platform Brand */
.auth-brand-header {
  position: absolute;
  top: 32px;
  left: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 20;
}

.auth-brand-logo-dq {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
  letter-spacing: -0.02em;
}

.auth-brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.auth-brand-sub {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #64748b;
}

/* Floating Frosted Glass Card */
.auth-glass-card {
  width: 100%;
  max-width: 410px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  padding: 36px 32px 30px;
  box-shadow: 
    0 25px 50px -12px rgba(100, 140, 190, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  position: relative;
  z-index: 10;
  animation: authCardAppear 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes authCardAppear {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Top Icon Badge */
.auth-top-badge {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 14px rgba(100, 130, 180, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
}

.auth-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 21px;
  color: #0f172a;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 12px;
  color: #64748b;
  text-align: center;
  line-height: 1.45;
  margin-bottom: 22px;
  padding: 0 4px;
}

/* Form Inputs */
.auth-input-pill {
  background: rgba(241, 245, 249, 0.65) !important;
  border: 1px solid rgba(226, 232, 240, 0.75) !important;
  border-radius: 12px !important;
  height: 46px !important;
  font-size: 13.5px !important;
  color: #1e293b !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  transition: all 0.2s ease !important;
}

.auth-input-pill::placeholder {
  color: #94a3b8 !important;
  font-size: 13px !important;
}

.auth-input-pill:focus {
  background: #ffffff !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12) !important;
  outline: none !important;
}

.auth-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 15px;
  pointer-events: none;
}

.auth-eye-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  font-size: 15px;
  padding: 4px 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}

.auth-eye-btn:hover {
  color: #0f172a;
}

.auth-forgot-link {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s;
}

.auth-forgot-link:hover {
  color: #0f172a;
  text-decoration: underline;
}

/* Submit Button */
.auth-submit-btn {
  background: #111827;
  color: #ffffff;
  border: none;
  border-radius: 14px;
  height: 46px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.auth-submit-btn:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

/* Social Icons */
.auth-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.auth-social-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

@media (max-width: 576px) {
  .auth-brand-header {
    top: 20px;
    left: 20px;
  }
  .auth-glass-card {
    padding: 30px 22px 24px;
    border-radius: 24px;
  }
}
