html {
  height: 100%;
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  /* Ensure html fills the entire viewport height */
  /* You might also add overflow-y: auto; here, though body usually handles it */
}

body {
  width: 100%;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: rgb(50, 50, 50);
  align-items: center;
  overflow-x: hidden;
}

.middle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: min(90%, 900px);

  background-color: #2b2a2a;
  /* Black*/
  border-radius: 20px;
  padding: 40px 60px 80px;
  margin-bottom: 30px;
  /* Adjust the value as needed */
  /* hovering effect with border shadow */
  box-shadow: 0 6px 20px rgba(56, 125, 255, 0.17);
}

select {
  font-weight: 500;
  font-style: normal;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-optical-sizing: auto;
  text-align: center;

  border: 0;
  border-bottom: 2px solid black;
  outline: 0;
  font-size: 1.3rem;

  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;
  border-width: 3px;
  border-image: linear-gradient(to right, #11998e, #38ef7d);
  border-image-slice: 1;
  color: rgb(210, 210, 210) !important;

  max-width: 70%;

}

option {
  color: black !important;
  /* Ensure options are visible */
  font-weight: 600 !important;
  /* Make options bold */
}

input {
  font-weight: 500;
  font-style: normal;
  font-optical-sizing: auto;
  text-align: center;
  font-size: 1.2rem !important;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

label {
  /* Silver */
  background: linear-gradient(to right, #00c6ff, #0072ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 20px;
  margin-bottom: 10px;
}

textarea {
  width: 70%;
  max-width: 80%;
  height: 100px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  /* Allows vertical resizing only */
  color: #000;
}

.signup-public-profiles {
  display: grid;
  width: min(80%, 720px);
  gap: 10px;
  margin: 18px auto 6px;
  padding: 14px;
  border: 1px solid rgba(140, 208, 195, 0.26);
  border-radius: 8px;
  background: rgba(14, 33, 39, 0.38);
}

.signup-public-profiles-heading {
  display: grid;
  gap: 3px;
}

.signup-section-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.signup-section-title-row .section-title {
  margin: 0;
}

.signup-required-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 184, 108, 0.38);
  border-radius: 999px;
  background: rgba(255, 151, 74, 0.1);
  color: #ffd3a6;
  font-family: "Raleway", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.signup-inline-required {
  display: inline-flex;
  margin-left: 5px;
  color: #ffbf8a;
  -webkit-text-fill-color: #ffbf8a;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  vertical-align: middle;
}

.signup-required-legend {
  margin: 0 auto 10px;
  color: #d9c9b8;
  font-size: 0.78rem;
  text-align: center;
}

.signup-required-legend span {
  color: #ffab73;
  font-weight: 800;
}

.signup-public-profiles h3,
.signup-public-profiles p {
  margin: 0;
}

.signup-public-profiles h3 {
  color: #bff7ee;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.signup-public-profiles p {
  color: #c4ccd4;
  font-family: "Raleway", sans-serif;
  font-size: 0.82rem;
}

.signup-public-profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.signup-public-profiles-grid label {
  display: grid;
  gap: 5px;
  margin: 0;
  background: none;
  -webkit-text-fill-color: #c9ddd9;
  color: #c9ddd9;
  font-family: "Raleway", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: left;
}

.signup-public-profiles-grid input {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 7px 9px;
  border: 1px solid rgba(157, 211, 205, 0.28);
  border-radius: 5px;
  background: rgba(6, 15, 21, 0.72);
  color: #f2f7f6;
  font-family: "Raleway", sans-serif !important;
  font-size: 0.85rem !important;
  text-align: left;
}

.signup-public-profiles-grid input:focus {
  border-color: #8fd4c8;
  outline: 2px solid rgba(143, 212, 200, 0.18);
  outline-offset: 1px;
}

.signup-public-profiles>label {
  color: #c9ddd9;
  font-size: 0.82rem;
  text-align: left;
}

.signup-public-profiles textarea {
  width: 100%;
  padding: 9px;
  border: 1px solid rgba(157, 211, 205, 0.28);
  border-radius: 5px;
  background: rgba(6, 15, 21, 0.72);
  color: #f2f7f6;
  font-size: 0.85rem;
  text-align: left;
}

.signup-public-exposure-details {
  color: #c4ccd4;
  text-align: left;
  font-size: 0.82rem;
}

.signup-public-exposure-details summary {
  cursor: pointer;
}

.signup-public-exposure-details li {
  margin: 8px 0;
}

.signup-service-location-note {
  max-width: 620px;
  margin: 0 auto 12px;
  color: #c4ccd4;
  font-size: 0.82rem;
}

@media (max-width: 620px) {
  .signup-public-profiles {
    width: min(90%, 720px);
  }

  .signup-public-profiles-grid {
    grid-template-columns: 1fr;
  }
}

summary {
  /* Silver */
  background: linear-gradient(to right, #8d8783, #4e4b48);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: silver;
}

details {
  max-width: 60%;
}

#phone-number {
  width: 50% !important;
  /* Ensure phone number input is wide enough */
  max-width: 55%;
  /* Limit the maximum width */
}

.location-details {
  cursor: pointer;
  /* Indicate that this is clickable */
}


/* Navbar */
.navbar-round {

  display: flex;
  flex-direction: row;
  align-self: center;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 200px;
  /* background-color: #111; */
  background-color: rgb(48, 48, 48);
  border-bottom-left-radius: 100%;
  border-bottom-right-radius: 100%;
  border-top-left-radius: 100%;
  border-top-right-radius: 100%;
  position: relative;
  top: -110px;
  /* left: 80px; */
  box-shadow: 0 6px 20px rgba(56, 125, 255, 0.17);
  padding-bottom: 10px;

  transition: 0.5s;
  /* 0.5 second transition effect to slide in the sidepanel */
}

.dt-icon {
  position: relative;
  top: 55px;
  left: 100px;
  font-size: 50px;

  font-weight: 300;
  font-style: normal;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;

  /* Green */
  background: linear-gradient(to right, #11998e, #38ef7d);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.icon {
  /* Forest Whisper */
  background: linear-gradient(to right, #005AA7, #FFFDE4);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbarItems {
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: relative;
  left: 200px;
  margin-top: 100px;
}

.navbarItems a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 17px;
  color: #818181;
  display: block;

  font-weight: 800;
  font-style: normal;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
}

/* When you mouse over the navigation links, change their color */
.navbarItems a:hover {
  color: #f1f1f1;
}

.navbarItems .icon {
  display: none;
}

/* Waves */
.waves {
  position: absolute;
  z-index: -999;
  animation: wave-reveal 2s ease forwards;
}

@keyframes wave-reveal {
  0% {
    transform: scale(0);
    /* Start small */
    opacity: 0;
    /* Start invisible */
  }

  100% {
    transform: scale(1);
    /* Scale to normal size */
    opacity: 1;
    /* Fade in to full opacity */
  }
}

/* Footer */
.footer {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  align-self: center;
  gap: 30px;
  border-radius: 20px;

  margin-top: auto;

  /* position: relative;

top:100px; */

  width: 1000px;
  /* height: 250px; */
  background-color: rgb(45, 45, 45);
  padding: 30px;
  padding-bottom: 30px;
  line-height: 1;

  margin-bottom: 20px;

}

.footer-2 {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  align-self: center;
  gap: 30px;

  border-radius: 20px;
  margin-bottom: 20px;

  position: relative;

  /* top: 180px; */

  width: 1000px;
  height: 250px;
  background-color: rgb(54, 54, 54);
  padding: 30px;
  line-height: 1;
}

.footer-group {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  gap: 100px;
  position: relative;
  bottom: 30px;
}

.footer p {
  font-weight: 200;
  font-style: normal;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  text-align: center;
  font-size: 17px;
  color: white;
  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;
}

.rememberMeContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.rememberMeCheckbox {
  margin: 0 auto;
  text-align: center;
}


.form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.form-1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.email-deliverability-notice {
  width: 70%;
  max-width: 540px;
  margin: -1px auto 12px;
  padding: 10px 12px;
  border: 1px solid rgba(93, 211, 178, 0.42);
  border-left: 4px solid #38efb0;
  border-radius: 6px;
  background: rgba(20, 49, 54, 0.92);
  color: #edfdf8;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  font-size: 0.84rem;
  line-height: 1.45;
  text-align: left;
}

.email-deliverability-notice[hidden] {
  display: none;
}

.email-deliverability-notice--ru {
  border-color: rgba(255, 187, 128, 0.48);
  border-left-color: #ffbb80;
  background: rgba(59, 42, 32, 0.94);
}

.email-deliverability-notice strong {
  color: #fff;
}

.email-deliverability-notice code {
  color: #ffd0a8;
  font-family: inherit;
  font-weight: 700;
}

.form-note {
  font-size: 0.85rem;
  color: #cfe2ff;
  background: rgba(36, 46, 58, 0.7);
  border-left: 3px solid #38ef7d;
  padding: 10px 18px;
  margin: 20px auto 8px;
  text-align: center;
  border-radius: 14px;
  max-width: 520px;
  line-height: 1.45;
  letter-spacing: 0.15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.ata-credential-callout,
.ata-credential-panel {
  width: 100%;
  max-width: 520px;
  margin: 10px auto 0;
  padding: 16px 18px;
  border-radius: 16px;
  text-align: left;
  box-sizing: border-box;
}

.ata-credential-callout {
  background: rgba(19, 28, 39, 0.88);
  border: 1px solid rgba(79, 132, 255, 0.3);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.ata-credential-title,
.ata-credential-heading {
  margin: 0 0 8px;
  color: #f2f6ff;
  font-size: 1rem;
  font-weight: 700;
}

.ata-credential-copy {
  margin: 0;
  color: #c9d7ee;
  line-height: 1.55;
  font-size: 0.92rem;
}

.ata-credential-copy+.ata-credential-copy {
  margin-top: 10px;
}

.ata-credential-stack {
  width: 100%;
}

.ata-credential-panel {
  background: rgba(28, 38, 50, 0.9);
  border: 1px solid rgba(95, 126, 184, 0.28);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.ata-credential-panel[hidden] {
  display: none !important;
}

.ata-credential-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.ata-credential-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ata-credential-field label,
.ata-credential-checkbox span {
  color: #e2e8f7 !important;
  line-height: 1.5;
}

.ata-credential-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
}

.ata-credential-checkbox input {
  margin-top: 3px;
}

.ata-credential-panel .form-input-style {
  width: 100%;
  max-width: 100%;
}

.ata-credential-field .credential-file-input {
  display: none !important;
}

.ata-credential-field .credential-file-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: #e2e8f7;
  font-size: 0.85rem;
}

.ata-credential-field .credential-file-button {
  padding: 9px 14px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(to right, #11998e, #38ef7d);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.ata-credential-field .credential-file-button:hover {
  filter: brightness(1.1);
}

.ata-validation-highlight {
  border: 1px solid rgba(255, 99, 99, 0.9) !important;
  box-shadow: 0 0 0 3px rgba(255, 99, 99, 0.14);
}

.ata-validation-highlight::before {
  content: none !important;
}

.password-div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.container-code {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

#eye-visible-password {
  color: white;
  cursor: pointer;
}

.no-account {
  color: white;
}

.notification-opt-in {
  width: 70%;
  max-width: 80%;
  margin-top: 15px;
  text-align: left;
  color: #d6d6d6;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  background: none !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #d6d6d6 !important;
  color: #d6d6d6 !important;
  font-size: 0.95rem;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
}

.sms-fine-print {
  margin: 0;
  font-size: 0.75rem;
  color: #a7a7a7;
  line-height: 1.4;
}

input.invalid {
  border-image: linear-gradient(to right, red, darkred) 1;
}

.action-status {
  display: none;
  color: rgb(103, 223, 103) !important;
}

.error {
  display: none;
  color: rgb(233, 109, 109) !important;
  text-align: center;
}


.signin-title {
  margin-top: 30px;
}

.password-wrapper {
  display: flex;
  align-items: center;
  /* Remove width: 100% from here */
}

.form-input-style {
  flex-grow: 1;
  width: 0;
  /* This will allow the input to grow but not initially take full width */
}

.material-symbols-outlined {
  color: white;
  cursor: pointer;
  margin-left: 5px;
  flex-shrink: 0;
}


.h2-code {
  color: white;
  margin-top: 10px;
}

.input-code {
  display: block;
  position: relative;
  left: 40px;
  top: 40px;
  margin: 5px 5px;
  margin-bottom: 10px;
  height: 30px;
  font-family: inherit;
  width: 70%;
  border: 0;
  border-bottom: 2px solid black;
  outline: 0;
  font-size: 1.3rem;
  color: white;
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;
  border-width: 3px;
  border-image: linear-gradient(to right, #11998e, #38ef7d);
  border-image-slice: 1;
}

.button-code {
  position: relative;
  top: 60px;
  left: 150px;
}

.no-account {
  color: white;
}


/* The message box is shown when the user clicks on the password field */
#message {
  display: none;
  background: #2e2d2d;
  color: #000;
  padding: 20px;
  width: 400px;
  border-radius: 20px;
}

#message p {
  padding: 10px 35px;
  font-size: 18px;
}

/* Add a green text color and a checkmark when the requirements are right */
.valid {
  color: rgb(46, 192, 46) !important;
}

.valid:before {
  position: relative;
  left: -35px;
  content: "\2714";
}

/* Add a red text color and an "x" icon when the requirements are wrong */
.invalid:not(.form-input-style) {
  color: rgb(238, 76, 76) !important;
}

.invalid:before {
  position: relative;
  left: -35px;
  content: "\00d7";
}

.phone-number-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

}

.countryCode {
  width: 20%;
  font-size: medium;
  position: relative;
  top: 1px;
}

.chip,
.selected-chip {
  display: inline-block !important;
  background: #23272f !important;
  color: #d7d7d7 !important;
  border-radius: 16px !important;
  padding: 4px 8px !important;
  margin: 2px 4px !important;
  font-size: 13px !important;
  position: relative !important;
}

.chip-x,
.remove-chip-btn {
  background: none !important;
  border: none !important;
  color: #f7f6f6 !important;
  margin-left: 6px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  padding: 10px !important;
}

.chip-x:hover {
  color: #ff0000 !important;
  /* Change color on hover */
}

.chips-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  margin-bottom: 6px !important;
}


.chips-options {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 20;
  background: #23272f;
  border: 1px solid #353a45;
  border-radius: 8px;
  padding: 12px 10px 10px 10px;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 210px;
  max-width: 100vw;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.chips-options.show {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.chips-option-btn {
  background: #353a45 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 4px 10px !important;
  cursor: pointer !important;
  margin: 2px !important;
}

.chips-option-btn:hover {
  background: #4b5363 !important;
}


.chips-input-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  /* or whatever fits your layout */
}

.chips-input-wrapper input.form-input-style {
  width: 100%;
  box-sizing: border-box;
}

.translator-skills-field {
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  margin: 22px 0;
  padding: 16px;
  border: 1px solid #4b5363;
  border-radius: 8px;
  color: #d7d7d7;
}

.translator-skills-field legend {
  padding: 0 6px;
  color: #ffffff;
  font-weight: 700;
}

.translator-skills-field p {
  margin: 0 0 12px;
  color: #b8c0cc !important;
  font-size: 0.86rem;
  line-height: 1.45;
}

.translator-skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.translator-skill-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  background: none !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #e5e7eb !important;
  color: #e5e7eb !important;
  font-size: 0.88rem;
  line-height: 1.3;
  cursor: pointer;
}

.translator-skill-option input {
  flex: 0 0 auto;
  margin: 0;
}

.translator-dtp-details {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 14px;
  border: 1px solid rgba(82, 183, 255, 0.4);
  border-radius: 8px;
  background: rgba(25, 38, 54, 0.82);
}

.translator-dtp-details[hidden] {
  display: none;
}

.translator-dtp-guidance {
  margin: 0 0 12px !important;
  color: #dcecff !important;
  font-size: 0.86rem;
  line-height: 1.5;
}

.translator-dtp-software-heading {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 0.88rem;
}

.translator-dtp-software-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.translator-dtp-software-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  background: none !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #e5e7eb !important;
  color: #e5e7eb !important;
  font-size: 0.82rem;
  line-height: 1.3;
  cursor: pointer;
}

.translator-dtp-software-option input {
  flex: 0 0 auto;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .chips-input-wrapper {
    max-width: 98vw;
  }

  .translator-skills-grid {
    grid-template-columns: 1fr;
  }

  .translator-dtp-software-grid {
    grid-template-columns: 1fr;
  }

  .ata-credential-callout,
  .ata-credential-panel {
    max-width: 98vw;
    padding: 14px 16px;
  }

  .chips-options {
    min-width: 140px;
    max-width: 98vw;
    font-size: 13px;
  }

  .chip {
    font-size: 12px !important;
    padding: 3px 8px !important;
    max-width: 80vw;
  }

  .chips-option-btn {
    font-size: 12px !important;
    padding: 3px 8px !important;
  }
}

@media (max-width: 400px) {
  .chips-options {
    min-width: 90px;
    max-width: 99vw;
    font-size: 11px;
    left: 0;
    right: 0;
  }

  .chip {
    font-size: 11px !important;
    padding: 2px 6px !important;
    max-width: 70vw;
  }

  .chips-option-btn {
    font-size: 11px !important;
    padding: 2px 6px !important;
  }
}

#location {
  width: 100%;
  max-width: 500px;
}

