/* DARK MODE STYLES */
body.dark-mode {
  background-color: #1a1a1a;
  color: #f1f1f1;
}
body.dark-mode .user-profile-card{
  background-color: #1a1a1a;
}
body.dark-mode .close-profile-btn {
  color: #f1f1f1;

}

body.dark-mode .edit-form-row label{
  color: white;
}
body.dark-mode #photo-preview-text{
    color: #1a1a1a;
}
body.dark-mode .edit-form-wrapper{
   background-color: #2a2a2a; 
}
body.dark-mode .settings-popup {
  background-color: #2a2a2a;
  color: white;
  border-color: #4b0082;
}
body.dark-mode .shortcut-row{
    background-color: #2a2a2a;
    color: #f1f1f1;
}
body.dark-mode .tiers{
    color: #1a1a1a;
}
body.dark-mode .earnings-summary{
    background-color: #2a2a2a;
    color: #ffffff;
}

/* Investment Tiers Dark Mode */
body.dark-mode .tier-form-container{
  background-color: #1a1a1a;   
}

body.dark-mode .user-balance-card{
    background-color: #d5a2e6;
    color: #1a1a1a;
}
body.dark-mode .tier-form-container h2,
body.dark-mode .tier-form-container p,
body.dark-mode .tier-form-container ul li,
body.dark-mode .tier-form-container label {
  color: #f1f1f1;
}


body.dark-mode .tier-form-container input {
  background-color: #333;
  color: #f1f1f1;
  border: 1px solid #555;
}

/* === AUTHENTICATION DARK MODE === */
body.dark-mode .full-auth-container {
  background-color: #121212;
}

body.dark-mode .side-auth-info-background {
   background-color: #bb86fc;
}

body.dark-mode .side-auth-info-background p,
body.dark-mode .side-auth-info-background h1,
body.dark-mode .side-auth-info-background h3 {
  color: #f1f1f1;
}

body.dark-mode .auth-container {
  background-color: #121212;
  color: #f1f1f1;
}
body.dark-mode .profile-picture {
  background-color: #121212;
  border: 2px dashed #555;
}
body.dark-mode .auth-container h3,
body.dark-mode .auth-container p,
body.dark-mode .form-step h3,
body.dark-mode .form-step p,
body.dark-mode .login-link a {
  color: #f1f1f1;
}

body.dark-mode .login-link a:hover {
  color: #d5a2e6;
}

body.dark-mode .auth-container input,
body.dark-mode .form-step input {
  background-color: #333;
  color: #f1f1f1;
  border: 1px solid #555;
}

body.dark-mode .auth-container input::placeholder,
body.dark-mode .form-step input::placeholder {
  color: #ccc;
}

body.dark-mode .auth-container button,
body.dark-mode .form-step button {
  background-color: #bb86fc;
  color: #1a1a1a;
}

body.dark-mode .form-group p {
  background-color: #1e1e1e;
  border-color: #333;
  color: #f1f1f1;
}

body.dark-mode .field-checkbox label {
  color: #f1f1f1;
}

body.dark-mode .auth-container form label,
body.dark-mode .form-step label {
  color: #f1f1f1;
}
/* VERIFIED USER DIV  */
body.dark-mode .account-verifaction-querry h3,
body.dark-mode .account-verifaction-querry p,
body.dark-mode .account-verifaction-card h3,
body.dark-mode .account-verifaction-card p,
body.dark-mode .verified-card h3,
body.dark-mode .verified-card p {
  color: #9c50d3; 
}
/* Verification Section Dark Mode */
body.dark-mode .verify-form-container {
  background-color: #1a1a1a;
}


body.dark-mode .verify-form-container h2,
body.dark-mode .verify-form-container p,
body.dark-mode .verify-form-container label {
  color: #f1f1f1;
}


body.dark-mode .verify-form-container input[type="text"],
body.dark-mode .verify-form-container input[type="number"],
body.dark-mode .verify-form-container select {
  background-color: #2a2a2a;
  color: #f1f1f1;
  border: 1px solid #555;
}
body.dark-mode select,
body.dark-mode option {
  color: #ffffff;
  background-color: #f8f9f9;
}
/* TIMEZONE DARK MODE */
body.dark-mode .settings-popup .setting-option select,
body.dark-mode .settings-popup .setting-option option {
  color: #000000;
  background-color: #f8f9f9;
}


/* File Inputs */
body.dark-mode .verify-form-container input[type="file"] {
  background-color: #2a2a2a;
  color: #f1f1f1;
  border: 1px solid #555;
}

body.dark-mode .verify-form-container input[type="file"]::-webkit-file-upload-button {
  background-color: #444;
  color: #f1f1f1;
  border: 1px solid #666;
}


body.dark-mode .verify-form-container input[type="file"]::-webkit-file-upload-button:hover {
  background-color: #555;
}




/* Deposit Step Dark Mode */
body.dark-mode .deposit-step.active-step {
  background-color: #1a1a1a;
}
body.dark-mode #step-2,
body.dark-mode #step-3,
body.dark-mode #step-4,
body.dark-mode #step-B,
body.dark-mode #step-D {
    background-color: #1a1a1a;
}


body.dark-mode .deposit-step.active-step h2,
body.dark-mode .deposit-step.active-step p,
body.dark-mode .deposit-step.active-step ul li,
body.dark-mode .deposit-step.active-step label {
  color: #f1f1f1;
}

