* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.vx-main-page {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background-color: #2a333b;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/images/hero-1024.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  margin: 0;
  position: relative;
}

body.vx-main-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(42, 51, 59, 0.7);
  pointer-events: none;
}

.vx-container {
  width: 100%;
  max-width: 500px;
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.vx-logo {
  width: 360px;
  height: auto;
  margin-bottom: -60px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  position: relative;
  z-index: 2;
}

.vx-auth-card {
  width: 100%;
  padding: 80px 32px 32px 32px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  position: relative;
}

.vx-welcome-section {
  margin-bottom: 24px;
}

.vx-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.vx-description {
  font-size: 16px;
  color: #e5e7eb;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .vx-container {
    padding: 4px;
  }
  .vx-auth-card {
    padding: 80px 8px 32px 8px;
  }
  body.vx-main-page {
    align-items: start;
  }
  .vx-title {
    font-size: 20px;
  }
  .vx-description {
    font-size: 14px;
  }
}

.vx-error-message {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.vx-button-group {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.vx-button-group button,
.vx-button-group a {
  flex: 1;
}

.vx-primary-button {
  border: none;
  background-color: #1b74b9;
  color: #ffffff;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  border-radius: 8px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.vx-primary-button:hover:not(:disabled) {
  background-color: #1560a0;
}

.vx-primary-button:disabled {
  background-color: #6b7280;
  cursor: not-allowed;
  opacity: 0.7;
}

.vx-secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: transparent;
  color: #ffffff;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  border-radius: 8px;
  width: 100%;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.vx-secondary-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.vx-footer {
  margin-top: 32px;
  font-size: 13px;
  color: #aeaeae;
  line-height: 1.6;
}

.vx-footer-link {
  color: inherit;
  text-decoration: underline;
}

.vx-fade-in {
  opacity: 0;
  animation: vxFadeIn 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.vx-auth-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  flex: 1;
}

.vx-auth-text {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}

.vx-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: vxSpin 1s linear infinite;
}

@keyframes vxSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
