/* Global sizing & overflow guard */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0; /* remove UA default margin to avoid horizontal overflow */
}


.error {
display:none; 
text-align: center;
color: rgb(237, 86, 86) !important;  
}



/* HEADER */
.header-container {
background: rgba(255, 255, 255, 0.25);
backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
padding: 20px;
border-radius: 20px;
max-width: 600px;
width: 90%;
 margin: 40px auto 28px auto; /* ensure spacing above footer */
transition: all 0.3s ease;
overflow: hidden; /* prevent minor child overflow from causing horizontal scroll */
}
.header-text {
display: none;
flex-direction: column;
align-self: center;
align-items: center;
justify-content: center;
background: #ffffff; /* solid neutral */
border: 1px solid #e5e7eb; /* subtle border */
border-radius: 16px;
padding: 28px 24px;
margin: 20px auto;
max-width: 560px;
width: 92%;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
transition: box-shadow 0.2s ease, transform 0.2s ease;
text-align: center;
position: relative;
}

/* Remove decorative gradient frame */
.header-text::before {
content: none;
}

/* Remove glass overlay */
.header-text::after {
content: none;
}

.header-text:hover {
transform: translateY(-1px);
box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.header-text p {
color: #374151; /* gray-700 */
font-size: 15px;
line-height: 1.6;
margin: 12px 0;
font-weight: 500;
opacity: 0.95;
}

.header-text p:last-child {
margin-bottom: 0;
}

.header-text a {
color: #2563eb; /* blue-600 */
text-decoration: none;
font-weight: 600;
position: relative;
}

.header-text a:hover {
color: #1d4ed8; /* darker blue */
}

.header-text a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -2px;
left: 0;
background: #2563eb;
transition: width 0.2s ease;
}

.header-text a:hover::after {
width: 100%;
}

@keyframes gradientShift {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}

/* Header-text enhancements */
.header-text .subtext {
  color: #4b5563; /* gray-600 */
  margin-top: 6px;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 10px 0;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #1e40af; /* blue-800 */
  background: #eff6ff; /* blue-50 */
  border: 1px solid #bfdbfe; /* blue-200 */
}
.status-chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e; /* green-500 */
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
.link-button {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 9999px;
  background: #111827; /* gray-900 */
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.link-button:hover { 
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.22);
  background: #0b1220;
}
.header-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 6px 0;
}
.header-list li {
  position: relative;
  padding-left: 24px;
  margin: 8px 0;
  color: #374151; /* gray-700 */
  font-weight: 500;
}
.header-list li::before {
  content: '\2714';
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a; /* green-600 */
}
.header-text .muted {
  color: #6b7280; /* gray-500 */
  margin-top: 6px;
}
.header-loading {
display: none;
flex-direction:column;
justify-content:center;
align-items:center;
 position: relative;
 gap: 14px;
 background: #ffffff;
 border: 1px solid #e5e7eb;
 border-radius: 16px;
 padding: 24px 24px 40px; /* extra bottom for progress bar */
 margin: 20px auto;
 max-width: 560px;
 width: 92%;
 box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.header-loading::before {
  /* progress track */
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 16px;
  height: 4px;
  background: #f1f5f9; /* slate-100 */
  border-radius: 9999px;
}
.header-loading::after {
  /* animated progress bar */
  content: '';
  position: absolute;
  bottom: 16px;
  height: 4px;
  width: 30%;
  left: 24px;
  background: linear-gradient(90deg, #93c5fd, #60a5fa, #3b82f6); /* blue sweep */
  border-radius: 9999px;
  animation: progressSlide 1.35s ease-in-out infinite;
}
@keyframes progressSlide {
  0% { left: 24px; }
  100% { left: calc(100% - 24px - 30%); }
}
@media (prefers-reduced-motion: reduce) {
  .header-loading::after { animation: none; }
}
.header-loading #loading-image {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.25));
}
.header-loading #loading-text {
  color: #374151; /* gray-700 */
  text-align: center;
  line-height: 1.6;
  font-weight: 600;
  max-width: 44ch;
}
.header-form {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px;
width: 100%;
}
.form {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 40px;

width: 100%;
box-sizing: border-box;
}
.header {
display: flex;
flex-direction: column;
align-self: center;
align-items: center;
justify-content: center;

width: 100%;
}