body.dark-mode .deposit-step.active-step input {
  background-color: #333;
  color: #f1f1f1;
  border: 1px solid #555;
}

/* Withdrawal Step Dark Mode */
body.dark-mode .withdraw-step.active-step {
  background-color: #1a1a1a;
}

body.dark-mode .withdraw-step.active-step h2,
body.dark-mode .withdraw-step.active-step p,
body.dark-mode .withdraw-step.active-step ul li,
body.dark-mode .withdraw-step.active-step label {
  color: #f1f1f1;
}

body.dark-mode .withdraw-step.active-step input {
  background-color: #333;
  color: #f1f1f1;
  border: 1px solid #555;
}



* {
  padding: 0;
  box-sizing: border-box;
}

body{
    margin: 0;  
    padding: 0; 
    overflow-x: hidden;
    height:100vh;
    font-family: "Roboto Flex", sans-serif;
   }

    .header {
    display: flex;
    flex-direction: row;
    position: fixed; 
    top: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 70px;
    z-index: 1000; 
    background-color: #2a2a2a;
    padding: 0px 20px;
    border-bottom: 1px solid #ccc;
}

.logo{
    width: 100px;
    height: auto;
    position: relative;
    padding: 5px 5px; 
    margin-top: 4px;
 }
 .logo-c{
    margin: 2px 2px;
    width: 100px;
    padding: 0px 40px;
 
 }
 .user-profile{
    border-radius: 50px;
    width: 30px;
    height: 30px;
    background-color: #f7f7f7;
 }
.settings-container {
  position: relative;
}

.settings {
  display: flex;
  align-items: center;
  background-color: transparent;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.settings:hover {
  background-color: #4b0082; /* dark purple */
}

.settings img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.settings-text {
  color: white;
  margin-left: 8px;
  font-size: 14px;
  display: none;
}

.settings:hover .settings-text {
  display: inline-block;
}

/* POPUP STYLING */
.settings-popup {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  background-color: white;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 8px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.settings-popup p {
  margin-bottom: 10px;
}

/* TOGGLE SWITCH */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px; width: 20px;
  left: 2px; bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4b0082;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.timezone-dropdown {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  color: #333;
  outline: none;
  margin-top: 5px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.timezone-dropdown:focus {
  border-color: #9c50d3;
  background-color: #fff;
}

 
#exit-controls {
    width: auto;
    gap: 1rem;
    display: flex;
    align-items: center; 
    margin-right: 4rem;
    white-space: nowrap;
}

.user-profile{
    cursor: pointer;
}
.head-wrapper{
    display: flex;
    gap: 1rem;
    margin-top: 5rem;
    padding: 0.5rem;
    flex-wrap: wrap;
}
.user-balance-card{
    background-color: #6e5092;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    height: fit-content;
    width: 100%;
    max-width: 400px;
}
.user-balance-card p{
    font-weight: 200;
    font-size: clamp(0.5rem, 0.7vw + 0.7vh, 1rem);
}
.user-balance-card h2{
    font-size: clamp(1rem, 1vw + 1vh, 1.5rem);
}
.profile-picture {
  width: 120px;
  height: 120px;
  min-height: 120px;
  border-radius: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff; 
  border: 2px dashed #ccc;
}


.account-verifaction-card{
    padding: 1rem;
    border-radius: 10px;
    border: 1px dashed black;
    height: fit-content;
    max-width: 450px;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}
.account-verifaction-card p{
    font-size: clamp(0.5rem, 0.8vw + 0.8vh, 1rem);
    margin: 0 0 0.5rem 0;
    color: #444;
    line-height: 1.5;
}
.account-verifaction-card h3{
    font-size: clamp(0.5rem, 0.8vw + 0.8vh, 1rem);
    color: #444;
    font-weight: 800;
    text-transform: uppercase;
}
.verification-buttons{
    display: flex;
    gap: 2rem;
}
.verification-buttons button{
    background-color: #d5a2e6;
    border: none;
    padding: 7px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-size: clamp(0.5rem, 0.7vw + 0.7vh, 1rem);
}

.vertical-divider {
    width: 1px;
    background: #ccc;
    margin: 0 10px;
}

.user-profile-card{
    padding: 1rem;
    position: relative; 
    height: fit-content;
    width: 350px;
}
.close-profile-btn {
  display: none;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  font-weight: bold;
  background: transparent;
  border: none;
  color: #333;
  cursor: pointer;
}
.profile-photo-name{
    display: flex;
    gap: 1rem;
}
.user-id{
    font-weight: 200;
    font-size: clamp(0.5rem, 0.7vw + 0.7vh, 1rem);
}
.username{
    font-size: clamp(0.5rem, 0.8vw + 0.8vh, 1rem);
}
.user-country{
     font-size: clamp(0.5rem, 0.8vw + 0.8vh, 1rem);
     font-weight: 500;
}
.user-level-badge{
    font-size: clamp(0.5rem, 0.8vw + 0.8vh, 1rem);
    padding: 5px 10px;
    text-align: center;
    border-end-end-radius: 10px;
    border-top-left-radius: 10px;
}
.user-level-badge.beginner {
  background-color: #edcdf1;
  color: #6e5092;
}

.user-level-badge.intermediate {
  background-color: #CDE7F3;
  color: #2b6a94;
}

.user-level-badge.amateur {
  background-color: #ffe0cc;
  color: #b95b00;
}

.user-level-badge.pro {
  background-color: #c9f2c4;
  color: #227c1f;
}

.user-verify-badge{
     font-size: clamp(0.5rem, 0.8vw + 0.8vh, 1rem);
     background-color: #D8F3DC;
     color: #52B788;
     padding: 5px 10px;
     text-align: center;
     border-radius: 10px;
}

.user-verify-badge.unverified {
  background-color: rgb(255, 136, 0);
  color: #fff;                       
}


.profile-picture{
    width: 150px;
    height: 150px;
    border-radius: 20px;
    align-content: center;
    text-align: center;
    padding: 1rem;
}
.shortcut-wrapper{
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.shortcut-row{
    background-color: #F9F8F8;
    height: fit-content;
    border-end-end-radius: 10px;
    border-top-left-radius: 10px;
    align-content: center;
    text-align: center;
    padding: 0.3rem;
    cursor: pointer;
}
.shortcut-row:hover{
  border: 1px solid #edcdf1;
}
.shortcut-head-text{
    font-size: clamp(0.5rem, 0.8vw + 0.8vh, 1rem);
}
.shortcut-row img{
    width: 50px;
    height: 50px;
    object-fit: contain;
    cursor: pointer;
}
.shortcut-text{
   font-size: clamp(0.5rem, 0.6vw + 0.6vh, 1rem);  
}

.edit-link {
    font-size: 0.9rem;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.edit-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.shortcut-invite-row {
    margin-top: 1rem;
    border: 2px solid #edcdf1;
    padding: 1rem;
    border-radius: 10px;
    height: fit-content;
    margin-bottom: 15px;
    font-size: clamp(0.5rem, 0.7vw + 0.7vh, 1rem);
}
.shortcut-invite-row p{
  margin: 0 0 0.5rem 0;
  color: #444;
  line-height: 1.5;
}
.user-ref-link {
  background-color: #f9f8f8;
  padding: 7px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 290px;
  font-size: clamp(0.5rem, 0.7vw + 0.7vh, 1rem);
  position: relative;
  overflow: hidden;
}

.ref-code-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  max-width: 100%;
}

#referral-code {
  border: 2px dashed #ccc;
  border-radius: 8px;
  background-color: inherit;
  color: #9c50d3;
  font-size: 0.9rem;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  text-overflow: ellipsis;
  padding-right: 20px; 
  margin: 0;
  z-index: 1;
  outline: none;
}


/* optional fade effect at the end */
.ref-code-wrapper::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(to right, rgba(213, 162, 230, 0) 0%, #d5a2e6 100%);
  pointer-events: none;
  z-index: 2;
}

.user-ref-link img#copy-ref-btn {
  width: 24px;
  height: 24px;
  object-fit: contain;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 3;
  filter: brightness(0) saturate(100%) invert(19%) sepia(3%) saturate(388%) hue-rotate(169deg) brightness(96%) contrast(92%);
}

#copy-ref-msg {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 5px;
  color: green;
  font-size: 0.9rem;
  display: none;
}

