/* CSS Variables for ubank theme */
:root {
  --background: hsl(0, 0%, 98%);
  --foreground: hsl(222.2, 84%, 4.9%);
  --primary: #00C189;
  --primary-foreground: hsl(0, 0%, 100%);
  --accent-cyan: hsl(174, 100%, 47%);
  --accent-cyan-foreground: hsl(222.2, 84%, 4.9%);
  --muted-foreground: #00C189;
  --border: hsl(214.3, 31.8%, 91.4%);
  --form-card: hsl(0, 0%, 100%);
  --form-card-selected: #00C189;
  --form-card-hover: #b5fae6;
  --input-bg: hsl(0, 0%, 100%);
  --input-border: hsl(214.3, 31.8%, 91.4%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

.container {
  min-height: 100vh;
  padding: 2rem;
}

.form-container {
  max-width: 48rem;
  margin: 0 auto;
}

.back-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #000000 !important;
  margin-bottom: 1.5rem;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s;
}

.back-button:hover {
  background-color: var(--form-card-hover);
}

.back-button.visible {
  display: flex;
}

.back-button svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: black;
  stroke-width: 2;
  fill: none;
}
input{
    height: 65px !important;
    border-radius: 12px !important;
}
.header {
  margin-bottom: 2rem;
}

.title {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.step {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.step.active {
  display: block;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--foreground);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.eligibility-step {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(162,89,230,0.08);
    padding: 32px 24px;
    margin: 32px 0;
}
.eligibility-container {
    max-width: 600px;
    margin: 0 auto;
}
.eligibility-title {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.eligibility-list {
    list-style: disc inside;
    margin: 0 0 8px 0;
    padding-left: 20px;
}
.eligibility-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 24px 0;
}
.button-cyan {
    background: #00ffe0;
    color: #222;
    border-radius: 24px;
    padding: 12px 32px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.button-cyan:hover {
    background: #a259e6;
    color: #fff;
}
.final-text a {
    color: #a259e6;
    text-decoration: underline;
}
.back-button {
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.selection-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 2px solid var(--border);
  background-color: var(--form-card);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.selection-card:hover {
  background-color: var(--form-card-hover);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.selection-card.selected {
  background-color: var(--form-card-selected);
  border-color: var(--form-card-selected);
  color: var(--primary-foreground);
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.card-icon {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.card-subtitle {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.selection-card.selected .card-subtitle {
  color: var(--primary-foreground);
  opacity: 0.8;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-help {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  height: 3rem;
  padding: 0.75rem;
  border: 1px solid var(--input-border);
  border-radius: 0.375rem;
  background-color: var(--input-bg);
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(262, 83%, 58%, 0.1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 3rem;
  border: none;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.hidden{
    display: none !important;
}
.button-cyan {
  background-color: var(--accent-cyan);
  color: var(--accent-cyan-foreground);
}

.button-cyan:hover:not(:disabled) {
  background-color: hsl(174, 100%, 42%);
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.button.hidden {
  display: none;
}

.privacy-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.privacy-text a {
  color: var(--primary);
  text-decoration: underline;
}

.eligibility-section {
  margin-bottom: 2rem;
}

.eligibility-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.eligibility-list {
  list-style: none;
}

.eligibility-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.eligibility-bullet {
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--muted-foreground);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.login-container {
  max-width: 32rem;
}

.eligibility-container {
  max-width: 40rem;
}

.final-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
}

.final-text a {
  color: var(--primary);
  text-decoration: underline;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  .title {
    font-size: 2rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .cards-grid {
    gap: 1rem;
  }
  
  .selection-card {
    padding: 1.25rem;
  }
}