.header-form p {
color: #2d3748;

font-weight:600;
font-style: normal;
font-family: "Raleway", sans-serif;
font-optical-sizing: auto;
text-align: center;
}
.header-form input:not(:where(.signup-consent-checkbox)) {
color: #2d3748 !important;
}
.header-h2 {
font-weight:500 !important;

}
#status {
  font-weight: 700 !important;
  font-size: 15px;
  line-height: 1.45;
  color: #111827;
  text-align: left;
  margin: 14px auto 0;
  width: min(840px, 92%);
  padding: 12px 14px 12px 46px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #4f46e5;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  position: relative;
}

#status::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  background: #eef2ff; /* indigo-50 */
  border: 1px solid #c7d2fe; /* indigo-200 */
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.18);
}

#status::after {
  content: 'i';
  position: absolute;
  left: 21px;
  top: 50%;
  transform: translateY(-50%);
  color: #4f46e5;
  font-weight: 800;
  font-size: 13px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Noto Sans;
}

@media (max-width: 640px) {
  #status {
    font-size: 14px;
    padding: 12px 12px 12px 44px;
    border-radius: 12px;
    width: 94%;
  }
}

/* Center loading images and account created text */
#loading-image-1,
#account-created-text {
display: block;
margin: 20px auto;
text-align: center;
}

#account-created-text {
font-weight: 600;
color: #2d3748;
}

/* Disclaimer */
.disclaimer {
  position: relative;
  margin: 28px auto;
  padding: 16px 20px 16px 56px; /* room for the info badge */
  font-size: 14px;
  max-width: 720px;
  width: 92%;
  text-align: left; /* better readability for longer text */
  word-break: break-word;
  background: #ffffff;
  border: 1px solid #e5e7eb; /* subtle neutral border */
  border-left: 4px solid #2563eb; /* left accent */
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.disclaimer::before {
  content: 'i';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Noto Sans, "Apple Color Emoji", "Segoe UI Emoji";
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}
.disclaimer.session {
  position: relative;
  top: 100px;
  margin-bottom: 120px;
}
.disclaimer p {
  margin: 0;
  color: #374151; /* gray-700 */
  line-height: 1.65;
  font-weight: 500;
}
.disclaimer a {
  color: #2563eb; /* blue-600 */
  text-decoration: none;
  font-weight: 600;
}
.disclaimer a:hover {
  color: #1d4ed8; /* blue-700 */
  text-decoration: underline; /* accessible hover state */
}

@media (max-width: 640px) {
  .disclaimer {
    padding: 14px 16px 14px 48px;
    font-size: 13.5px;
    width: 94%;
  }
  .disclaimer::before {
    left: 14px;
    width: 22px;
    height: 22px;
    font-size: 12px;
  }
}


/* Footer */
.footer {
display: flex;    
justify-content: center;
flex-direction: column;
align-items: center;
align-self: center;
gap:30px;
border-radius: 20px;
max-width: 1000px;
width: 90%;
margin: 40px auto;
 min-height: 250px;
background: rgba(255, 255, 255, 0.25);
backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
padding: 30px;  
line-height: 1;
transition: all 0.3s ease;
 overflow: hidden; /* keep children from bleeding past rounded corners */

}
.footer-2 {
display: flex;    
justify-content: center;
flex-direction: column;
align-items: center;
align-self: center;
gap:30px;

border-radius: 20px;
margin: 40px auto 20px auto;

position: relative;

/* top: 180px; */

max-width: 1000px;
width: 90%;
height: 250px;
background: rgba(255, 255, 255, 0.25);
backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
padding: 30px;  
line-height: 1;
}
.footer-group {
display: flex;    
justify-content: center;
flex-direction: row;
align-items: center;
gap:100px;
position: relative;
bottom: 0; /* avoid overlapping footer content */
}
.footer p {
font-weight:200;
font-style: normal;
font-family: "Raleway", sans-serif;
font-optical-sizing: auto;
text-align: center;
font-size:17px;
color: #2d3748;
margin-bottom:-10px;
}
.footer-member {
display: flex;    
justify-content: center;
flex-direction: column;
align-items: center;

}
.footer h2  {
position: relative;
left:20px;
}
#footer-terms {
line-height: 1.7;
}


/* Empty div */
#empty-div {
display: none;
}