.logout {
  text-decoration: none;
}

.logout-btn {
  background-color: #4a1a6d;
  border: none;
  width: 200px;
  border-radius: 8px;
  padding: 8px 12px;
  color: #ffffff;
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.logout-btn:hover {
  background-color: #5e2391;
  transform: translateY(-2px);
}

.logout-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logout-btn:hover .logout-icon {
  transform: rotate(10deg) scale(1.2);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.6));
}

.head-wrapper2{
    width: 900px;
    height: fit-content;
    padding: 0.5rem;
    margin-top: -35%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
}

.sub-wrapper1{
    width: 350px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    height: fit-content;
}
.utility-wrapper{
    padding: 0.5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    border-bottom: 1px solid #ccc;
    margin-bottom: 5%;
}
.utility-link {
  text-decoration: none;
  color: inherit;
  display: inline-block; 
}

.utility-tools{
    padding: 0.3rem;
    align-content: center;
    text-align: center;
}
.utility-tools:hover{
    color: #d5a2e6;
}
.utility-tools img{
    width: 30px;
    height: 30px;
    object-fit: contain;
    cursor: pointer;
}
.invest-tiers {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.5rem; 
    scroll-behavior: smooth;
}

.invest-tiers::-webkit-scrollbar {
    height: 6px;
}

.invest-tiers::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.invest-tiers::-webkit-scrollbar-thumb {
    background-color: black;
    border-radius: 10px;
}

.invest-tiers-head-text{
   font-size: clamp(0.5rem, 0.6vw + 0.6vh, 1.2rem);
   text-transform: uppercase;    
}

.tiers{
    border-end-end-radius: 10px;
    border-top-left-radius: 10px;
    padding: 10px;
    width: 400px;
    white-space: nowrap;
    cursor: pointer;
    font-size: clamp(0.5rem, 0.6vw + 0.6vh, 1.5rem);
}
#Sterling{
    background-color: #6e5092;
    color: white;
}
#Cavendish{
    background-color: #90defa;
}
#Wellington{
    background-color: #fae5c1;

}
#Ashbourne{
    background-color: #e8f1a3;
}
.sub-wrapper2{
    width: 500px;
    height: fit-content;
    display: flex;
    flex-direction: column;
}
.earnings-wrapper{
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
     padding: 10px;
     gap: 1rem;   
}
.earnings-summary {
  position: relative;
  padding: 10px;
  border-radius: 10px;
  background-color: white; 
  z-index: 1;
}

