/* ============================================
   MODERN CARD-BASED LOGIN DESIGN - HRIS SYSTEM
   ============================================ */
/* line 5, app/assets/stylesheets/login_page.scss */
.modern-login-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Animated Background */
/* line 19, app/assets/stylesheets/login_page.scss */
.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

/* line 28, app/assets/stylesheets/login_page.scss */
.animated-bg .bg-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, #129CF3, #1e3c72);
  opacity: 0.1;
  animation: floatCircle 20s ease-in-out infinite;
}

/* line 35, app/assets/stylesheets/login_page.scss */
.animated-bg .bg-circle.circle-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -150px;
  animation-delay: 0s;
}

/* line 43, app/assets/stylesheets/login_page.scss */
.animated-bg .bg-circle.circle-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: -100px;
  animation-delay: -7s;
}

/* line 51, app/assets/stylesheets/login_page.scss */
.animated-bg .bg-circle.circle-3 {
  width: 150px;
  height: 150px;
  bottom: -75px;
  left: 20%;
  animation-delay: -14s;
}

/* line 60, app/assets/stylesheets/login_page.scss */
.animated-bg .bg-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(90deg, transparent, rgba(18, 156, 243, 0.05), transparent);
  transform: skewY(-1deg);
  animation: wave 15s ease-in-out infinite;
}

@keyframes floatCircle {
  0%, 100% {
    transform: translateY(0px) scale(1);
    opacity: 0.1;
  }
  50% {
    transform: translateY(-30px) scale(1.1);
    opacity: 0.15;
  }
}

@keyframes wave {
  0%, 100% {
    transform: skewY(-1deg) translateX(0px);
  }
  50% {
    transform: skewY(-1deg) translateX(20px);
  }
}

/* Main Login Card */
/* line 89, app/assets/stylesheets/login_page.scss */
.login-main-card {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1), 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
  animation: slideInUp 0.8s ease-out;
  overflow: hidden;
}

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

/* Card Header Section */
/* line 118, app/assets/stylesheets/login_page.scss */
.card-header-section {
  background: linear-gradient(135deg, #129CF3 0%, #1e3c72 100%);
  padding: 25px 35px 20px;
  text-align: center;
  color: white;
  position: relative;
}

/* line 125, app/assets/stylesheets/login_page.scss */
.card-header-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(135deg, #129CF3 0%, #1e3c72 100%);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
}

/* line 136, app/assets/stylesheets/login_page.scss */
.card-header-section .logo-container {
  margin-bottom: 15px;
}

/* line 139, app/assets/stylesheets/login_page.scss */
.card-header-section .logo-container .main-logo {
  width: 80px;
  height: 80px;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 12px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  animation: logoGlow 3s ease-in-out infinite;
  display: block;
  margin: 0 auto;
}

/* line 153, app/assets/stylesheets/login_page.scss */
.card-header-section .system-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* line 160, app/assets/stylesheets/login_page.scss */
.card-header-section .system-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 400;
  margin-bottom: 15px;
}

/* line 167, app/assets/stylesheets/login_page.scss */
.card-header-section .header-divider {
  width: 60px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 auto;
  border-radius: 2px;
}

@keyframes logoGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    transform: scale(1.02);
  }
}

/* Form Section */
/* line 188, app/assets/stylesheets/login_page.scss */
.form-section {
  padding: 25px 35px;
}

/* line 191, app/assets/stylesheets/login_page.scss */
.form-section .welcome-message {
  text-align: center;
  margin-bottom: 25px;
}