.countryCode {
  max-width: 30%;
}



/* MS Word Formatting Skills Section */
.ms-word-skills-section {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0;
  /* Light gray for text on a dark background */
  max-width: 800px;
  margin: 30px auto;
  padding: 25px;
  border: 1px solid #4a4a4a;
  /* Slightly lighter border for contrast */
  border-radius: 8px;
  background-color: #3a3a3a;
  /* Darker than body background but still dark */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  /* More visible shadow on dark */
}

.ms-word-skills-heading {
  color: #ffffff;
  /* White for main heading */
  margin-bottom: 20px;
  text-align: center;
}

.ms-word-skills-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* Visually hidden but accessible legend for fieldset */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.ms-word-skills-explanation {
  margin-bottom: 20px;
  font-size: 0.95em;
  color: #e0e0e0;
  /* Lighter gray for explanation */
}

.ms-word-skill-option {
  margin-bottom: 15px;
  display: flex;
  /* Aligns checkbox/radio with label */
  flex-direction: row;
  /* Aligns items in a row */
  align-items: center;
  /* Try centering them first, then adjust if needed */
}

.ms-word-skill-option input[type="radio"] {
  margin-right: 10px;
  /* Space between radio button and label */
  flex-shrink: 0;
  /* Prevents radio button from shrinking */
  /* Removed margin-top: 4px; */
  /* Add this to attempt to fine-tune vertical alignment */
  /* You might need to adjust the value (e.g., 2px, 3px, 5px) based on your browser/OS */
  position: relative;
  top: 2px;
  /* Small nudge up, common for radio/checkbox alignment */
}