.earnings-summary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2px; 
  background: linear-gradient(270deg, #6e5092, #e8f1a3, #90defa, #6e5092);
  background-size: 600% 600%;
  border-radius: inherit;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: border-animate 5s linear infinite;
  z-index: -1;
}

@keyframes border-animate {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


.earnings-summary p{
     font-size: clamp(0.5rem, 0.6vw + 0.6vh, 1.5rem);
}
.earnings-summary p span {
  font-size: inherit;
  line-height: inherit;
}

.sub-wrapper3{
    width: 500px;
    height: fit-content;
}
.transactions-head-text{
    font-size: clamp(0.5rem, 0.6vw + 0.6vh, 1.2rem);
    padding: 0 20px;
}
.transaction-table{
      width: 100%;
      border-collapse: separate;
      border-spacing: 10px 5px;
}


.transaction-table td {
  padding: 0 16px;
  font-size: clamp(0.7rem, 0.7vw + 0.7vh, 1.5rem);
  white-space: nowrap;
  text-align: start;
}


.sub-wrapper4 {
  padding: 1rem;
  font-size: 0.9rem;
  border-top: 1px solid #ccc;
  margin-top: 2rem;
}

.company-info-wrapper p {
  margin: 0 0 0.5rem 0;
  color: #444;
  line-height: 1.5;
}

.privacy-wrapper {
  font-size: 0.9rem;
}

.privacy-wrapper a {
  text-decoration: none;
  color: #007bff;
  margin-right: 0.5rem;
}

.privacy-wrapper a:hover {
  text-decoration: underline;
  color: #0056b3;
}






/* DEPOSIT SECTION SYLES */
.deposit-step {
  display: none;
}

.deposit-step.active-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1rem;
  height: fit-content;
  width: 100%;
  max-width: 400px;
  background-color: #F9F8F8;
  border-radius: 10px;
}
.deposit-step.active-step h2{
   font-size: clamp(1rem, 0.8vw + 0.8vh, 1.5rem);
   padding: 2px 5px;
   margin-bottom: 8px;
   font-weight: 700;
   margin-top: -10px;
   color: #1a1a1a;
}

.deposit-step.active-step p{
    font-size: clamp( 0.8rem, 0.6vw + 0.6vh, 1.2rem)!important;
    color: #1a1a1a;
}

.deposit-step.active-step ul li{
     font-size: clamp(0.8rem, 0.6vw + 0.6vh, 1.2rem);
     color: #1a1a1a;
}
.deposit-step.active-step label{
    font-size: clamp(0.8rem, 0.6vw + 0.6vh, 1.2rem);
    margin-bottom: 10px;
}
.deposit-step.active-step input{
    margin-bottom: 10px;
    width: 300px;
    height: 30px;
    padding: 0 10px;
    border-radius: 10px;
    background-color: #F9F8F8;
    border: 1px solid #ccc;
    transition: border 0.5s ease, box-shadow 0.5s ease;
}

/* Chrome, Safari, Edge */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


.deposit-step.active-step input:focus {
  border: 1px solid #6e5092; 
  box-shadow: 0 0 5px rgba(212, 0, 255, 0.4); 
  outline: none;
}
.transact-nav-buttons{
    display: flex;
    flex-direction: row;
    gap: 1rem;
}
.transact-nav-buttons button{
    background-color: #d5a2e6;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: clamp(0.8rem, 0.6vw + 0.6vh, 1rem);
}
#step-4 button{
    background-color: #d5a2e6;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: clamp(0.8rem, 0.6vw + 0.6vh, 1rem);  
}
#payment-options{
    display: grid;
    gap: 1rem;
    padding: 1rem;
    max-width: 300px;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}
#payment-options button{
border-radius: 10px;
border: none;
padding: 10px 10px;
height: 100px;
background-color: #F9F8F8;
}
#payment-options button:hover{
    border: 1px solid  #d5a2e6;
}
#sub-wrapper1{
    margin-top: 10rem;
}
#step-2,#step-3,#step-4{
    background-color: #ffffff;
}
/* DISCLAIMER SECTION */
.transaction-disclaimer {
  border-top: 1px solid #ccc;
  margin-top: 2rem;
  padding: 1rem;
  font-size: clamp(0.75rem, 0.6vw + 0.6vh, 1rem);
}
.transaction-disclaimer p {
  margin: 0 0 0.5rem 0;
  color: #444;
  line-height: 1.5;
}





/* WITHDRWAL SECTION SYLES */
.withdraw-step {
  display: none;
}

.withdraw-step.active-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1rem;
  height: fit-content;
  width: 100%;
  max-width: 400px;
  background-color: #F9F8F8;
  border-radius: 10px;
}
.withdraw-step.active-step h2{
   font-size: clamp(1rem, 0.8vw + 0.8vh, 1.5rem);
   padding: 2px 5px;
   margin-bottom: 8px;
   font-weight: 700;
   margin-top: -10px;
}