/* line 195, app/assets/stylesheets/login_page.scss */
.form-section .welcome-message .welcome-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 5px;
  background: linear-gradient(135deg, #129CF3, #1e3c72);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* line 206, app/assets/stylesheets/login_page.scss */
.form-section .welcome-message .welcome-text {
  font-size: 0.9rem;
  color: #718096;
  font-weight: 400;
}

/* line 214, app/assets/stylesheets/login_page.scss */
.form-section .modern-login-form .form-field {
  margin-bottom: 30px;
}

/* line 217, app/assets/stylesheets/login_page.scss */
.form-section .modern-login-form .form-field .field-container {
  position: relative;
  display: flex;
  align-items: center;
}

/* line 222, app/assets/stylesheets/login_page.scss */
.form-section .modern-login-form .form-field .field-container .field-icon {
  position: absolute;
  left: 18px;
  color: #a0aec0;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  z-index: 2;
}

/* line 231, app/assets/stylesheets/login_page.scss */
.form-section .modern-login-form .form-field .field-container .field-input {
  width: 100%;
  padding: 18px 20px 18px 50px;
  border: none;
  border-bottom: 2px solid #e2e8f0;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  color: #2d3748;
  transition: all 0.3s ease;
  border-radius: 0;
  outline: none;
}

/* line 244, app/assets/stylesheets/login_page.scss */
.form-section .modern-login-form .form-field .field-container .field-input:focus {
  border-bottom-color: #129CF3;
  background: rgba(18, 156, 243, 0.02);
}

/* line 248, app/assets/stylesheets/login_page.scss */
.form-section .modern-login-form .form-field .field-container .field-input:focus + .field-line {
  width: 100%;
  background: linear-gradient(90deg, #129CF3, #1e3c72);
}

/* line 254, app/assets/stylesheets/login_page.scss */
.form-section .modern-login-form .form-field .field-container .field-input:not(:-moz-placeholder-shown) ~ .field-icon {
  color: #129CF3;
  transform: scale(1.1);
}
.form-section .modern-login-form .form-field .field-container .field-input:focus ~ .field-icon, .form-section .modern-login-form .form-field .field-container .field-input:not(:placeholder-shown) ~ .field-icon {
  color: #129CF3;
  transform: scale(1.1);
}

/* line 260, app/assets/stylesheets/login_page.scss */
.form-section .modern-login-form .form-field .field-container .field-input::-moz-placeholder {
  color: #a0aec0;
  font-weight: 400;
}
.form-section .modern-login-form .form-field .field-container .field-input::placeholder {
  color: #a0aec0;
  font-weight: 400;
}

/* line 266, app/assets/stylesheets/login_page.scss */
.form-section .modern-login-form .form-field .field-container .field-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #129CF3, #1e3c72);
  transition: width 0.3s ease;
}

/* line 278, app/assets/stylesheets/login_page.scss */
.form-section .modern-login-form .form-actions {
  margin-top: 40px;
}

/* line 281, app/assets/stylesheets/login_page.scss */
.form-section .modern-login-form .form-actions .modern-login-btn {
  width: 100%;
  padding: 16px 30px;
  background: linear-gradient(135deg, #129CF3 0%, #1e3c72 100%);
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(18, 156, 243, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

/* line 298, app/assets/stylesheets/login_page.scss */
.form-section .modern-login-form .form-actions .modern-login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

/* line 309, app/assets/stylesheets/login_page.scss */
.form-section .modern-login-form .form-actions .modern-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(18, 156, 243, 0.4);
}

/* line 313, app/assets/stylesheets/login_page.scss */
.form-section .modern-login-form .form-actions .modern-login-btn:hover::before {
  left: 100%;
}

/* line 318, app/assets/stylesheets/login_page.scss */
.form-section .modern-login-form .form-actions .modern-login-btn:active {
  transform: translateY(0);
}

/* line 325, app/assets/stylesheets/login_page.scss */
.form-section .additional-links {
  text-align: center;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
}

/* line 331, app/assets/stylesheets/login_page.scss */
.form-section .additional-links a {
  color: #129CF3;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

/* line 339, app/assets/stylesheets/login_page.scss */
.form-section .additional-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #129CF3, #1e3c72);
  transition: width 0.3s ease;
}

/* line 350, app/assets/stylesheets/login_page.scss */
.form-section .additional-links a:hover {
  color: #1e3c72;
}

/* line 353, app/assets/stylesheets/login_page.scss */
.form-section .additional-links a:hover::after {
  width: 100%;
}

/* line 360, app/assets/stylesheets/login_page.scss */
.form-section .login-flash {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

/* line 369, app/assets/stylesheets/login_page.scss */
.form-section .login-flash-notice {
  background: rgba(18, 156, 243, 0.1);
  color: #1e3c72;
  border: 1px solid rgba(18, 156, 243, 0.25);
}

/* line 375, app/assets/stylesheets/login_page.scss */
.form-section .login-flash-alert {
  background: rgba(220, 53, 69, 0.08);
  color: #b02a37;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

/* line 381, app/assets/stylesheets/login_page.scss */
.form-section .login-help-text {
  color: #718096;
  font-size: 0.85rem;
  text-align: center;
  margin: -10px 0 0;
}

/* line 388, app/assets/stylesheets/login_page.scss */
.form-section .login-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 22px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(180, 83, 9, 0.28);
  color: #92400e;
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: left;
}

/* line 402, app/assets/stylesheets/login_page.scss */
.form-section .login-disclaimer i {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 1.05rem;
}

/* line 408, app/assets/stylesheets/login_page.scss */
.form-section .login-disclaimer p {
  margin: 0;
}

/* Login Footer */
/* line 415, app/assets/stylesheets/login_page.scss */
.login-footer {
  margin-top: 30px;
  text-align: center;
  z-index: 1;
  position: relative;
}

/* line 421, app/assets/stylesheets/login_page.scss */
.login-footer p {
  color: #718096;
  font-size: 0.8rem;
  font-weight: 400;
  margin: 0;
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* line 432, app/assets/stylesheets/login_page.scss */
.login-footer p .footer-logo-inline {
  width: 48px;
  height: 48px;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0.8;
  vertical-align: middle;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  /* line 455, app/assets/stylesheets/login_page.scss */
  .modern-login-wrapper {
    padding: 15px;
  }
  /* line 459, app/assets/stylesheets/login_page.scss */
  .login-main-card {
    max-width: 100%;
    margin: 10px;
  }
  /* line 463, app/assets/stylesheets/login_page.scss */
  .login-main-card .card-header-section {
    padding: 30px 30px 25px;
  }
  /* line 466, app/assets/stylesheets/login_page.scss */
  .login-main-card .card-header-section .main-logo {
    width: 70px;
    height: 70px;
  }
  /* line 471, app/assets/stylesheets/login_page.scss */
  .login-main-card .card-header-section .system-title {
    font-size: 1.7rem;
  }
  /* line 475, app/assets/stylesheets/login_page.scss */
  .login-main-card .card-header-section .system-subtitle {
    font-size: 0.9rem;
  }
  /* line 480, app/assets/stylesheets/login_page.scss */
  .login-main-card .form-section {
    padding: 30px 25px;
  }
  /* line 483, app/assets/stylesheets/login_page.scss */
  .login-main-card .form-section .welcome-message {
    margin-bottom: 25px;
  }
  /* line 486, app/assets/stylesheets/login_page.scss */
  .login-main-card .form-section .welcome-message .welcome-title {
    font-size: 1.5rem;
  }
  /* line 490, app/assets/stylesheets/login_page.scss */
  .login-main-card .form-section .welcome-message .welcome-text {
    font-size: 0.9rem;
  }
  /* line 496, app/assets/stylesheets/login_page.scss */
  .login-main-card .form-section .modern-login-form .form-field {
    margin-bottom: 25px;
  }
  /* line 499, app/assets/stylesheets/login_page.scss */
  .login-main-card .form-section .modern-login-form .form-field .field-container .field-input {
    padding: 16px 18px 16px 45px;
    font-size: 0.95rem;
  }
  /* line 505, app/assets/stylesheets/login_page.scss */
  .login-main-card .form-section .modern-login-form .form-actions .modern-login-btn {
    padding: 14px 25px;
    font-size: 1rem;
  }
  /* line 515, app/assets/stylesheets/login_page.scss */
  .animated-bg .bg-circle.circle-1 {
    width: 200px;
    height: 200px;
  }
  /* line 516, app/assets/stylesheets/login_page.scss */
  .animated-bg .bg-circle.circle-2 {
    width: 150px;
    height: 150px;
  }
  /* line 517, app/assets/stylesheets/login_page.scss */
  .animated-bg .bg-circle.circle-3 {
    width: 100px;
    height: 100px;
  }
  /* line 522, app/assets/stylesheets/login_page.scss */
  .login-footer p {
    font-size: 0.75rem;
  }
  /* line 525, app/assets/stylesheets/login_page.scss */
  .login-footer p .footer-logo-inline {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  /* line 535, app/assets/stylesheets/login_page.scss */
  .login-main-card .card-header-section {
    padding: 25px 20px;
  }
  /* line 538, app/assets/stylesheets/login_page.scss */
  .login-main-card .card-header-section .system-title {
    font-size: 1.5rem;
  }
  /* line 543, app/assets/stylesheets/login_page.scss */
  .login-main-card .form-section {
    padding: 25px 20px;
  }
  /* line 546, app/assets/stylesheets/login_page.scss */
  .login-main-card .form-section .modern-login-form .form-field .field-container .field-input {
    padding: 14px 16px 14px 40px;
    font-size: 0.9rem;
  }
  /* line 554, app/assets/stylesheets/login_page.scss */
  .login-footer p {
    font-size: 0.7rem;
    flex-wrap: wrap;
  }
  /* line 558, app/assets/stylesheets/login_page.scss */
  .login-footer p .footer-logo-inline {
    width: 32px;
    height: 32px;
  }
}