.ms-word-skill-label {
  font-weight: bold;
  color: #ffffff;
  /* White for labels */
  margin-right: 5px;
  /* Space between bold label and description */
  /* To ensure the label also aligns well with the description,
       and doesn't push the radio button down */
  line-height: 1.2;
  /* Can help, or make it match the input's effective line-height */
}

.ms-word-skill-description {
  font-size: 0.9em;
  color: #c1bfbf;
  /* Slightly lighter gray for descriptions */
  /* To ensure consistency, set line-height here as well */
  line-height: 1.2;
  position: relative;
  top: 12px;
}

.ms-word-skills-section label {
  /* Orange */
  background: linear-gradient(to right, #11998e, #38ef7d) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;

}

/* --- Responsive Adjustments for Smaller Screens --- */
@media (max-width: 1300px) {

  /* Adjust this breakpoint as needed for your layout */
  .ms-word-skills-section {
    width: 90%;
    /* Allows the section to shrink on narrower screens */
    padding: 20px;
    /* Slightly less padding to save space */
    margin: 20px auto;
    /* Adjust margin if needed */
    box-sizing: border-box;
    /* Crucial for responsive padding/width */
  }

  /* Adjust the radio button option layout for smaller screens */
  .ms-word-skill-option {
    flex-direction: row;
    /* Stack the radio button, label, and description vertically */
    align-items: flex-start;
    /* Align stacked items to the left */
  }

  .ms-word-skill-option input[type="radio"] {
    margin-right: 0;
    /* Remove horizontal margin when stacked */
    margin-bottom: 5px;
    /* Add some vertical spacing below the radio button */
    top: 0;
    /* Reset previous `top` adjustments for this stacked layout */
    width: 20px !important;
    /* Ensure radio button is large enough to be easily clickable */
  }

  .ms-word-skill-label {
    margin-right: 0;
    /* Remove horizontal margin when stacked */
    margin-bottom: 5px;
    /* Add some vertical spacing below the label */
    line-height: 1.4;
    /* May need more line-height for stacked text */
    position: relative;
    bottom: 25px;
  }

  .ms-word-skill-description {
    top: 0;
    /* Remove the `top: 12px;` offset for smaller screens */
    /* You might want to adjust line-height here if text feels too dense */
    line-height: 1.4;
    /* Example adjustment */
    margin-left: 5px;
    /* Add some left margin for better spacing */
  }
}

/* Optional: Even smaller screen adjustments if needed (e.g., for phones) */
@media (max-width: 480px) {
  .ms-word-skills-section {
    padding: 15px;
    /* Even less padding */
  }

  .ms-word-skills-heading {
    font-size: 1.2em;
    /* Shrink heading on very small screens */
  }

  .ms-word-skills-explanation,
  .ms-word-skill-description {
    font-size: 0.85em;
    /* Shrink text slightly */
  }
}




/* Rate Preferences Section */
.rate-preferences-section {
  --rate-text: #f8fafc;
  --rate-muted: #d7e2ef;
  --rate-border: rgba(148, 163, 184, 0.28);
  --rate-surface: rgba(15, 23, 42, 0.94);
  --rate-surface-soft: rgba(30, 41, 59, 0.86);
  --rate-volume-soft: rgba(52, 211, 153, 0.16);
  --rate-specialized-soft: rgba(251, 191, 36, 0.16);
  --rate-premium-soft: rgba(244, 114, 182, 0.16);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--rate-text);
  max-width: 840px;
  width: calc(100% - 40px);
  margin: 24px auto;
  padding: 22px;
  box-sizing: border-box;
  border: 1px solid rgba(118, 142, 166, 0.32);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.18), transparent 34%),
    radial-gradient(circle at bottom left, rgba(244, 114, 182, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(30, 41, 59, 0.95));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.rate-preferences-section .rate-preferences-heading,
.rate-preferences-section .rate-insight-card h3,
.rate-preferences-section .rate-selection-feedback-copy h3,
.rate-preferences-section .rate-preferences-explanation,
.rate-preferences-section .rate-market-insight p,
.rate-preferences-section .rate-revenue-title,
.rate-preferences-section .rate-revenue-callout p,
.rate-preferences-section .rate-market-realities-title,
.rate-preferences-section .rate-market-realities-paragraph,
.rate-preferences-section .rate-market-ai-title,
.rate-preferences-section .rate-market-ai-note p,
.rate-preferences-section .rate-market-realities-table th,
.rate-preferences-section .rate-market-realities-table td,
.rate-preferences-section .rate-insight-card p,
.rate-preferences-section .rate-option-description,
.rate-preferences-section .rate-option-detail,
.rate-preferences-section .rate-selection-feedback-copy p,
.rate-preferences-section .rate-pro-tip p,
.rate-preferences-section .rate-label,
.rate-preferences-section .rate-page-rate {
  background: none !important;
  background-image: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  font-family: Arial, sans-serif !important;
  font-style: normal;
  text-align: left;
}

.rate-preferences-header {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.rate-preferences-copy {
  min-width: 0;
}

.rate-market-insight {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  background: linear-gradient(160deg, rgba(12, 74, 110, 0.72), rgba(30, 41, 59, 0.76));
  color: #e6f4ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rate-market-insight p {
  margin: 0;
  font-size: 0.82em !important;
  line-height: 1.45;
  color: var(--rate-text);
}

.rate-market-insight strong {
  color: #ffffff;
}

.rate-revenue-callout {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(52, 211, 153, 0.26);
  background: linear-gradient(160deg, rgba(6, 95, 70, 0.42), rgba(15, 23, 42, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rate-revenue-title {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 0.88em !important;
  line-height: 1.35;
  font-weight: 700 !important;
}

.rate-revenue-callout p {
  margin: 0;
  color: #dcfce7;
  font-size: 0.8em !important;
  line-height: 1.45;
}

.rate-insight-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(191, 219, 254, 0.16);
  color: #dbeafe;
  font-size: 0.66em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
}

.rate-insight-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.rate-insight-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.rate-insight-card h3 {
  margin: 0 0 4px;
  font-size: 0.78em !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  color: #ffffff;
}

.rate-insight-card p {
  margin: 0;
  font-size: 0.74em !important;
  line-height: 1.45;
  color: var(--rate-muted);
}

.rate-insight-icon {
  color: #93c5fd;
  font-size: 1.1rem;
  line-height: 1;
}

.rate-preferences-section .rate-preferences-heading {
  color: #ffffff;
  margin: 0 0 8px;
  text-align: left;
  font-size: 1.4em !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.rate-preferences-section .rate-preferences-explanation {
  margin: 0;
  font-size: 0.8em !important;
  line-height: 1.45;
  color: var(--rate-muted);
}

.rate-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.rate-option-block {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(30, 41, 59, 0.9));
  border-radius: 16px;
  border: 1px solid var(--rate-border);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.rate-option-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
}

.rate-option-block-volume::before,
.rate-option-block-flow::before {
  background: linear-gradient(90deg, #2dd4bf, #38bdf8);
}

.rate-option-block-specialized::before {
  background: linear-gradient(90deg, #f59e0b, #fcd34d);
}

.rate-option-block-premium::before,
.rate-option-block-expert::before {
  background: linear-gradient(90deg, #fb7185, #f472b6);
}

.rate-option-block:hover,
.rate-option-block:focus-within {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.5);
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.28);
}

.rate-option-block.selected {
  border-color: rgba(110, 231, 183, 0.6);
  background: linear-gradient(180deg, rgba(16, 33, 53, 0.94), rgba(30, 41, 59, 0.96));
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.34);
}

.rate-option-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.rate-checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.rate-checkbox-line input[type="checkbox"] {
  margin: 4px 0 0;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #2dd4bf;
}

.rate-label-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rate-preferences-section .rate-label {
  font-weight: 700;
  font-size: 0.84em !important;
  color: #ffffff;
  cursor: pointer;
  line-height: 1.35 !important;
  align-self: auto;
}

.rate-page-rate {
  margin: 0;
  font-size: 0.84em !important;
  line-height: 1.35 !important;
  color: #b8c7da;
}

.rate-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rate-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.63em;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
}

.rate-badge-volume,
.rate-badge-fast,
.rate-badge-calm {
  color: #b6ffe0;
  background: var(--rate-volume-soft);
  border-color: rgba(52, 211, 153, 0.34);
}

.rate-badge-specialized,
.rate-badge-tier {
  color: #ffe8a3;
  background: var(--rate-specialized-soft);
  border-color: rgba(251, 191, 36, 0.34);
}

.rate-badge-premium,
.rate-badge-selective,
.rate-badge-expert,
.rate-badge-low-volume {
  color: #ffd0e8;
  background: var(--rate-premium-soft);
  border-color: rgba(244, 114, 182, 0.34);
}

.rate-option-description {
  margin: 0;
  font-size: 0.78em !important;
  line-height: 1.45;
  font-weight: 600;
  color: #f8fafc;
}

.rate-option-detail {
  margin: 0;
  font-size: 0.74em !important;
  line-height: 1.45;
  color: var(--rate-muted);
}

.rate-tooltip {
  position: relative;
  flex-shrink: 0;
}

.rate-preferences-section button.rate-tooltip-trigger {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(15, 23, 42, 0.75);
  background-image: none;
  color: #e2e8f0;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font: inherit;
  line-height: 1;
  box-shadow: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rate-preferences-section button.rate-tooltip-trigger:hover,
.rate-preferences-section button.rate-tooltip-trigger:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.55);
  background: rgba(30, 41, 59, 0.92);
}

.rate-preferences-section button.rate-tooltip-trigger .material-symbols-outlined {
  font-size: 15px;
  line-height: 1;
  color: inherit;
}

.rate-tooltip-content {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 5;
  width: min(280px, calc(100vw - 72px));
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.98);
  color: #e2e8f0;
  font-size: 0.72em !important;
  line-height: 1.45;
  box-shadow: 0 18px 30px rgba(2, 6, 23, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  pointer-events: none;
}

.rate-tooltip-content::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 14px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: rgba(15, 23, 42, 0.98);
  border-left: 1px solid rgba(148, 163, 184, 0.3);
  border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.rate-tooltip:hover .rate-tooltip-content,
.rate-tooltip:focus-within .rate-tooltip-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rate-selection-feedback {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.rate-selection-feedback-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex-shrink: 0;
}

.rate-selection-feedback-copy {
  min-width: 0;
}

.rate-selection-feedback-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.64em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
}

.rate-preferences-section .rate-selection-feedback-copy h3 {
  margin: 6px 0 4px;
  font-size: 0.8em !important;
  line-height: 1.35 !important;
  color: #ffffff;
  font-weight: 700 !important;
}

.rate-selection-feedback-copy p {
  margin: 0;
  color: var(--rate-muted);
  font-size: 0.74em !important;
  line-height: 1.45;
}

.rate-feedback-default {
  border-color: rgba(125, 211, 252, 0.18);
  background: rgba(14, 165, 233, 0.08);
}

.rate-feedback-default .rate-selection-feedback-icon-wrap,
.rate-feedback-default .rate-selection-feedback-badge {
  background: rgba(56, 189, 248, 0.16);
  color: #dbeafe;
}

.rate-feedback-success {
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.08);
}

