@import "external.css";

/* STRICT RESET to prevent 1Password/Extension Layout Shifts */
html,
body {
  overflow: hidden !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  position: fixed !important; /* Forces viewport lock */
}

/* Pricing Layout from Index, Expanded */
.pricing.full-screen-pricing {
  height: 100vh; /* Changed from min-height to height to lock styling */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center; /* Adjusts horizontally */
  /* Remove justify-content: center because we want children (main + footer) to determine spacing */
  padding: 20px;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  overflow: hidden; /* Prvents scrollbar glitch when extensions inject elements */
  position: relative;
}

.pricing-main {
  flex: 1; /* Takes available space */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers vertically */
  width: 100%;
  align-items: center;
}

.pricing-content {
  width: 100%;
  max-width: 800px;
}

.pricing h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.pricing p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
  font-weight: 300;
}

.mb-4 {
  margin-bottom: 2.5rem;
}

/* Form Styles */
.auth-form-pricing {
  margin-top: 40px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.form-group-pricing {
  margin-bottom: 20px;
}

.input-pricing {
  width: 100%;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 4px;
  font-size: 1.1rem;
  text-align: center;
  font-family: var(--font-sans);
  transition: all 0.3s ease;
}

.input-pricing::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.input-pricing:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Success State */
.success-icon-pricing {
  font-size: 4rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.white-text {
  color: #fff !important;
}

/* Main Logo */
.main-logo {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 30px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Utility */
.hidden {
  display: none !important;
}

.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

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