.withdraw-step.active-step p{
    font-size: clamp( 0.8rem, 0.6vw + 0.6vh, 1.2rem)!important;
}

.withdraw-step.active-step ul li{
     font-size: clamp(0.8rem, 0.6vw + 0.6vh, 1.2rem);
}
.withdraw-step.active-step label{
    font-size: clamp(0.8rem, 0.6vw + 0.6vh, 1.2rem);
    margin-bottom: 10px;
}
.withdraw-step.active-step input{
    margin-bottom: 10px;
    width: 300px;
    height: 30px;
    padding: 0 10px;
    border-radius: 10px;
    background-color: #F9F8F8;
    border: 1px solid #ccc;
    transition: border 0.5s ease, box-shadow 0.5s ease;
}

/* Chrome, Safari, Edge */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


.withdraw-step.active-step input:focus {
  border: 1px solid #6e5092; 
  box-shadow: 0 0 5px rgba(212, 0, 255, 0.4); 
  outline: none;
}
.transact-nav-buttons{
    display: flex;
    flex-direction: row;
    gap: 1rem;
}
.transact-nav-buttons button{
    background-color: #d5a2e6;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: clamp(0.8rem, 0.6vw + 0.6vh, 1rem);
}
#step-D button{
    background-color: #d5a2e6;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: clamp(0.8rem, 0.6vw + 0.6vh, 1rem);  
}
#withdraw-options{
    display: grid;
    gap: 1rem;
    padding: 1rem;
    max-width: 300px;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}
#withdraw-options button{
border-radius: 10px;
border: none;
padding: 10px 10px;
height: 100px;
background-color: #F9F8F8;
}
#withdraw-options button:hover{
    border: 1px solid  #d5a2e6;
}
#sub-wrapper1{
    margin-top: 14rem;
}
#step-B,#step-D{
    background-color: #ffffff;
}

/* ADVERTISEMENT SECTION */
.ads-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel {
  position: relative;
  width: 400px;
  padding: 20px;
  height: 130px;
  overflow: hidden;
  background: linear-gradient(
  to bottom right,
  rgba(255, 255, 255, 0.6),
  rgba(128, 0, 128, 0.05)
  );
  backdrop-filter: blur(20px);
  border-radius: 5px;


}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slide {
  min-width: 100%;
  height: 100px;
  object-fit: contain;
  display: none;
}

.slide.active {
  display: block;
}

.dots {
  text-align: center;
  margin-top: 10px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 3px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: #d5a2e6;
}




/* ALERT MESSAGES STYLES*/
    .success-message, .error-message, .warning-message{
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
    width: 90%;
    height: fit-content;
    max-width: 400px;
    z-index: 59999;
    background: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    }

    .success-message {
      border: 1px solid #4caf50;
      color: #32404D;
    }

    .error-message {
      border: 1px solid #f44336;
      color: #f44336;
    }

    .warning-message {
      border: 1px solid #ffe600;
      color: #ffe600;
    }

    .message-box .icon img {
      width: 50px;
      height: 50px;
      object-fit: contain;
    }

    .message-box .text {
      text-align: center;
      font-size: clamp(1rem, 0.7vw + 0.7vh, 1.3rem);
      font-weight: 500;
    }

    .message-box .home-btn {
      padding: 10px 20px;
      color: #9c50d3;
      border-radius: 10px;
      border: none;
      background-color: #F9F8F8;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .message-box .home-btn:hover {
      color: #d5a2e6;
    }
  .close-msg {
     position: absolute;
     top: 10px;
     right: 15px;
     font-size: 20px;
     font-weight: bold;
     color: #333;
     cursor: pointer;
     z-index: 10000;
     transition: color 0.3s ease;
   }

.close-msg:hover {
  color: #ff3b3b;
}






/* EDIT USER PROFILE STYLES  */

.edit-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background-color: #fff;
  border-radius: 10px;
}

.edit-form-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0d7e9;
}

.edit-form-row label {
  font-size: clamp(0.6rem, 0.8vw + 0.8vh, 1rem);
  font-weight: 500;
  color: #444;
}

.edit-form-row input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background-color: #f9f8f8;
  transition: border-color 0.3s ease;
}

.edit-form-row input:focus {
  outline: none;
  border-color: #6e5092;
}

/* HEAD WRAPPER 2 STYLE IN USER SETTINGS */
.head-wrapper2-user-settings{
    width: 900px;
    height: fit-content;
    padding: 0.5rem;
    margin-top: -60%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
}




/* TIERS INVESTMENT SECTION STYLES */
.tier-form-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1rem;
  height: fit-content;
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

.tier-form-container h2 {
  font-size: clamp(1rem, 0.8vw + 0.8vh, 1.5rem);
  padding: 2px 5px;
  margin-bottom: 8px;
  font-weight: 700;
  margin-top: -10px;
  color: #1a1a1a;
}