/* Password validation (modern card + checklist) */
#message {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #2563eb;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 14px 16px;
  margin: 12px auto 8px;
  width: 100%;
  max-width: var(--field-max, 440px); /* align to form width if available */
}
#message h3 {
  margin: 0 0 6px 0;
  color: #111827; /* gray-900 */
  font-size: 14px;
  font-weight: 700 !important;
}
#message p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
  padding: 0;
  font-size: 14px;
  color: #374151; /* gray-700 */
}
/* Valid/invalid indicators */
#message p.valid::before,
#message p.invalid::before {
  content: '';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
}
#message p.valid {
  color: #166534 !important; /* green-800 */
}
#message p.valid::before {
  content: '\2714';
  background: #22c55e; /* green-500 */
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
#message p.invalid {
  color: #991b1b !important; /* red-900 */
}
#message p.invalid::before {
  content: '\00d7';
  background: #fee2e2; /* red-100 */
  color: #ef4444; /* red-500 */
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Account created security notice (info card) */
#account-created-text-2 {
  /* remains hidden inline until shown via JS */
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #f59e0b; /* amber accent for security note */
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  color: #374151;
  font-weight: 500;
  padding: 12px 16px 12px 48px;
  margin: 12px auto;
  max-width: 440px;
  width: 100%;
  position: relative;
  text-align: left;
}
#account-created-text-2::before {
  content: '!';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f59e0b;
  color: #ffffff;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Noto Sans, "Apple Color Emoji", "Segoe UI Emoji";
}
@media (max-width: 640px) {
  #account-created-text-2 { max-width: 100%; padding-left: 44px; }
}
/* Loading */
#loading-image {
height:100px;
width:100px;
}
/* Thank you for payment */
.payment-title {
background: linear-gradient(to right, #11998e, #38ef7d); 
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent; 
font-weight: 600 !important;
}


.error-1 {
  display: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.45;
  color: #111827;
  text-align: left;
  margin: 14px auto 0;
  width: min(840px, 92%);
  padding: 12px 14px 12px 46px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #fee2e2; /* red-100 */
  border-left: 4px solid #ef4444; /* red-500 */
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  position: relative;
}

.error-1::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  background: #fee2e2; /* red-100 */
  border: 1px solid #fecaca; /* red-200 */
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.18);
}

.error-1::after {
  content: '!';
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #ef4444;
  font-weight: 900;
  font-size: 13px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Noto Sans;
}

/* Benign or expected “errors” (double-click / already processed) */
.error-1.info {
  border-color: #e5e7eb;
  border-left-color: #f59e0b; /* amber-500 */
}
.error-1.info::before {
  background: #fff7ed; /* orange-50 */
  border-color: #fed7aa; /* orange-200 */
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.18);
}
.error-1.info::after {
  content: 'i';
  left: 23px;
  color: #d97706; /* amber-600 */
}

@media (max-width: 640px) {
  .error-1 {
    font-size: 13.5px;
    padding: 12px 12px 12px 44px;
    border-radius: 12px;
    width: 94%;
  }
}
.password-container {
position: relative; /* To position the icon relative to the input */
display: flex;       /* Arrange input and icon in a row */
align-items: center; /* Vertically center the icon */

width: 300px;
}
.eye-icon {
color: #2d3748;
cursor: pointer;
position: absolute; /* Position absolutely within the container */
right: 10px;        /* Adjust right spacing as needed */
bottom: 20px;       /* Adjust bottom spacing as needed */
}
.phone-container {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;

width: 300px;
}
#country-code {
width: 40%;
font-size: medium;
}
#phone-number {
width: 70%;
}


#error-popup {
display: none; /* Hidden by default */
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Faded background */
justify-content: center;
align-items: center;
z-index: 1000; /* Ensure it's on top */
border-radius: 10px; 
}
#popup-content {
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.3);
padding: 20px;
border-radius: 15px;
text-align: center;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1);
color: #2d3748;
}
#reload-button {
padding: 12px 24px;
font-size: 16px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
cursor: pointer;
border-radius: 8px;
font-weight: 600;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.form-container {
display: flex;
flex-direction: column;
align-items: center;
}

@media screen and (max-width: 1200px) {
.header {
flex-direction: column;
align-items: center;
justify-content: center;
}
}

.button-account {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
color: white;
border: none;
padding: 12px 24px;
border-radius: 12px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
margin-top: 20px;
}

#loading-image-for-container {
  display: block;
  margin: 20px auto;
  text-align: center;
}


/* MEDIAS */
/* 299px */
@media only screen and (max-width: 299px) and (min-width: 250px) and (max-device-height:350px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

}
/* Jiophone 2 */
@media only screen and (max-width: 299px) and (min-width: 240px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 70% !important;
max-width: 70% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.footer p {
font-size: 15px !important;
margin-bottom: 0px !important;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -150px;
}
.waves {
width: 100% !important;
top: 60px !important;
}

.navbarItems {
left: unset !important;
right: 35px !important;
}
.icon {
font-size: 20px !important;
margin-top: 20px !important;
}
.dt-icon {
font-size: 20px !important;
left: 30px !important;
margin-top: 20px !important;
}
.title {
font-weight: 500 !important;
font-size: 20px !important;
}

input:not(:where(.signup-consent-checkbox)) {
font-size: 16px !important;
}
select {
font-size: 10px !important;
}


}
/* 299px */
@media only screen and (max-width: 299px) and (min-width: 250px) and (min-device-height:400px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}