.rate-feedback-success .rate-selection-feedback-icon-wrap,
.rate-feedback-success .rate-selection-feedback-badge {
  background: rgba(52, 211, 153, 0.18);
  color: #c8ffe6;
}

.rate-feedback-info {
  border-color: rgba(96, 165, 250, 0.28);
  background: rgba(59, 130, 246, 0.08);
}

.rate-feedback-info .rate-selection-feedback-icon-wrap,
.rate-feedback-info .rate-selection-feedback-badge {
  background: rgba(96, 165, 250, 0.18);
  color: #dbeafe;
}

.rate-feedback-warning {
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.08);
}

.rate-feedback-warning .rate-selection-feedback-icon-wrap,
.rate-feedback-warning .rate-selection-feedback-badge {
  background: rgba(251, 191, 36, 0.18);
  color: #fde68a;
}

.rate-feedback-premium {
  border-color: rgba(244, 114, 182, 0.28);
  background: rgba(244, 114, 182, 0.08);
}

.rate-feedback-premium .rate-selection-feedback-icon-wrap,
.rate-feedback-premium .rate-selection-feedback-badge {
  background: rgba(244, 114, 182, 0.18);
  color: #ffd7ec;
}

.rate-pro-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(191, 219, 254, 0.26);
  background: rgba(191, 219, 254, 0.06);
}

