/*@import url("https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@200;300;400;500;600;800;900&display=swap");*/

body,
html {
  min-height: 100%;
  overflow-x: hidden;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Match the soft lavender/grey background pattern of the screenshot */
body {
  background-color: #E6E6FA;
  background-image: radial-gradient(#d3cce3 1px, transparent 0), radial-gradient(#d3cce3 1px, #e6e5f3 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

a {
  text-decoration: none;
  color: inherit;
}

.main {
  min-height: calc(100vh - 90px);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.main-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 15px;
  padding: 12px;
}

/* Beautiful custom container box mirroring the app UI outer container */
.container {
  width: 100%;
  max-width: 480px;
  background-color: #c9bbf3;
  padding: 16px;
  margin: 10px auto;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-sizing: border-box;
}

/* Header & Banner Styles */
h1 {
  text-align: center;
  color: #ffffff;
  font-size: 22px !important;
  font-weight: 700;
  margin-bottom: 20px;
}

.wrap {
  margin: auto;
  transition: width 0.3s ease-in-out;
  max-width: 500px;
  width: 100%;
}

/* Package Card Styling (White rounded cards inside the purple area) */
.offer {
  background-color: #ffffff;
  color: #1a0933;
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid #eaeaea;
  transition: transform 0.2s ease;
}

.offer:hover {
  transform: translateY(-1px);
}

/* Typography elements within package details */
.offer-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.offer-name {
  font-weight: 700;
  font-size: 16px;
  color: #111111;
  text-transform: uppercase;
}

.offer-meta {
  font-size: 13px;
  color: #666666;
  display: flex;
  align-items: center;
  gap: 4px;
}

.offer-price {
  font-size: 20px;
  font-weight: 800;
  color: #3b0082;
}

.offer-price span {
  font-size: 12px;
  font-weight: 400;
  color: #888888;
  margin-left: 2px;
}

/* The Deep Purple Action Buttons */
.get-deal, .submit-button, button.connect-btn {
  background-color: #3b0082;
  color: #ffffff;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  text-align: center;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease;
}

.get-deal:hover, .submit-button:hover, button.connect-btn:hover {
  background-color: #260059;
}

/* White Form inputs box styled like the bottom cards */
.analog-format, form.input-card-style {
  margin: 15px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border: 1px solid #e2e8f0;
  box-sizing: border-box;
}

.analog-format h3 {
  margin: 0 0 16px 0;
  font-size: 1.2rem;
  color: #1a0933;
  font-weight: 700;
}

.analog-format label, label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #4a5568;
  font-weight: 600;
}

/* Beautiful Form Inputs */
.analog-format select,
.analog-format input[type="text"],
.input-text {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: #f7fafc;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #2d3748;
  transition: all 0.2s ease;
  box-sizing: border-box;
  letter-spacing: normal;
}

.analog-format select:focus,
.analog-format input[type="text"]:focus,
.input-text:focus {
  outline: none;
  border-color: #3b0082;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(59, 0, 130, 0.15);
}

/* Footer Section */
.footer {
  text-align: center;
  color: #718096;
  font-size: 12px;
  padding: 20px;
  line-height: 1.5;
}

.footer-item {
  margin: 6px auto;
}

/* Input selectors (tabs if applicable) */
.input-type-selector-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: #edf2f7;
  padding: 4px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.input-type-selector {
  flex: 1 1 80px;
  background: transparent;
  color: #4a5568;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.input-type-selector.selected {
  background-color: #3b0082;
  color: #ffffff;
}

.hide { display: none; }