.tier-form-container p {
  font-size: clamp(0.8rem, 0.6vw + 0.6vh, 1.2rem) !important;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.tier-form-container label {
  font-size: clamp(0.8rem, 0.6vw + 0.6vh, 1.2rem);
  margin-bottom: 10px;
}

.tier-form-container input,
.tier-form-container select {
  margin-bottom: 10px;
  margin-top: 10px;
  width: 300px;
  height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  background-color: #F9F8F8;
  border: 1px solid #ccc;
  transition: border 0.5s ease, box-shadow 0.5s ease;
  font-size: 16px;
}

/* Remove spinners */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.tier-form-container input:focus,
.tier-form-container select:focus {
  border: 1px solid #6e5092;
  box-shadow: 0 0 5px rgba(212, 0, 255, 0.4);
  outline: none;
}

.tier-form-container .button1 {
  margin-top: 10px;
  width: 50%;
  background-color: #4a1a6d;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.tier-form-container .button1:hover {
  background-color: #371052;
}



/* VERIFICATION STYLE */
.verify-form-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1rem;
  height: fit-content;
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

.verify-form-container h2 {
  font-size: clamp(1rem, 0.8vw + 0.8vh, 1.5rem);
  padding: 2px 5px;
  margin-bottom: 8px;
  font-weight: 700;
  margin-top: -10px;
  color: #1a1a1a;
}

.verify-form-container p {
  font-size: clamp(0.8rem, 0.6vw + 0.6vh, 1.2rem);
  color: #1a1a1a;
  margin-bottom: 10px;
}

.verify-form-container label {
  font-size: clamp(0.8rem, 0.6vw + 0.6vh, 1.2rem);
  margin-top: 18px; 
  margin-bottom: 5px;
}

.verify-form-container input,
.verify-form-container select {
  margin-bottom: 12px;
  width: 360px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  background-color: #F9F8F8;
  border: 1px solid #ccc;
  transition: border 0.5s ease, box-shadow 0.5s ease;
  font-size: 16px;
}
.verify-form-container .form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2px;
}

.verify-form-container input[type="file"] {
  width: 250px !important;
}
/* === Placeholder Style Fix === */
.verify-form-container input::placeholder {
  font-size: 14px;
  color: #999;
}

/* === File Input Uniform Styling === */
.verify-form-container input[type="file"] {
  font-size: 14px;
  padding: 8px;
  height: auto;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  cursor: pointer;
}

.verify-form-container input[type="file"]::-webkit-file-upload-button {
  font-size: 13px;
  padding: 6px 12px;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
}

.verify-form-container input[type="file"]::-webkit-file-upload-button:hover {
  background-color: #ddd;
}

.verify-form-container input:focus,
.verify-form-container select:focus {
  border: 1px solid #6e5092;
  box-shadow: 0 0 5px rgba(212, 0, 255, 0.4);
  outline: none;
}

/* === File Input(select) Uniform Styling === */
.verify-form-container select {
  font-size: 14px;
  background-color: #fff;
  color: #333;
}


.verify-form-container select option {
  font-size: 14px;
  color: #333;
}


.verify-form-container select {
  padding-left: 8px;
}



.verify-form-container .button1 {
  margin-top: 15px;
  width: 50%;
  background-color: #4a1a6d;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
}

.verify-form-container .button1:hover {
  background-color: #371052;
}

/* VERIFICATION-NOTICE SECTION */
.verification-notice {
  padding: 0.3rem;
  font-size: clamp(0.75rem, 0.6vw + 0.6vh, 1rem);
}
.verification-notice p {
  margin: 0 1rem 0.5rem 0;
  color: #444;
  line-height: 1.5;
}

.account-verifaction-querry{
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid black;
    height: fit-content;
    width: 400px;
    margin-bottom: 40%;
}


.account-verifaction-querry p{
    font-size: clamp(0.5rem, 0.8vw + 0.8vh, 1rem);
    margin: 0 0 0.5rem 0;
    color: #444;
    line-height: 1.5;
}
.account-verifaction-querry h3{
    font-size: clamp(0.5rem, 0.8vw + 0.8vh, 1rem);
    color: #444;
    font-weight: 800;
}



/* AUTHENTICATION LOGIN AND SIGN UP STYLES */

.full-auth-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch; 
    height: 100vh;
}
.side-auth-info-background{
    display: flex;
    flex: 1;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #481e67;
    color: white;
    height: 100%;
}
.side-auth-info-background h3 {
    color: white !important;
}
.side-auth-info-background p{
  color: #ccc !important;
}
.auth-container{
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}
.login-link a{
    text-decoration: none;
    color: #9c50d3;
}
.login-link a:hover{
    text-decoration: underline;
}
.login-link {
margin-top: 10px;
font-size: clamp(0.5rem, 0.8vw + 0.8vh, 1rem);
}
.auth-container button{
    background-color: #d5a2e6;
    padding: 10px 10px;
    border-radius: 5px;
    border: none;
    color: #1a1a1a;
    width: 100%;
    margin-top: 10px;
}
.form-step button{
    background-color: #d5a2e6;
    padding: 10px 10px;
    border-radius: 5px;
    border: none;
    color: #1a1a1a;
    width: 100%;
    margin-top: 10px;
}
.form-group{
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}
.form-group p{
    background-color: #f6f6f6;
    border-radius: 10px;
    padding: 30px 10px;
    border: 1px solid transparent; 
    transition: border-color 0.3s ease;
}
.form-step h3{
  font-size: clamp(1rem, 0.8vw + 0.8vh, 1.3rem);
  color: #1a1a1a;
}
.form-step p{
  font-size: clamp(0.6rem, 0.7vw + 0.7vh, 1rem);
  color: #999;  
}
.auth-container h3{
 font-size: clamp(1rem, 0.8vw + 0.8vh, 1.3rem);
}
.auth-container p{
font-size: clamp(0.6rem, 0.7vw + 0.7vh, 1rem);
color: #999;  
}
.field-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: clamp(0.5rem, 0.7vw + 0.7vh, 1rem);
}