.rate-pro-tip .material-symbols-outlined {
  color: #7dd3fc;
  font-size: 1rem;
  line-height: 1;
  margin-top: 2px;
}

.rate-pro-tip p {
  margin: 0;
  color: #dbeafe;
  font-size: 0.74em !important;
  line-height: 1.45;
}

.rate-market-realities-section {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.rate-market-realities-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: #dbeafe;
  font-size: 0.64em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
}

.rate-market-realities-title {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 0.82em !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

.rate-market-realities-paragraph {
  margin: 0 0 8px;
  color: var(--rate-muted);
  font-size: 0.74em !important;
  line-height: 1.45;
}

.rate-market-table-wrap {
  margin-top: 10px;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.rate-market-realities-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: rgba(15, 23, 42, 0.35);
}

.rate-market-realities-table th,
.rate-market-realities-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  text-align: left;
  vertical-align: top;
  font-size: 0.72em !important;
  line-height: 1.4;
  color: var(--rate-muted);
}

.rate-market-realities-table th {
  color: #ffffff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
}

.rate-market-realities-table tbody tr:last-child td {
  border-bottom: none;
}

.rate-market-ai-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(56, 189, 248, 0.08);
}

.rate-market-ai-title {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 0.78em !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

.rate-market-ai-note p {
  margin: 0;
  color: var(--rate-muted);
  font-size: 0.72em !important;
  line-height: 1.45;
}

@media (max-width: 1300px) {
  .rate-preferences-section {
    padding: 18px;
    width: calc(100% - 30px);
  }

  .rate-preferences-header {
    grid-template-columns: 1fr;
  }

  .rate-preferences-section .rate-preferences-heading {
    font-size: 1.26em !important;
  }

  .rate-preferences-section .rate-preferences-explanation {
    font-size: 0.78em !important;
  }

  .rate-preferences-section .rate-label {
    font-size: 0.82em !important;
  }

  .rate-page-rate {
    font-size: 0.82em !important;
  }

  .rate-insight-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rate-options-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .rate-option-block {
    padding: 13px;
  }
}

@media (max-width: 760px) {
  .rate-insight-strip {
    grid-template-columns: 1fr;
  }

  .rate-selection-feedback {
    flex-direction: column;
  }

  .rate-tooltip-content {
    left: 0;
    right: auto;
    width: min(300px, calc(100vw - 80px));
  }

  .rate-tooltip-content::before {
    left: 14px;
    right: auto;
  }
}

@media (max-width: 480px) {
  .rate-preferences-section {
    padding: 15px;
    width: calc(100% - 20px);
  }

  .rate-preferences-section .rate-preferences-heading {
    font-size: 1.14em !important;
  }

  .rate-checkbox-line input[type="checkbox"] {
    width: 15px;
    height: 15px;
  }

  .rate-option-top {
    gap: 10px;
  }

  .rate-preferences-section .rate-label {
    font-size: 0.8em !important;
  }

  .rate-page-rate {
    font-size: 0.8em !important;
  }

  .rate-market-insight,
  .rate-revenue-callout,
  .rate-market-realities-section,
  .rate-option-block,
  .rate-selection-feedback,
  .rate-pro-tip {
    padding: 14px;
  }

  .rate-preferences-section button.rate-tooltip-trigger {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
  }
}



/* Photo upload */
/* Upload Profile Picture Section */
.form-section {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0;
  /* Light text on dark background */
  max-width: 800px;
  width: calc(100% - 40px);
  /* Responsive width with padding accounted for */
  margin: 30px auto;
  padding: 25px;
  box-sizing: border-box;
  /* Include padding and border in element's total width */
  border: 1px solid #4a4a4a;
  border-radius: 8px;
  background-color: #3a3a3a;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.section-title {
  color: #ffffff;
  margin-bottom: 15px;
  text-align: center;
}

.section-description {
  font-size: 0.95em;
  color: #e0e0e0;
  margin-bottom: 25px;
  text-align: center;
}

.file-upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.upload-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(to right, #11998e, #38ef7d);
  /* Green gradient */
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  transition: filter 0.3s ease;
  /* Use filter for hover effect on gradient */
}

.form-section label {
  -webkit-text-fill-color: unset !important;
  /* Ensure text color is not overridden */
}

.upload-button:hover {
  filter: brightness(1.1);
}

.file-name-display {
  font-size: 0.85em;
  color: #aaa;
}

/* Progress Bar Styling */
.upload-progress-container {
  width: 90%;
  max-width: 400px;
  background-color: #555;
  border-radius: 5px;
  overflow: hidden;
  height: 20px;
  position: relative;
}

.upload-progress-bar {
  height: 100%;
  width: 0%;
  background-color: #38ef7d;
  /* Green fill */
  transition: width 0.3s ease;
}

.upload-progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 0.75em;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Image Preview Styling */
.image-preview-container {
  position: relative;
  width: 150px;
  height: 150px;
  border: 1px dashed #777;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2b2a2a;
  /* Same as body background */
}

.image-preview-container img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  /* Ensures the whole image is visible */
}

.delete-image-button {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: rgba(255, 0, 0, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 0.9em;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  /* Adjust for vertical centering of X */
  padding: 0;
  transition: background-color 0.2s ease;
}

.delete-image-button:hover {
  background-color: red;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .section-description {
    font-size: 0.9em;
  }

  .upload-button {
    padding: 8px 15px;
    font-size: 0.9em;
  }

  .file-name-display {
    font-size: 0.8em;
  }

  .upload-progress-container {
    width: 100%;
  }

  .image-preview-container {
    width: 120px;
    height: 120px;
  }

  .delete-image-button {
    width: 22px;
    height: 22px;
    font-size: 0.8em;
  }
}



/* Error Popup */
#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-color: #35374B;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#reload-button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
}

#error-popup-title {
  color: rgb(214, 214, 214);
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

#error-popup-message {
  color: rgb(214, 214, 214);
  font-size: 16px;
  margin-bottom: 20px;
}


/* Specific styles for National ID preview (PDF) */
.national-id-pdf-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #333;
  /* Dark background for PDF preview area */
  color: #f0f0f0;
  font-size: 0.8em;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  cursor: pointer;
  /* *** NEW: Indicate clickability *** */
}

.national-id-pdf-preview .pdf-icon {
  font-size: 3em;
  margin-bottom: 5px;
  line-height: 1;
}

.national-id-preview-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Styles for the National ID Explanation Details */
.id-explanation-details {
  margin-top: 20px;
  margin-bottom: 25px;
  /* Space between explanation and upload fields */
  background-color: #333;
  /* Slightly lighter background than section */
  border: 1px solid #4a4a4a;
  border-radius: 5px;
  padding: 10px 15px;
  /* Padding inside the details block */
}

.id-explanation-summary {
  font-weight: bold;
  color: #a0a0a0;
  /* A slightly lighter, noticeable color for summary */
  cursor: pointer;
  padding: 5px 0;
  /* Padding around summary text */
  outline: none;
  /* Remove outline on focus for some browsers */
}

.id-explanation-summary:hover {
  color: #f0f0f0;
  /* Lighter on hover */
}