.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}
}
/* OPTIMIZED for Galaxy S9+  */
@media only screen and (max-width: 329px) and (min-width: 300px) and (min-device-height:600px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}

.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}

}
/* OPTIMIZED for Samsung Galaxy Z Fold 5 */
@media only screen and (width: 344px) and (height:882px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}

.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}

}
/* OPTIMIZED for iPhone: (SE, 12 Pro,), Samsung: (Galaxy S8+, S20 Ultra,   */
@media only screen and (max-width: 399px) and (min-width: 330px) and (min-device-height:600px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 120px !important;
}

.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}
}
/* 399px and below (small screens, shorter height) */
@media only screen and (max-width: 399px) and (min-width: 300px) and (max-device-height:599px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}

.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}
}
/* Nokia Lumia 520 and iPhone 4*/
@media only screen and (max-width: 330px) and (min-width: 319px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}

.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
position: relative;
bottom: 30px;
}

}
/* 449px and below (slightly larger screens, shorter height)* iPhone 6/7/8 Plus */
@media only screen and (max-width: 449px) and (min-width: 400px) and (max-device-height:669px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}

.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}

}
/* * {
outline: 1px solid red;
} */

/* OPTIMIZED for iPhone: (14 Pro Max, XR), Samsung: (Pixel 7, Galaxy A51/71 ) */ 
@media only screen and (max-width: 449px) and (min-width: 400px) and (min-device-height:670px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}

.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}

}
/* OPTIMIZED for Microsoft Duo */
@media only screen and (max-width: 598px) and (min-width: 481px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}

.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}

}
/* Nokia N9 */
@media only screen and (max-width: 490px) and (min-width: 460px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}

.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}

}
/* 698px */
@media only screen and (max-width: 698px) and (min-width: 599px) and (min-height:500px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}

.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}

}
/* 698px 400px */
@media only screen and (max-width: 698px) and (min-width: 599px) and (max-height: 400px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}
.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}

}
/* OPTIMIZED for Ipad Air, Asus Zenbook Fold */
@media only screen and (max-width: 899px) and (min-width: 800px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}
.header-form {
width: 90% !important;
max-width: 90% !important;
}
.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}


}
/* OPTIMIZED for iPad Pro, Microsoft Surface Pro 7 */
@media only screen and (max-width: 1024px) and (min-width: 900px) and (min-height: 700px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}
.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}

}
/* OPTIMIZED for Nest Hub */
@media only screen and (max-width: 1024px) and (min-width: 900px) and (max-height: 600px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}

.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}

}
/* Targeting BlackBerry PlayBook in portrait orientation */
@media screen and (min-width: 600px) and (max-width: 600px) and (min-height: 1024px) and (max-height: 1024px) and (orientation: portrait) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}
.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}

}
/* Galaxy Tab S4 - Landscape*/
@media only screen and (max-width: 1200px) and (min-width: 1000px) and (max-height: 800px) and (orientation: landscape) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}
.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}



}
/* Nexus 7, Blackberry Playbook, Kindle Fire HDX */
@media only screen and (max-width: 800px) and (min-width: 600px) and (max-height: 1280px) and (orientation: portrait) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}
.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}


}
/* OPTIMIZED for Ipad Mini  */
@media only screen and (max-width: 799px) and (min-width: 699px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.navbar-round {
width: 95% !important;
max-width: 95% !important;
top: -140px;
}
.waves {
width: 100% !important;
top: 100px !important;
}
.header-form {
width: 90% !important;
max-width: 90% !important;
}
.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}


}
/* iPad Pro */
@media only screen and (max-width: 1200px) and (min-width: 1000px) and (min-height: 800px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.waves {
width: 100% !important;
top: 100px !important;
}
.navbarItems {
left: unset !important;
}
.title {
font-weight: 500 !important;
}


}
/* Nest Hub Max */
@media only screen and (max-width: 1300px) and (min-width: 1200px) and (max-height: 800px) {
.footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 80% !important;
max-width: 80% !important;
gap: 10px;
height: unset !important;

}
.footer-group {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: center;
width: 90% !important;
max-width: 90% !important;
gap: 30px;
}
.footer h2 {
font-size: 25px !important;
left: unset !important;

/* Forest Whisper */
background: linear-gradient(to right, #005AA7, #FFFDE4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.waves {
width: 100% !important;
top: 100px !important;
}
.navbarItems {
left: unset !important;
left: 100px !important;
}
.title {
font-weight: 500 !important;
}

}
/* max width 500px */
@media only screen and (max-width: 500px) {
.navbarItems {
left: unset !important;
}
}
/* max width 340px */
@media only screen and (max-width: 340px) {
input:not(:where(.signup-consent-checkbox)) {
width: 250px;
}
.header-text {
width: 90% !important;
}

.phone-container {
width: 250px;
}
.password-container {
width: 250px;
}
}
/* max width 240px */
@media only screen and (max-width: 240px) {
input:not(:where(.signup-consent-checkbox)) {
width: 200px;
}
.header-text {
width: 90% !important;
}

.phone-container {
width: 200px;
}
.password-container {
width: 200px;
}
}