.field-checkbox label {
  margin: 0;
  font-size: clamp(0.5rem, 0.7vw + 0.7vh, 1rem);
  color: #1a1a1a;
}
.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Fix grid layout for selectable box groups */
#referral_pattern,
#industry {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

#referral_pattern p,
#industry p {
  background-color: #f6f6f6;
  border-radius: 10px;
  padding: 20px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: clamp(0.6rem, 0.7vw + 0.7vh, 1rem);
  border: 1px solid transparent;
}

/* Selected effect */
#referral_pattern p.selected,
#industry p.selected {
  border-color: #9c50d3;
  background-color: #f0e0fa;
  color: #9c50d3;
}

.side-auth-info-background p{
    font-size: clamp(0.5rem, 0.8vw + 0.8vh, 1rem);
    margin: 0 0 0.5rem 1rem;
    color: #444;
    line-height: 1.5;
}

.side-auth-info-background h1{
  font-size: clamp(1rem, 1vw + 1vh, 1.5rem);
  padding: 2px 5px;
  margin-bottom: 8px;
  font-weight: 700;
  color: #1a1a1a;
}
.side-auth-info-background h3{
  font-size: clamp(1rem, 0.8vw + 0.8vh, 1.5rem);
  padding: 2px 5px;
  margin-bottom: 8px;
  font-weight: 700;
  color: #1a1a1a;
}

/* AUTH INPUT + LABEL STYLING (Matches Tier Style) */
.auth-container form label,
.form-step label {
  font-size: clamp(0.8rem, 0.6vw + 0.6vh, 1.2rem);
  text-align: left;
  display: block;
  color: #1a1a1a;
}

.auth-container form input[type="text"],
.auth-container form input[type="password"],
.auth-container form input[type="email"]{
  margin-bottom: 10px;
  margin-top: 5px;
  width: 300px;
  height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: clamp(0.5rem, 0.7vw + 0.7vh, 1rem);
  transition: border 0.5s ease, box-shadow 0.5s ease;   
}
.form-step input[type="text"],
.form-step input[type="password"],
.form-step input[type="email"] {
  margin-bottom: 10px;
  margin-top: -3px !important;
  width: 300px;
  height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: clamp(0.5rem, 0.7vw + 0.7vh, 1rem);
  transition: border 0.5s ease, box-shadow 0.5s ease;
}

.auth-container form input:focus,
.form-step input:focus {
  border: 1px solid #6e5092;
  box-shadow: 0 0 5px rgba(212, 0, 255, 0.4);
  outline: none;
}

.auth-container input::placeholder,
.form-step input::placeholder {
  font-size: clamp(0.5rem, 0.7vw + 0.7vh, 1rem);
  color: #999;
}


/* DEFAULT PROFILE PHOTO */
.default-profile-photo, .default-profile-photo-small {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ff7500;
  color: white;
  font-weight: bold;
  border-radius: 20px;
  font-size: 14px;
  text-transform: uppercase;
}

.default-profile-photo {
  width: 100%;
  height: 100%;
}

.default-profile-photo-small {
   width: 30px;
   height: 30px;
   font-size: 13px;
}

/* BLOCKED USER UI IF NOT VERIFIED STYLES */
.blocked-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.95);
  color: white;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.blocked-content {
  max-width: 400px;
  background: #1e1e1e;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px #000;
}

.blocked-content h2 {
  color: #ff4d4d;
  margin-bottom: 15px;
}

.blocked-content p {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.blocked-content a button {
  padding: 10px 20px;
  background: #ffd700;
  color: #111;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.blocked-content a button:hover {
  background: #f5c518;
}


/* ======BIGL SCREENS STYLES*/
@media (min-width: 1150px) {
#sub-wrapper1{
    margin-top: 17rem;
}
}

/* ======SMALL SCREENS STYLES*/
@media (max-width: 1100px) {
  .user-profile-card {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 39999;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    background: #fff;
    padding: 20px;
  }

  .user-profile-card.active {
    display: block;
  }

  .close-profile-btn {
    display: block;
  }

  .head-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 4rem;
    padding: 1rem;
  }

  .user-balance-card,
  .account-verifaction-card,
  .user-profile-card {
    max-width: 100%;
    width: 100%;
  }

  .profile-picture {
    width: 100px;
    height: 100px;
    padding: 0.1rem;
  }

  .shortcut-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  }

  .shortcut-row img {
    width: 40px;
    height: 40px;
  }

  .shortcut-text,
  .shortcut-head-text {
    font-size: 0.8rem;
  }

  .shortcut-invite-row,
  .user-ref-link {
    width: 100%;
  }