/* Styles for the National ID Explanation Details */
.id-explanation-details {
  max-width: 700px;
  /* NEW: Limit width to allow centering */
  margin: 20px auto 25px auto;
  /* NEW: Use auto for left/right margins to center */
  background-color: #333;
  border: 1px solid #4a4a4a;
  border-radius: 5px;
  padding: 10px 15px;
  box-sizing: border-box;
  /* Ensures padding is included in max-width */
}

.id-explanation-summary {
  font-weight: bold;
  color: #a0a0a0;
  cursor: pointer;
  padding: 5px 0;
  outline: none;
}

.id-explanation-summary:hover {
  color: #f0f0f0;
}

/* Style the content inside the details */
.id-explanation-content {
  padding-top: 10px;
  border-top: 1px solid #555;
  margin-top: 10px;
  font-size: 0.9em;
  color: #e0e0e0;
}

.id-explanation-content p {
  margin-bottom: 10px;
}

.id-explanation-content ul {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-bottom: 10px;
}

.id-explanation-content li {
  margin-bottom: 5px;
}

.id-explanation-content strong {
  color: #ffffff;
}

/* Responsive adjustments for details */
@media (max-width: 600px) {
  .id-explanation-details {
    padding: 8px 12px;
    max-width: calc(100% - 24px);
    /* Adjust max-width for small screens with its own padding */
  }

  .id-explanation-summary {
    font-size: 0.95em;
  }

  .id-explanation-content {
    font-size: 0.85em;
  }
}



/* Styles for the dynamic list of supporting documents */
.supporting-doc-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* Space between individual file items */
}

.file-item-container {
  display: flex;
  align-items: center;
  background-color: #444;
  /* Slightly lighter dark background for each file item */
  border: 1px solid #555;
  border-radius: 5px;
  padding: 10px;
  gap: 10px;
  /* Space between info and preview sections */
  flex-wrap: wrap;
  /* Allow content to wrap on smaller screens */
  color: #f0f0f0;
}

.file-item-info {
  flex-grow: 1;
  /* Allows info section to take available space */
  min-width: 150px;
  /* Ensures it doesn't get too squished */
}

.file-item-name {
  display: block;
  font-size: 0.9em;
  font-weight: bold;
  color: #ffffff;
  word-break: break-all;
  /* Breaks long filenames */
}

.file-item-progress-wrapper {
  width: 100%;
  height: 12px;
  background-color: #666;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 5px;
  position: relative;
}

.file-item-progress-bar {
  height: 100%;
  width: 0%;
  background-color: #38ef7d;
  /* Green fill */
  transition: width 0.3s ease;
}

.file-item-progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 0.7em;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.file-item-preview {
  flex-shrink: 0;
  /* Prevents preview area from shrinking */
  width: 80px;
  /* Fixed width for preview area */
  height: 80px;
  /* Fixed height for preview area */
  border: 1px dashed #777;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2b2a2a;
  position: relative;
}

.file-item-img-preview {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.file-item-pdf-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #333;
  color: #f0f0f0;
  font-size: 0.7em;
  text-align: center;
  padding: 5px;
  box-sizing: border-box;
  cursor: pointer;
}

.file-item-pdf-preview .pdf-icon {
  font-size: 2em;
  /* Smaller icon for list item */
  margin-bottom: 3px;
  line-height: 1;
}

