.login-page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #f8f9ff;
}

/* Modern Mesh Gradient Background */
.mesh-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: #ffffff;
  background-image:
    radial-gradient(at 0% 0%, rgba(35, 22, 81, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(0, 208, 148, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(35, 22, 81, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(0, 208, 148, 0.15) 0px, transparent 50%);
}

.login-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Glassmorphism Card */
.login-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 20px 50px rgba(35, 22, 81, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.login-header-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.rit-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.login-tagline {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 8px;
  font-style: italic;
  letter-spacing: 0.3px;
}

.login-header {
  position: relative;
  text-align: center;
  margin-bottom: 32px;
}

.step-back-btn {
  position: absolute;
  left: -8px;
  top: 4px;
  color: var(--text-mid);
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.step-back-btn:hover {
  background-color: var(--bg);
  color: var(--primary);
}

.login-title {
  font-size: 26px;
  font-weight: 850;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.login-subtitle {
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 500;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  margin-left: 4px;
}

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

.input-icon {
  position: absolute;
  left: 18px;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.login-form input {
  width: 100%;
  padding: 16px 16px 16px 52px;
  border-radius: 16px;
  border: 2px solid transparent;
  background-color: #f0f2f5;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  outline: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.login-form input:focus {
  background-color: #ffffff;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(35, 22, 81, 0.05);
}

.login-form input:focus+.input-icon {
  color: var(--primary);
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Suspension Modal Styles */
.suspension-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.suspension-modal {
  background: rgba(255, 255, 255, 0.95);
  width: 100%;
  max-width: 400px;
  border-radius: 28px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.suspension-icon {
  width: 80px;
  height: 80px;
  background: #fef2f2;
  color: #ef4444;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.suspension-modal h2 {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 12px;
}

.suspension-modal p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.suspension-details {
  background: #f8fafc;
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 32px;
  border: 1px solid #e2e8f0;
}

.suspension-details span {
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  display: block;
}

.suspension-close-btn {
  width: 100%;
  padding: 16px;
  background: #001828;
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.suspension-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(35, 22, 81, 0.4);
}

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

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-zoomIn {
  animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-button {
  background-color: var(--primary);
  color: white;
  padding: 18px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 800;
  margin-top: 12px;
  box-shadow: 0 10px 25px rgba(35, 22, 81, 0.25);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
}

.login-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(35, 22, 81, 0.3);
  background-color: #2b1c63;
}

.login-button:active:not(:disabled) {
  transform: translateY(0);
}

.login-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.loading-dots span {
  animation: loadingDots 1.4s infinite;
  display: inline-block;
  font-size: 24px;
  line-height: 0;
  margin: 0 2px;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loadingDots {

  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.2;
  }

  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.error-message {
  color: #ff4d4f;
  font-size: 13px;
  font-weight: 600;
  background-color: rgba(255, 77, 79, 0.1);
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 77, 79, 0.2);
  text-align: center;
}

.back-to-mobile {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  margin-top: 8px;
  text-align: center;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.back-to-mobile:hover {
  background-color: var(--primary-light);
}

.login-footer-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.login-footer-info p {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
}

@media (max-width: 480px) {
  .login-card {
    padding: 32px 24px;
    border-radius: 24px;
  }
}

.tillo-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.login-merchant-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 10px 30px rgba(35, 22, 81, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  gap: 16px;
}

.merchant-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.merchant-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.merchant-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 2px;
}

.merchant-rit-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.google-signin-wrapper {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.google-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 24, 40, 0.15);
  border-radius: 18px;
  color: #1e293b;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 12px rgba(35, 22, 81, 0.05);
}

.google-login-btn:hover:not(:disabled) {
  background-color: #f8fafc;
  border-color: rgba(35, 22, 81, 0.25);
  box-shadow: 0 10px 20px rgba(35, 22, 81, 0.1);
  transform: translateY(-2px);
}

.google-login-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(35, 22, 81, 0.05);
}

.google-login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.google-icon {
  width: 20px;
  height: 20px;
}