/* --- Form width normalization & layout fixes --- */
#form { --field-max: 440px; }
#form input[type="email"],
#form input[type="password"],
#form input.form-input-style,
#form button,
#form .password-container,
#form .phone-container {
  width: 100% !important; /* override scattered fixed widths */
  max-width: var(--field-max);
  box-sizing: border-box;
}

/* Ensure inputs inside containers fill their wrappers */
#form .password-container input,
#form .phone-container input,
#form .phone-container select {
  width: 100%;
  box-sizing: border-box;
}

/* Phone container layout and proportions */
#form .phone-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
#form .phone-container select#country-code {
  flex: 0 0 26%;
  min-width: 88px;
  width: auto; /* override any global width */
}
#form .phone-container input#phone-number {
  flex: 1 1 auto;
  min-width: 0; /* prevent overflow in narrow containers */
  width: auto; /* override any global width */
}

/* Stack phone fields on small screens */
@media (max-width: 480px) {
  #form .phone-container {
    flex-direction: column;
    align-items: stretch;
  }
  #form .phone-container select#country-code {
    flex: 0 0 auto;
    min-width: 0;
  }
}

/* Let fields span full container on small screens */
@media (max-width: 640px) {
  #form { --field-max: 100%; }
  .header-container {
    padding: 12px;
    max-width: none;
    width: min(100vw - 24px, 600px); /* 12px gutters on each side */
    margin-left: auto;
    margin-right: auto;
  }
  .header-form { padding: 12px; width: 100%; }
  .form { padding: 16px; width: 100%; }
  .navbar, .navbar-container, .navbar-menu { max-width: 100%; overflow-x: hidden; }
  .footer { width: min(100vw - 24px, 1000px); }
  .footer-group { bottom: 0; }
}

/* On compact phones, we stack instead of squeezing */

/* Password eye icon alignment and input padding */
#form .password-container .eye-icon {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  right: 12px;
}
#form .password-container input {
  padding-right: 42px; /* space for icon */
}





/* Signup consent uses the existing account-terms classes excluded from profile defaults. */
.signup-consent {
  box-sizing: border-box; display: flex; align-items: flex-start; gap: 10px;
  width: 100%; max-width: 440px; min-width: 0; margin: 18px auto;
  padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px;
  background: #fff; color: #263445; font: 400 14px/1.55 Arial, sans-serif;
  text-align: left; cursor: pointer;
}
.signup-consent-checkbox {
  box-sizing: border-box; appearance: auto; position: static; display: inline-block;
  flex: 0 0 22px; width: 22px; height: 22px; min-width: 22px;
  margin: 0; padding: 0; border: 1px solid #64748b; border-radius: 3px;
  background: #fff; color: #263445; accent-color: #076b60; cursor: pointer;
  font: inherit; box-shadow: none;
}
.signup-consent-text { min-width: 0; overflow-wrap: anywhere; }
.signup-consent-link {
  display: inline; position: static; margin: 0; padding: 0; border: 0;
  background: none; color: #076b60; -webkit-text-fill-color: currentColor;
  font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer;
}
.signup-consent-link:hover { color: #044c44; }
.signup-consent-checkbox:hover { border-color: #076b60; }
.signup-consent-checkbox:disabled { opacity: .6; cursor: not-allowed; }
.signup-consent-checkbox:focus-visible, .signup-consent-link:focus-visible {
  outline: 3px solid #2563eb; outline-offset: 3px;
}