.file-item-delete-button {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: rgba(255, 0, 0, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7em;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  padding: 0;
  transition: background-color 0.2s ease;
}

.file-item-delete-button:hover {
  background-color: red;
}

/* Responsive adjustments for supporting docs section */
@media (max-width: 600px) {
  .file-item-container {
    flex-direction: column;
    /* Stack info and preview on small screens */
    align-items: flex-start;
    padding: 8px;
  }

  .file-item-info {
    width: 100%;
    /* Take full width when stacked */
    margin-bottom: 10px;
  }

  .file-item-preview {
    width: 100px;
    height: 100px;
    align-self: center;
    /* Center preview when stacked */
  }

  .file-item-delete-button {
    width: 18px;
    height: 18px;
    font-size: 0.65em;
  }
}





/* Styles for the Terms and Expectations Section */
.terms-section {
  /* Reuses .form-section styles from previous parts (max-width, width, margin, padding, etc.) */
  margin-top: 30px;
  /* Add some space above this new section */
}

/* NEW: General instruction style */
.general-terms-instruction {
  font-size: 1em;
  color: #a0a0a0;
  /* Slightly lighter to stand out */
  text-align: center;
  margin-bottom: 30px;
  /* Space between instruction and first details block */
  padding: 0 10px;
  /* Some horizontal padding */
}


.terms-details {
  max-width: 700px;
  /* Limit width to allow centering */
  margin: 0 auto 15px auto;
  /* Centered, with bottom margin between details blocks */
  background-color: #333;
  /* Slightly lighter background than main section */
  border: 1px solid #4a4a4a;
  border-radius: 5px;
  overflow: hidden;
  /* Ensures content doesn't spill out on open/close */
  box-sizing: border-box;
  /* Include padding/border in width */
}

.terms-summary {
  display: flex;
  align-items: center;
  padding: 15px;
  cursor: pointer;
  outline: none;
  /* Remove default focus outline */
  background-color: #3a3a3a;
  color: #f0f0f0;
  font-weight: bold;
  font-size: 1.05em;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  /* Remove highlight on mobile */
}

.terms-summary:hover {
  background-color: #444;
}

/* Style the default disclosure triangle */
.terms-summary::marker,
.terms-summary::-webkit-details-marker {
  color: #38ef7d;
  /* Green color for the arrow */
  font-size: 1.2em;
  /* Make the arrow slightly larger */
}

.terms-summary-text {
  flex-grow: 1;
  /* Allows text to take up remaining space */
  /* Apply gradient to the label text */
  background: linear-gradient(to right, #005AA7, #FFFDE4);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* Fallback */
  /* No margin-right here as checkbox is moved */

  font-weight: 600;
  font-style: normal;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  text-align: center;
}



.terms-content {
  padding: 15px 25px;
  border-top: 1px solid #555;
  background-color: #2b2a2a;
  /* Darker background for content */
  color: #e0e0e0;
  font-size: 0.9em;
}

.terms-content p {
  margin-bottom: 10px;
}

.terms-content ol,
.terms-content ul {
  margin-left: 20px;
  padding-left: 0;
  margin-bottom: 10px;
}

.terms-content li {
  margin-bottom: 8px;
}

.terms-content li strong {
  color: #ffffff;
}

/* Style for nested lists if any */
.terms-content ul ul,
.terms-content ol ul,
.terms-content ul ol,
.terms-content ol ol {
  margin-left: 15px;
  margin-top: 5px;
  margin-bottom: 5px;
}

/* NEW: Style for blockquote (used in Dispute Resolution) */
.terms-content blockquote {
  margin: 15px 0;
  padding: 10px 20px;
  border-left: 4px solid #38ef7d;
  /* Green left border */
  background-color: #333;
  /* Slightly lighter background */
  font-style: italic;
  color: #f0f0f0;
}

.terms-content blockquote p {
  margin-bottom: 0;
  /* Remove extra margin for paragraph inside blockquote */
}


/* Styles for the agreement checkbox inside the content */
.agreement-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  /* Align checkbox with first line of text */
  margin-top: 20px;
  /* Space above the checkbox */
  padding-top: 15px;
  /* Visual separation from content */
  border-top: 1px dashed #555;
  /* Separator line */
}

.agreement-checkbox-wrapper input[type="checkbox"] {
  margin-right: 10px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
  top: 4px;
  /* Adjust for vertical alignment with text */
  cursor: pointer;
}

.agreement-checkbox-wrapper label {
  flex-grow: 1;
  color: #f0f0f0;
  font-size: 0.9em;
  cursor: pointer;
  line-height: 1.4;
  /* Ensure good line height for text */
}

/* Responsive adjustments for terms section */
@media (max-width: 600px) {
  .general-terms-instruction {
    font-size: 0.9em;
    margin-bottom: 20px;
  }

  .terms-details {
    margin-bottom: 10px;
    /* max-width: calc(100% - 24px); */
  }

  .terms-summary {
    padding: 12px 15px;
    font-size: 1em;
  }

  .terms-summary::marker,
  .terms-summary::-webkit-details-marker {
    font-size: 1.1em;
  }

  .terms-content {
    padding: 10px 15px;
    font-size: 0.85em;
  }

  .terms-content ol,
  .terms-content ul {
    margin-left: 15px;
  }

  .agreement-checkbox-wrapper {
    margin-top: 15px;
    padding-top: 10px;
  }

  .agreement-checkbox-wrapper input[type="checkbox"] {
    width: 16px;
    height: 16px;
    top: 2px;
  }

  .agreement-checkbox-wrapper label {
    font-size: 0.85em;
  }
}

@media (max-width: 480px) {
  .terms-summary {
    font-size: 0.95em;
  }

  .terms-content {
    font-size: 0.8em;
  }
}

/* NEW: Style for h3 tags within terms content (for "Payment Processing and Tax Forms", etc.) */
.terms-content h3 {
  color: #ffffff;
  /* White for headings within content */
  font-size: 1.1em;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Add responsive adjustments for new h3 if necessary */
@media (max-width: 600px) {
  .terms-content h3 {
    font-size: 1em;
    margin-top: 15px;
  }
}


/* Styles for the main Privacy Policy and T&C agreement checkbox */
.main-agreement-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  /* Aligns checkbox with the start of the text */
  margin-top: 30px;
  /* Space above this agreement */
  margin-bottom: 20px;
  /* Space below this agreement, before submit button perhaps */
  padding: 15px;
  /* Add some padding around the box */
  border: 1px solid #4a4a4a;
  /* Subtle border */
  border-radius: 5px;
  background-color: #333;
  /* Background similar to other details sections */
  max-width: 700px;
  /* Match width of other terms sections */
  margin-left: auto;
  /* Center horizontally */
  margin-right: auto;
  /* Center horizontally */
  box-sizing: border-box;
  /* Include padding/border in width */
}

.main-agreement-checkbox-wrapper input[type="checkbox"] {
  margin-right: 10px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
  top: 2px;
  /* Adjust for vertical alignment with text */
  cursor: pointer;
}

.main-agreement-checkbox-wrapper label {
  flex-grow: 1;
  color: #f0f0f0;
  /* Light text color */
  font-size: 0.9em;
  cursor: pointer;
  line-height: 1.4;
}

.main-agreement-checkbox-wrapper label a {
  color: #38ef7d;
  /* Green color for links */
  text-decoration: none;
  /* No underline */
  font-weight: bold;
}

.main-agreement-checkbox-wrapper label a:hover {
  text-decoration: underline;
  /* Underline on hover */
}

.agree-privacy-terms {
  background: unset !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  margin-top: unset !important;
  margin-bottom: unset !important;
}

/* Responsive adjustments for this specific checkbox */
@media (max-width: 600px) {
  .main-agreement-checkbox-wrapper {
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 15px;
    max-width: calc(100% - 20px);
    /* Adjust width for small screens */
  }

  .main-agreement-checkbox-wrapper input[type="checkbox"] {
    width: 16px;
    height: 16px;
    top: 2px;
  }

  .main-agreement-checkbox-wrapper label {
    font-size: 0.85em;
  }
}








.reusables {
  /* BUTTON COLORS */
  background-image: linear-gradient(to right, #6a11cb, #2575fc) !important;
  background-image: linear-gradient(to right, #4b79a1, #283e51) !important;
  background-image: linear-gradient(135deg, #f34079 40%, #fc894d);
  /* Soft green */
  background-image: linear-gradient(to right, #0d665c, #2b9e6b) !important;
  /* Soft pink */
  background-image: linear-gradient(to right, #ff758c, #ff7eb3) !important;
  /* Soft red */
  background-image: linear-gradient(to right, #8b0000, #b22222) !important;
  /* Soft silver */
  background-image: linear-gradient(to right, #8d8783, #4e4b48) !important;
  /* Purple linear background */
  border-radius: 20px;
  background-color: #4158D0;
  background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);

  /* TEXT COLORS */
  /* Forest Whisper */
  background: linear-gradient(to right, #005AA7, #FFFDE4);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Gold */
  background: linear-gradient(to right, #BF953F, #FCF6BA);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Silver */
  background: linear-gradient(to right, #8d8783, #4e4b48);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Green */
  background: linear-gradient(to right, #11998e, #38ef7d);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Orange */
  background: linear-gradient(to right, #994711, #ef8a38);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Vibrant sunrise */
  background: linear-gradient(45deg, #FFC371, #FF5F6D);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Red */
  background: linear-gradient(to right, #ff758c, #ff7eb3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Violet, purple and blue linear-gradient. */
  background: linear-gradient(to right, #8f00ff, #6a11cb, #2575fc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;




  /* BACKGROUND COLORS */
  background-color: #35374B;
  margin: 15% auto;
  padding: 20px;
  padding-bottom: 50px;
  border: none;
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  text-align: center;
  /* Body color */
  background-color: #34393c;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  font-weight: 600;
  font-style: normal;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  text-align: center;



}


/* MEDIAS */

@media screen and (max-width: 1300px) {
  .navbarItems a {
    display: none;
  }

  .navbarItems a.icon {
    float: right;
    display: block;
    position: relative;
    left: 50px;
    font-size: 30px;
    top: 3px;
    color: rgb(205, 205, 205);
  }

  .dt-icon {
    font-size: 35px;
    position: relative;
    left: 40px;
  }


}

@media screen and (max-width: 1300px) {

  .navbar-round.responsive {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .navbar-round.responsive .dt-icon {
    left: 10px;
    top: 80px;
  }

  .navbar-round.responsive .navbarItems {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    left: 0px;

  }

  .navbar-round.responsive .navbarItems a.icon {
    display: block;
  }

  .navbar-round.responsive .navbarItems a {
    display: block;
    right: 0px;
  }

}



/* 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;
  }

  .navbar-round {
    width: 95% !important;
    max-width: 95% !important;
    top: -140px;
  }

  .waves {
    width: 100% !important;
    top: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  select,
  input {
    font-size: 0.8rem !important;
    width: 80% !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !important;
  }



}

/* 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: 95% !important;
    max-width: 95% !important;
    gap: 10px;
    height: unset !important;

  }

  .footer p {
    font-size: 15px !important;
  }

  .footer a {
    font-size: 15px !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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 100% !important;
  }

  .password-div input {
    width: 100% !important;
  }

  .icon {
    left: 15px !important;
    font-size: 20px !important;
  }

  .dt-icon {
    font-size: 30px !important;
    left: 30px;
  }

  .signin-title {
    font-size: 30px !important;
  }

  .forgot-password {
    text-align: center !important;
  }

  .middle {
    padding: 40px 20px 80px !important;
    width: 100% !important;
  }

  h2 {
    font-size: 30px !important;
  }

  body {
    width: 100% !important;
  }

  html {
    width: 100% !important;
  }

  label {
    width: 90% !important;
  }

  input:not([type="checkbox"]) {
    width: 80% !important;
  }

  .signin-title {
    font-size: 1.5rem !important;
    width: 90% !important;
  }

  .ms-word-skills-section,
  .rate-preferences-section,
  .form-section,
  .main-agreement-checkbox-wrapper {
    width: 80% !important;
  }

  .form {
    width: 100% !important;
  }

  form {
    width: 100% !important;
  }

  .ms-word-skill-option {
    flex-direction: column;
  }


}

/* 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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !important;
  }




}

/* OPTIMIZED for iPhone: (SE, 12 Pro, X), Samsung: (Galaxy S8+, S20 Ultra,), Blackberry (Z30,)   */
@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: 95% !important;
    max-width: 95% !important;
    gap: 10px;
    height: unset !important;

  }

  .footer p {
    font-size: 15px !important;
  }

  .footer a {
    font-size: 15px !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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 100% !important;
  }

  .password-div input {
    width: 100% !important;
  }

  .icon {
    left: 15px !important;
    font-size: 20px !important;
  }

  .dt-icon {
    font-size: 30px !important;
    left: 30px;
  }

  .signin-title {
    font-size: 30px !important;
  }

  .forgot-password {
    text-align: center !important;
  }

  .middle {
    padding: 40px 20px 80px !important;
  }

  h2 {
    font-size: 30px !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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !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: 95% !important;
    max-width: 95% !important;
    gap: 10px;
    height: unset !important;

  }

  .footer p {
    font-size: 15px !important;
  }

  .footer a {
    font-size: 15px !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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 100% !important;
  }

  .password-div input {
    width: 100% !important;
  }

  .icon {
    left: 15px !important;
    font-size: 20px !important;
  }

  .dt-icon {
    font-size: 30px !important;
    left: 30px;
  }

  .signin-title {
    font-size: 30px !important;
  }

  .forgot-password {
    text-align: center !important;
  }

  .middle {
    padding: 40px 20px 80px !important;
  }

  h2 {
    font-size: 30px !important;
  }

}


/* 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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !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: 95% !important;
    max-width: 95% !important;
    gap: 10px;
    height: unset !important;

  }

  .footer p {
    font-size: 15px !important;
  }

  .footer a {
    font-size: 15px !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: -135px;
  }

  .waves {
    width: 100% !important;
    top: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 100% !important;
  }

  .password-div input {
    width: 100% !important;
  }

  .icon {
    left: 15px !important;
    font-size: 27px !important;
  }

  .dt-icon {
    font-size: 30px !important;
    left: 30px;
  }

  .signin-title {
    font-size: 30px !important;
  }

  .forgot-password {
    text-align: center !important;
  }

  .middle {
    padding: 40px 20px 80px !important;
  }

  h2 {
    font-size: 30px !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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !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: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !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;
  }

  .navbar-round {
    width: 95% !important;
    max-width: 95% !important;
    top: -140px;
  }

  .waves {
    width: 100% !important;
    top: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !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;
  }

  .navbar-round {
    width: 95% !important;
    max-width: 95% !important;
    top: -140px;
  }

  .waves {
    width: 100% !important;
    top: 50px !important;
  }

  .navbarItems {
    left: unset !important;
  }

  .password-div {
    width: 80% !important;
  }

  .password-div input {
    width: 100% !important;
  }




}




/* media max-width: 1300px and min-width: 599px */
@media only screen and (max-width: 1300px) and (min-width: 450px) {
  .dt-icon {
    position: relative;
    top: 65px;
  }

  .navbarItems {
    position: relative;
    top: 10px;
  }

  input:not([type="checkbox"]) {
    width: 70% !important;
    font-size: 1.2rem;
  }

  .countryCode {
    width: 20% !important;
    max-width: 20% !important;
    position: relative;
    bottom: 10px !important;
    font-size: 1.1rem !important;
  }

  #phone-number {
    width: 80% !important;
    max-width: 60% !important;
  }

  .chips-input-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  select {
    width: 50% !important;
    font-size: 1.2rem;
  }

  .agreement-checkbox-wrapper {
    display: flex;
  }

  .agreement-checkbox-wrapper> :first-child {
    flex: 1 1 0;
    /* Remove margin, use gap instead */
  }

  .agreement-checkbox-wrapper> :nth-child(2) {
    flex: 3 1 0;
    /* Remove margin, use gap instead */
  }

  .agreement-checkbox-wrapper {
    gap: 2px;
    /* Reduce gap to bring children closer */
  }

  .agreement-checkbox-wrapper input {
    top: unset !important;
  }

  .agreement-checkbox-wrapper label {
    margin-top: unset !important;
    margin-bottom: unset !important;
  }

  .password-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .main-agreement-checkbox-wrapper input {
    width: 20px !important;
    height: 20px !important;
    position: relative;
    top: unset !important;
  }

  .main-agreement-checkbox-wrapper label {
    margin: 0;
    padding: 0;
    margin-left: 10px !important;
  }

  .middle {
    width: min(90%, 900px) !important;
  }
}

/* media max-width: 600px */
@media only screen and (max-width: 600px) {
  input:not([type="checkbox"]) {
    font-size: 0.9rem !important;
    width: 80% !important;
  }

  select {
    font-size: 0.8rem !important;
  }

  .chips-input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .countryCode {
    font-size: 0.8rem !important;
  }

  p {
    font-size: 0.8rem !important;
  }

  h3 {
    font-size: 1.2rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  span {
    font-size: 0.8rem !important;
  }

  summary {
    font-size: 0.8rem !important;
  }

  .password-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .dt-icon {
    font-size: 2.2rem !important;
    top: 65px !important;
  }

  .navbarItems {
    position: relative;
    top: 10px;
  }
}

@media only screen and (max-width: 600px) {
  body {
    width: 100%;
    padding: 0 0 24px;
  }

  .middle {
    width: min(calc(100% - 16px), 820px) !important;
    margin: 0 8px 24px !important;
    padding: 28px 14px 56px !important;
  }

  .form,
  .form-1,
  .email-deliverability-notice,
  .notification-opt-in,
  .form-section,
  .ms-word-skills-section,
  .rate-preferences-section,
  .main-agreement-checkbox-wrapper,
  .chips-input-wrapper,
  #location,
  textarea,
  select,
  input:not([type="checkbox"]) {
    width: 100% !important;
    max-width: 100% !important;
  }

  .signin-title {
    width: 100% !important;
    margin: 18px 0 20px !important;
    padding: 0 4px !important;
    font-size: clamp(1.55rem, 5.8vw, 1.95rem) !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
  }

  .phone-number-div,
  .password-div,
  .password-wrapper {
    width: 100% !important;
    max-width: 100% !important;
  }

  .phone-number-div {
    gap: 10px;
  }

  .countryCode {
    width: 112px !important;
    max-width: 112px !important;
    flex: 0 0 112px;
  }

  #phone-number {
    width: auto !important;
    max-width: none !important;
    flex: 1 1 auto;
  }

  .rate-market-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .rate-market-realities-table {
    min-width: 0;
    table-layout: fixed;
  }

  .rate-market-realities-table th,
  .rate-market-realities-table td {
    word-break: break-word;
  }
}

.form-1 input[required]:not([type="checkbox"]),
.form-1 select[required],
.form-1 textarea[required] {
  box-shadow: inset -3px 0 0 rgba(255, 171, 115, 0.8);
}

.form-1 input[type="checkbox"][required]+label::after {
  content: "  Required";
  color: #ffbf8a;
  -webkit-text-fill-color: #ffbf8a;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.required-missing {
  border-color: #ef5350 !important;
  box-shadow: 0 0 0 3px rgba(239, 83, 80, 0.16) !important;
  animation: signup-required-pulse 1.15s ease-in-out 3;
}

.signup-public-profiles.required-missing input,
.form-section.required-missing .upload-button {
  border-color: #ef5350 !important;
}

@keyframes signup-required-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 83, 80, 0.1);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(239, 83, 80, 0.24);
  }
}

.form-1 input.invalid,
.form-1 select.invalid,
.form-1 textarea.invalid {
  border-color: #ef5350 !important;
  border-image: none !important;
  box-shadow: 0 0 0 3px rgba(239, 83, 80, 0.18) !important;
  animation: signup-required-pulse 1.15s ease-in-out 3;
}