#exit-controls {
  margin-right: 1rem;
  gap: 0.5rem;
  flex-wrap: nowrap; 
  justify-content: flex-end;
  align-items: center;
} 

  .logout-btn {
    width: 100%;
    padding: 10px;
    font-size: 0.95rem;
  }

  .settings-text {
    display: none !important;
  }
    .head-wrapper2 {
    width: 100%;
    flex-direction: column;
    margin-top: 2rem; 
    padding: 1rem;
  }

  .sub-wrapper1,
  .sub-wrapper2,
  .sub-wrapper3 {
    width: 100%;
    padding: 0.5rem;
  }
#sub-wrapper1{
    margin-top: 0;
}
  .utility-wrapper {
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .utility-tools img {
    width: 25px;
    height: 25px;
  }

  .invest-tiers {
    flex-direction: row;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .tiers {
    width: 270px;
    font-size: clamp(0.9rem, 1.2vw + 1vh, 1.2rem);
    padding: 10px;
  }

  .earnings-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
  }

  .transaction-table td {
    font-size: clamp(0.75rem, 1vw + 1vh, 1rem);
    padding: 0 10px;
  }

  .transact-nav-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .deposit-step.active-step input {
    width: 100%;
  }

  #payment-options {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  #payment-options button {
    height: 80px;
  }

  .sub-wrapper4 {
    padding: 1rem 0.5rem;
  }

  .transaction-disclaimer {
    font-size: 0.85rem;
  }
  .withdraw-step.active-step,
  .deposit-step.active-step {
    padding: 1rem;
    max-width: 100%;
  }

  .withdraw-step.active-step input,
  .deposit-step.active-step input {
    width: 100%;
  }

  .transact-nav-buttons {
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
  }

  #withdraw-options,
  #payment-options {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    padding: 0.5rem;
  }

  #withdraw-options button,
  #payment-options button {
    height: 80px;
  }

  .carousel {
    width: 100%;
    max-width: 350px;
    padding: 15px;
  }

  .message-box .text {
    font-size: clamp(0.9rem, 1vw + 1vh, 1.1rem);
  }

  .message-box .home-btn {
    width: 100%;
  }

  .edit-form-wrapper {
    padding: 1rem 0.5rem;
  }

  .edit-form-row input {
    font-size: 0.95rem;
    padding: 10px;
  }

  .head-wrapper2-user-settings {
    flex-direction: column;
    width: 100%;
    margin-top: 2rem;
    gap: 1.5rem;
  }
  .tier-form-container,
  .verify-form-container {
    max-width: 100%;
    padding: 1rem 0.5rem;
  }

  .tier-form-container input,
  .tier-form-container select,
  .verify-form-container input,
  .verify-form-container select {
    width: 100%;
    font-size: 15px;
  }

  .verify-form-container input[type="file"] {
    width: 100% !important;
  }

  .verify-form-container .form-group {
    width: 100%;
  }

  .tier-form-container .button1,
  .verify-form-container .button1 {
    width: 100%;
    font-size: 0.95rem;
  }

  .account-verifaction-querry {
    width: 100%;
    margin-bottom: 4rem;
    padding: 1rem 0.5rem;
  }
    .full-auth-container {
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  .side-auth-info-background,
  .auth-container {
    flex: none;
    width: 100%;
    height: auto;
    padding: 2rem 1rem;
    text-align: center;
  }

  .auth-container form input,
  .form-step input {
    width: 100%;
    font-size: 0.95rem;
  }
.field-checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
  margin-top: 10px;
  font-size: clamp(0.5rem, 0.5vw + 0.5vh, 1rem);
}
.field-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #9c50d3;
  cursor: pointer;
  margin: 0;          
  padding: 0; 
  vertical-align: middle;  
}
.field-checkbox label {
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 500;
}
.field-checkbox label a {
  color: #9c50d3;
  text-decoration: underline;
  font-weight: 600;
}


  .auth-container button,
  .form-step button {
    width: 100%;
  }

  .form-group {
    width: 100%;
    flex-direction: column;
  }

  #referral_pattern,
  #industry {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  .blocked-content {
    width: 90%;
    padding: 20px;
  }

  .blocked-content h2 {
    font-size: 1.2rem;
  }

  .blocked-content p {
    font-size: 0.95rem;
  }

  .blocked-content a button {
    width: 100%;
    font-size: 1rem;
  }
}


@media (max-width: 600px) {
  html, body {
    width: 100%;
    overflow-x: hidden; 
  }

  .header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    width: 100%;
    height: 60px;
    overflow-x: hidden;
  }

  .logo-c {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    flex-shrink: 0;
  }

  .logo {
    width: 80px;
    max-width: 100%;
    height: auto;
  }

  #exit-controls {
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    flex-shrink: 1;
  }

  .settings-text {
    display: none !important; 
  }

  .settings {
    padding: 4px;
  }

  .settings img {
    width: 20px;
    height: 20px;
  }

  .user-profile {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }
  .head-wrapper {
    margin-top: 3.5rem;
  }
  #web-page-secondlayerwrapper{
    margin-top: -1rem;
  }
  .settings-popup {
    position: fixed;            
    bottom: 20px;            
    right: 10px;
    width: 90vw;
    max-width: 250px;
    z-index: 1000;
  }
}
@media (max-width: 500px) {
  .settings-popup {
    right: 5%;
    left: 5%;
    width: 90%;
  }
}


@media (max-width: 400px) {
  h1, h2, h3 {
    font-size: 1rem;
  }
  p, span, label {
    font-size: 0.85rem;
  }
}



