
html {
    height: 100%; /* Ensure html fills the entire viewport height */
    /* You might also add overflow-y: auto; here, though body usually handles it */
}

body {
  overflow: auto;  
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #34393c; 
}

.company-icon {
  position: relative;
  top: 55px;
  font-size: 50px;
  
  font-weight: 100;
  font-style: normal;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  
  background: linear-gradient(to right, #11998e, #38ef7d); 
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; 
}

.userProfile-div {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

#settings-icon {
 position: relative; 
 color: rgb(170, 170, 170); 
 font-size: 30px;
 top: 55px;
 left:300px;
}



.loading-infinity-1 {
  position: relative;
  top: 120px;
  left: 130px;
  width: 30px;
  height: 30px;
}

.navbar-round {

    display: flex;
    flex-direction: row;
    align-self: center;
    align-items: center;
    justify-content: center;

    width: 90%;
    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;
}


.sign-out {
    position: absolute;
    right: 200px;
    top: 130px;
    font-size: 15px;
    text-decoration: none;

    background: none!important;
    border: none;
    padding: 0!important;
    color: rgb(197, 197, 197) !important;
}

.sign-out:hover {
  cursor: pointer;
}



.username-greeting {
    position: absolute;
    left: 200px;
    top: 115px;
    font-size: 15px;
    color: rgb(197, 197, 197);
}


.settings-icon {
position: relative;
top: 55px;
/* left: 750px; */
color: white;
font-size: 50px;
}



p {
  color: black !important; 
}

a:not(.navItems a, .sub-nav a, .sign-out, .correction-attachment)  {
  /* Green */
  background-color: #0093E9;
  background:linear-gradient(160deg, #0093E9 0%, #80D0C7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;


}

input {
  margin: 5px 5px;
  margin-bottom: 10px;
  margin-top: 20px;
  height: 50px; 
  font-family: inherit;
  width: 300px;
  border: 0;
  border-bottom: 2px solid black;
  outline: 0;
  font-size: 1.3rem;
  color: rgb(224, 224, 224);
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;
  border-width: 3px;
  border-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
  border-image-slice: 1;
}

select {   
  
  margin: 5px 5px;
  margin-bottom: 10px;
  margin-top: 20px;
  height: 30px; 
  font-family: inherit;
  width: 200px;
  height: 70px;
  border: 0;
  border-bottom: 2px solid black;
  outline: 0;
  font-size: 1.3rem;
  color: black;
  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;
  background-color: rgb(197, 197, 197);
  opacity: 0.5;
}

.not-admin {
  margin-bottom: 50px;
}



#root {
  min-height: 100%
}




.material-symbols-outlined:hover {
cursor: pointer;
}
.material-symbols-outlined {
  color: #bbb;
}



/* Body */

.recent-orders {
    margin-top: 20px;
    margin-bottom: 20px;

    background-color: rgb(48, 48, 48);
    border-radius: 20px;
    position: relative;
    top:-30px;
    padding:50px;

    display: flex;
    max-width: 1000px;
    justify-content: center;
    flex-direction: column;
    align-items: center;

}

.order-div {
    display: flex;    
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    background-color: rgb(60, 62, 62);

    padding: 20px;   

    box-shadow: 0 6px 20px rgba(56, 125, 255, 0.17);
}

.hidden-details.hidden {
    display: none;    
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    padding: 20px;    
}
.hidden-details {
  display: flex;    
  justify-content: center;
  flex-direction: column;
  align-items: center;
  border-radius: 20px;
  padding: 20px;    
}

.show-more-button {
  /* Suggest a nice linear background image color for dark background other than green*/
  background-image: linear-gradient(to right, #6a11cb, #2575fc) !important;  
}

.order-div.priority { 
  background-color: rgb(0, 88, 88); 
}

.order-div.express { 
  background-color: rgb(39, 38, 81);
  
}

.order-div.urgent { 
  background-color: #4c2b2b;
}

.order-div.suspicious { 
  background-color: #62275f;
}

.order-div.apostille {
  background: linear-gradient(to bottom, #414345, #232526);
}



#order-list {
    color:#bbbbbb;

    display: flex;    
    justify-content: center;
    flex-direction: column;
    align-items: center;

    gap:20px;
}

#order-list h3 {
  color: rgb(234, 122, 48);
}


#order-list summary {
  color: rgb(128, 125, 25);
  margin-top: 20px;
  cursor: pointer;
}

#order-list details p {
  color: #bbbbbb !important;
}


details p {
  text-align: center;
}


.notary-cost-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.notary-cost-div input {
  width: 70px;
  position: relative;
  bottom:10px;
}

.translation-cost-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.translation-cost-div input {
  width: 70px;
  position: relative;
  bottom:10px;
}

.notary-number-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.notary-number-div input {
  width: 70px;
  position: relative;
  bottom:10px;
}

/* Global */
.text-input-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.text-part {
  color:lightblue !important;
}
.input-part {
  width: 70px;
  position: relative;
  bottom:10px;
}

/* Files details */
.files-details {
  margin-bottom: 10px;
  background-color: #222222;
  border-radius: 20px;
  padding: 10px;
  padding-top: 5px;
  padding-right: 30px;
  padding-bottom: 30px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.reupload-files-button {
  background-image: linear-gradient(to right, #4b79a1, #283e51) !important;
  margin-top: 20px;
  padding: 10px 15px !important; /* Adjust these values to control padding */
  font-size: 14px !important;    /* Adjust this value to control font size */
  color: lightgrey !important;
}

.better-copies-button {
  background-image: linear-gradient(to right, #3a6073, #16222a) !important;
  margin-top: 20px;
  padding: 10px 15px !important; /* Adjust these values to control padding */
  font-size: 14px !important;    /* Adjust this value to control font size */
  color: lightgrey !important;
}

.files-button-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  left: 15px;
}


.files-details p {
   /* Green */
   background: linear-gradient(to right, #11998e, #38ef7d); 
   background-clip: text;
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

.files-summary {
   /* Green */
   background: linear-gradient(to right, #11998e, #38ef7d); 
   background-clip: text;
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

.files-summary-2 {
  /* Green */
  background: linear-gradient(to right, #00c6ff, #0072ff); 
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shipping-cost-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.shipping-cost-div input {
  width: 70px;
  position: relative;
  bottom:10px;
}

.turnaround-cost-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.turnaround-cost-div input {
  width: 270px;
  position: relative;
  bottom:10px;
}

.word-pages {
  font-size: 12px;
  position: relative;
  bottom:15px;
}

.word-count-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.word-count-div input {
  width: 70px;
  position: relative;
  bottom:10px;
}

.page-count-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.page-count-div input {
  width: 70px;
  position: relative;
  bottom:15px;
}

.div-for-expedited-options {
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    gap:10px;
}

.evaluation-cost-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.evaluation-cost-div input {
  width: 70px;
  position: relative;
  bottom:10px;
}

.evaluation-turnaround-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.evaluation-turnaround-div input {
  width: 70px;
  position: relative;
  bottom:10px;
}

.evaluation-type-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.evaluation-type-div input {
  width: 70px;
  position: relative;
  bottom:10px;
}

.evaluation-turnaround-input {
  width: 200px !important;
  font-size: 16px;
}

.apostille-cost-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.apostille-cost-div input {
  width: 70px;
  position: relative;
  bottom:10px;
}


/* End of verified styles */



/* New Form */

label {
  font-weight: bold;
}

button {
  
        border: none;
        color: white;
        padding: 15px 32px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        /* background-color: #4b59f7; */
        background-color: green;
        border-radius: 10px;
        cursor:pointer;
      }  


  .buttons-wrapper {
    position: relative;   
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom:35px;
  }

  .quote-form {
    margin-top: 20px;
    margin-bottom: 20px;

    background-color: rgb(48, 48, 48);
    border-radius: 20px;
    position: relative;
    top:-30px;
    padding:50px;

    display: flex;
    max-width: 600px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .done-div {
    margin-top: 20px;
    margin-bottom: 20px;

    background-color: rgb(48, 48, 48);
    border-radius: 20px;
    position: relative;
    top:-30px;
    padding:50px;

    display: none;
    max-width: 600px;
    justify-content: center;
    flex-direction: column;
    align-items: center;

  }



 
  input.invalid {
    background-color: #ffdddd;
  }

  h2 {
    font-family: "Times New Roman", Times, serif;
    color:rgb(93, 93, 93);
  }

  /* Hide all steps by default: */
.tab {
    display: none;
  }
  
  /* Make circles that indicate the steps of the form: */
  .step {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbbbbb;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
  }
  
  /* Mark the active step: */
  .step.active {
    opacity: 1;
  }
  
  /* Mark the steps that are finished and valid: */
  .step.finish {
    background-color: #04AA6D;
  }

  textarea {
    font-size:16px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    width: 100%;
  }

  #notary-tab p {
    color:#bbbbbb !important;

  }

  #notary-tab h3 {
    color:#bbbbbb !important;

  }

  #notary-tab input {
    color:#bbbbbb !important;

  }

  #roles input {
    width: 15px;
    height: 15px;
  }

  .direction {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap:10px;
  }

  .direction input {
    width: 150px;
  }

  .order-error {
    color: rgb(247, 87, 87) !important;
    display: none;
  }


/* Navigation */

.navItems {
  display: flex;
  flex-direction: row;
  justify-content: center;
  /* position: relative;
  left:200px;
  margin-top: 100px; */
}

.anchor {
  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;

  flex-grow: 1; 
}

/* When you mouse over the navigation links, change their color */
.anchor:hover, .activated {
  color: #f1f1f1;
}

/* Navigation */

.sub-nav {
  display: none;
  flex-direction: row;
  justify-content: center;
  /* position: relative;
  left:200px;
  margin-top: 100px; */
}

.sub-anchor {
  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 */
.sub-anchor:hover, .lighted {
  color: #f1f1f1;
}




/* CHAT */
.chat-container {
  width: 90%;
  min-height: 50px;
  max-height: 300px;
  resize: both;
  border-radius: 10px; 
  margin-bottom: 10px;
  background-color: lavender; 
  overflow: auto;
}

.correction-attachment {
  background-color: #126792;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.chat-div {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  background-color: rgb(92, 92, 97);  
  padding: 20px; 
  overflow: auto;
}
.text-area {
  border-radius: 5px;
  margin-bottom: 10px;
  color: lightgrey;
  background-color: #4f4e4e;
}

.chat-button {
  background-image: linear-gradient(to right, #202122, #444749) !important;
  color: lightgrey !important;
  margin-top: 20px;
}
.chat-button-2 {
  background-image: linear-gradient(to right, #e57968, #eb4732) !important;
  color: lightgrey !important;
  margin-top: 20px;
}

.chat-button-close {
  background-image: linear-gradient(to right, #eb6d4a, #e75943) !important;
  color: lightgrey !important;
  margin-top: 20px;
  margin-bottom: 20px;
}

.send-button {
  background-image: linear-gradient(to right, #6a99c8, #267bb4) !important;
  color: lightgrey !important;
}

.message-bubble {
  display:flex;
  flex-direction:column;
  text-align: left !important;
  justify-content: flex-end;
  align-items: flex-start;
  background-color: #efb9b9;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}

.message-bubble p {
  color: #000000 !important;
  white-space: pre-wrap;
}

.message-bubble-admin {
  display:flex;
  flex-direction:column;
  text-align: left !important;
  justify-content: flex-end;
  align-items: flex-start;
  background-color: #DEDAF4;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 5px;
}

.message-bubble-admin p {
  color: #000000 !important;
  white-space: pre-wrap;
}

.message-bubble-client {
  display:flex;
  flex-direction:column;
  text-align: left !important;
  justify-content: flex-end;
  align-items: flex-start;
  background-color: #408661;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 5px;
}

.message-bubble-client p {
  color: #c9c9c9 !important;
  white-space: pre-wrap;
}

.message-sender {
  font-size: 14px;
}

.message-timestamp {
  font-size: 10px;
}

.message-status {
 font-size: 12px;
}

.charge-again {
  background-image: linear-gradient(to right, #a3ac70, #d6e452);
  margin-bottom: 20px;
}

.archive-button {
  background-image: linear-gradient(to right, #786f1c, #aec549) !important;
  margin-bottom: 10px;
}

.order-listItem {
  margin-bottom: 20px;
}

.discount-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.discount-div input {
  width: 70px;
  position: relative;
  bottom:10px;
}

.balance-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.balance-div input {
  width: 70px;
  position: relative;
  bottom:10px;
}

.mark-as-invoiced {
  background-image: linear-gradient(to right, #4b79a1, #283e51) !important;
  margin-top: 15px;
}
.mark-as-completed{
  background-image: linear-gradient(to right, #4b79a1, #283e51) !important;
  margin-top: 15px;
}

.invoice-summary {
  font-family: Arial, sans-serif;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px 30px 30px;
  /* max-width: 600px; */
  margin: 20px auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

.invoice-summary h2, .invoice-summary h3 {
  color: #333;
}

.invoice-summary table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.invoice-summary tr {
  border-bottom: 1px solid #eee;
}

.invoice-summary td, .invoice-summary th {
  padding: 12px;
}

.invoice-summary .order-total { /* Add a class to the total amount paragraph */
  font-weight: bold;
  margin-top: 20px;
}

.invoice-summary #confirm-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 30px;
}

.confirm-invoice-button {
  background-image: linear-gradient(to right, #00c6ff, #0072ff) !important;
  margin-top: 15px;  
}

.error {
  color: #f1645a !important;
}

.process-button {
  background-image: linear-gradient(to right, #f34079, #fc894d) !important;
  
}

.average-total-number-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.text-confidence-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}


/* Apple style toggle */

.form-switch { 
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;  
  color: white;
  
  position: relative;
  bottom: 50px;

  }
  
  .toggle-i { 
  position: relative;
  display: inline-block;
  margin-right: .5rem;
  width: 46px;
  height: 26px;
  background-color: #cac9c9;
  border-radius: 23px;
  vertical-align: text-bottom;
  transition: all 0.3s linear;
  margin-left: 10px;
  }
  
  .toggle-i::before {
  content: "";
  position: absolute;
  left: 0;
  width: 42px;
  height: 22px;
  background-color: rgb(179, 179, 179);
  border-radius: 11px;
  transform: translate3d(2px, 2px, 0) scale3d(1, 1, 1);
  transition: all 0.25s linear;
  }
  
  .toggle-i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.24);
  transform: translate3d(2px, 2px, 0);
  transition: all 0.2s ease-in-out;
  }
  
  .form-switch:active .toggle-i::after {
  width: 28px;
  transform: translate3d(2px, 2px, 0);
  }
  
  .form-switch:active input:checked + .toggle-i::after { transform: translate3d(16px, 2px, 0); }
  
  .form-switch input { 
  display: none;
  
  }
  
  .form-switch input:checked + .toggle-i { background-color: #4BD763; }
  
  .form-switch input:checked + .toggle-i::before { transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0); }
  
  .form-switch input:checked + .toggle-i::after { transform: translate3d(22px, 2px, 0); }
  
.form-switch ul {
  list-style-type: none; 
}

.form-switch ul li {
  color: rgb(195, 195, 195)
}

/* end of toggle */

.cost-explanation {
  display: none;
  /* Green */
  background: linear-gradient(to right, #11998e, #38ef7d); 
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.email-quote {
  /* Orange */
  background: linear-gradient(to right, #ff4e50, #f9d423); 
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.set-rates {
  background: linear-gradient(to right, #11998e, #38ef7d) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-size: 16px;  
}

.set-yourself {
 display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  margin-bottom: 30px;
  margin-top: 30px;
  background-color: #4f4f4f;
  width: 100%;
  border-radius: 20px;
  padding: 10px;
}



  /* validation */

  .shake {
    animation: shake 0.3s; /* Adjust duration as needed */
  }
  
  @keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0);
   }
  }
  

  .filter-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .filter-buttons button {
    background: linear-gradient(to right, #1e3c72, #2a5298) !important;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    margin: 2px;
    color: #d3d3d3; /* Dimmed white color */
    border: none;
    cursor: pointer;
  }

  .calculation-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .calculation-buttons button {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364) !important;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    margin: 2px;
    color: #d3d3d3; /* Dimmed white color */
    border: none;
    cursor: pointer;
  }


/* Email verification pop up */
/* Hidden by default */
#emailVerificationPopup {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.4); 
}
/* width set */
#emailVerificationPopup .popup-content {
  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;
}

.popup-content p {
  color: lightgrey !important;
}


/* Password set */
/* Hidden by default */
#passwordSetPopup {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

#passwordSetPopup .popup-content {
  background-color: #35374B;
  margin: 15% auto;
  padding: 20px;
  border: none;
  width:300px;
  border-radius: 5px;
  text-align: center; 
}

#passwordSetPopup span {
  color: #bbb;
}

#passwordStrengthIndicators {
  margin-bottom: 10px; 
}

#passwordStrengthIndicators span {
  display: block; /* Stack the indicators vertically */
  font-size: 14px;
  margin-bottom: 5px;
}

#passwordSetPopup .popup-content input[type="password"] {
  width: calc(100% - 45px); /* Adjust width to accommodate the icon */
  color: black;
}

#passwordSetPopup .popup-content input[type="text"] {
  width: calc(100% - 45px); /* Adjust width to accommodate the icon */
  color: black;
}

#passwordSetPopup .material-symbols-outlined {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.2em;
}

#passwordSetPopup input {
  color: lightgrey !important;
}

#passwordSetForm {
  margin-top: -20px;
}


/* MFA */
/* reCAPTCHA Container */
#recaptcha-container {
  margin: 20px 0; 
}




/* MFA Popup */
#mfaPopup {
  display: none; /* Hide the popup initially */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

#mfaPopup .popup-content {
  background-color: #35374B;
  margin: 15% auto;
  padding: 20px;  
  width: 350px;
  border-radius: 10px;
  text-align: center;
  border: none;
  /* box shadow */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Input Fields */
#mfaPopup input[type="text"] {
  width: calc(100% - 22px);
  padding: 10px;
  margin: 10px 0; 
  color: lightgrey;
}

#mfaPopup input[type="number"] {
  width: calc(100% - 22px);
  padding: 10px;
  margin: 10px 0; 
  color: lightgrey;
}

#mfaPopup select {
  width: 100px;
  height: 50px;
  padding: 10px;
  margin: 10px 0;
  color: black;
  border-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%) !important;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

#mfaPopup p {
  /* Orange */
  background: linear-gradient(to right, #994711, #ef8a38); 
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

/* Buttons */
#mfaPopup button {
  background-image: linear-gradient(to right, #4b79a1, #283e51) !important;
  color: lightgrey;
}

/* Message */
#mfaMessage {
  margin-top: 10px;
}

.phone-input-group {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.phone-input-group select {
  width: 100px;
  margin-right: 10px;
}





/* Email Input Popup */
#emailInputPopup {
  /* Same basic modal styles as other popups */
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

#emailInputPopup .popup-content {
  /* Same content styles as other popups */
  background-color: #35374B; 
  margin: 15% auto;
  padding: 20px;
  border: none;
  width: 350px;
  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);
}

#emailInputPopup p {
  /* Orange */
  background: linear-gradient(to right, #994711, #ef8a38); 
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Input Field */
#emailInputPopup input[type="email"] {
  width: calc(100% - 22px);
  padding: 10px;
  margin: 10px 0;  
  color: lightgrey;
}

/* Button */
#emailInputPopup button {
  background-color: #4CAF50; /* Green */
  color: white;
  padding: 10px 20px;
  margin: 10px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Message */
#emailInputPopup #emailInputMessage {
  margin-top: 10px;
  color: rgb(234, 78, 78); /* Or any color you prefer for error messages */
}


/* SMS Preference Popup */
#smsPreferencePopup {
  /* Same basic modal styles as other popups */
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

#smsPreferencePopup .popup-content {
  /* Same content styles as other popups */
  background-color: #35374B; 
  margin: 15% auto;
  padding: 20px;
  border: none;
  width: 350px;
  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);
}

/* Buttons */
#smsPreferencePopup button {
  background-color: #4CAF50; /* Green */
  color: white;
  padding: 10px 20px;
  margin: 10px; /* Add some margin around buttons */
  border: none;
  border-radius: 4px;
  cursor: pointer;
}


.decline-button {
  background-image: linear-gradient(to right, #994711, #ef8a38) !important;
  color: lightgrey;
}



/* Profile feature update Pop-up */
#profileFeaturesPopup {
  /* Same basic modal styles as other popups */
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

#profileFeaturesPopup .popup-content {
  /* Same content styles as other popups */
  background-color: #35374B; 
  margin: 15% auto;
  padding: 20px;
  border: none;
  width: 350px;
  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);
}

#profileFeaturesPopup button {
  margin-top: 15px;
  background-image: linear-gradient(to right, #4b79a1, #283e51) !important;
  color: lightgrey;
}

#profileFeaturesPopup p {
  color: lightgrey;
}

#profileFeaturesPopup h2 {
  font-size: 30px;
}

#profileFeaturesPopup ul {
  list-style-type: none;
  padding: 0;
}

#profileFeaturesPopup .update-date {
  color: rgb(146, 146, 146) !important;
  font-size: 13px;
}

#profileFeaturesPopup .update-attachments {
   /* Green */
   background: linear-gradient(to right, #11998e, #38ef7d); 
   background-clip: text;
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
    font-size: 15px;
}




/* UPLOAD TRANSLATIONS */
.upload-files-button {
  background-image: linear-gradient(to right, #4b79a1, #283e51) !important;
  color: lightgrey;
  margin-top: 10px;
  margin-bottom: 20px;

}
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Confirmation */
.popup-confirmation {
  background-color: #35374B;
  margin: 10% auto; /* Adjusted margin for better vertical centering */
  padding: 20px;
  border: none;
  max-width: 80%; /* Responsive width */
  width: 400px; /* Default width */
  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); 
}

.popup-confirmation h2 {
  margin-bottom: 10px;
}

.popup-confirmation p {
  text-align: left; /* Align text to the left for better readability */
  margin-bottom: 10px;
}

.popup-confirmation summary {
  /* Orange */
  background: linear-gradient(to right, #994711, #ef8a38); 
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.popup-confirmation summary:hover {
  cursor: pointer;
}

.popup-confirmation ol {
  color: rgb(187, 187, 187);
}

.close-confirmation {
  color: #aaa;
  position: relative; /* Changed position to relative */
  float: right;
  font-size: 28px;
  font-weight: bold;
  top: 0px; /* Added top for better positioning */
  right: -10px; /* Added right for better positioning */
}

.close-confirmation:hover,
.close-confirmation:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Upload */
.popup-upload {
  background-color: #35374B;
  margin: 10% auto; /* Adjusted margin for better vertical centering */
  padding: 20px;
  border: none;
  max-width: 80%; /* Responsive width */
  width: 400px; /* Default width */
  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); 
}

.popup-upload h2 {
  margin-bottom: 10px;
}

.popup-upload p {
  text-align: left; /* Align text to the left for better readability */
  margin-bottom: 10px;
}

.close-upload {
  color: #aaa;
  position: relative; /* Changed position to relative */
  float: right;
  font-size: 28px;
  font-weight: bold;
  top: 0px; /* Added top for better positioning */
  right: -10px; /* Added right for better positioning */
}

.close-upload:hover,
.close-upload:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.files-submit-button { 
  background-image: linear-gradient(to right, #4b79a1, #283e51) !important;
  color: lightgrey !important; 
  margin-top: 20px;
}


/* File List Styles */
.popup-upload ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
  color: white;
  
}

.popup-upload ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center; /* Align items vertically */
  color: lightgrey !important;
}

.popup-upload progress {
  margin-left: 10px;
  width: 100%; /* Make progress bar take available space */
}

.remove-btn {
  color: rgb(229, 80, 80);
  margin-left: 10px;
  cursor: pointer;
}


/* Input Fields */
.popup-confirmation input[type="text"],
.popup-confirmation input[type="date"] {
  width: calc(100% - 22px);
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Buttons */
.popup-confirmation button {
  background-color: #4CAF50; /* Green */
  color: white;
  padding: 10px 20px;
  margin: 10px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Certification */

.popup-certification {
  background-color: #35374B;
  margin: 10% auto; /* Adjusted margin for better vertical centering */
  padding: 20px;
  border: none;
  max-width: 80%; /* Responsive width */
  width: 400px; /* Default width */
  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); 
}

.popup-certification h2 {
  margin-bottom: 10px;
}

.popup-certification p {
  text-align: left; /* Align text to the left for better readability */
  margin-bottom: 10px;
}

.close-certification {
  color: #aaa;
  position: relative; /* Changed position to relative */
  float: right;
  font-size: 28px;
  font-weight: bold;
  top: 0px; /* Added top for better positioning */
  right: -10px; /* Added right for better positioning */
}

.close-certification:hover,
.close-certification:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.translator-signature {
  font-family: 'Dancing Script', cursive;
  font-size: 30px;
}

/* Responsive Styles */
@media (max-width: 600px) { 
  .popup-confirmation {
    width: 90%; /* Take up more space on smaller screens */
  }

  #fileList li {
    flex-direction: column; /* Stack elements vertically on small screens */
    align-items: flex-start; /* Align items to the left */
  }

  #fileList progress {
    margin-left: 0;
    margin-top: 5px;
    width: 100%;
  }

  .remove-btn {
    margin-top: 5px;
    margin-left: 0;
  }
}

.button-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.message-attachment-input {
  display:none;  
}

.attachment-list-item {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.attachment-file {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #272836;
  padding: 3px;
  padding-right: 5px;
  padding-left: 5px;
  border-radius: 10px;
}

.attachment-link-1 {
  margin-right: 10px;
  color: #333; /* Or your preferred color */
  text-decoration: none;
}

.file-size-1 {
  margin-right: 10px;
  font-size: 0.8em;
  color: #777; /* Or your preferred color */
}

.document-image-deleter-1 {
  background-color: #f44336; /* Red background color */
  border: none;
  color: white;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  border-radius:4px;
  cursor: pointer;
}

.correction-attachments-list {
  color:black;
}




/* Interactive walkthrough */
.walkthrough {
display: none; /* Initially hide the walkthrough */
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.1); /* Semi-transparent background */
z-index: 1000; /* Ensure   
it's on top */
}

.walkthrough-step {
position: absolute;
top: -50px;
left: 10px;

background-color: #35374B;
padding: 20px;
border-radius: 10px;
/* Add a relative position to allow positioning the pseudo-element */
max-width: 300px; /* Adjust as needed */ 
min-height: 170px; /* Adjust as needed */
display: flex;           /* Enable flexbox layout */
flex-direction: column;  /* Align items vertically */
align-items: center;    /* Center items horizontally */
z-index: 1001;

}

#next-step-button {
background-image: linear-gradient(to right, #4b79a1, #283e51) !important;
color: lightgrey;
text-align: center;

}

.walkthrough-step::before {
content: "";
position: absolute;
top: 100%; /* Position the arrow at the bottom of the box */
left: 50%; /* Center the arrow horizontally */
transform: translateX(-50%); /* Adjust the arrow's position */
border-width: 10px; /* Adjust the arrow size as needed */
border-style: solid;
border-color: white transparent transparent transparent; /* White arrow pointing upwards */
}

.walkthrough-step.arrow-top::before {
top: -20px;
left: 50%;
transform: translateX(-50%);
border-color: transparent transparent white transparent;
} 
.walkthrough-step p {
color: rgb(185, 185, 185) !important; /* White text color */
}

#sendVerificationCodeBtn {
  position: relative;
  bottom: 30px;
}

.SMS-authentication {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #2c2d3f;
  border-radius: 20px;
  padding:10px;  
}

/* TOTP MFA */
.TOTP-authentication {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #2c2d3f;
  border-radius: 20px;  
  padding-bottom:50px;
}

.totp-mfa-error {
  color: rgb(251, 105, 105) !important;
  margin-top:40px !important;
  display: none;
}

.totp-code-button {
  background-image: linear-gradient(to right, #4b79a1, #283e51) !important;
  margin-top: 20px;
}

#action-status-2 {
    /* Green */
    background: linear-gradient(to right, #11998e, #38ef7d); 
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mfa-factor-select {
  position: relative;
  bottom: 30px;
  width: 250px;
  height: 70px;
}

.mfa-title {
  font-size:20px;
}

.chat-attachments-container {
  margin-top: 10px;
}

.chat-attachments-container ol {
  list-style: none;
  padding: 0;
  color: lightgrey;
}

.countdown {
  color: lightgrey;
  font-size: 22px;
}

.countdown-span {
   /* Green */
   background: linear-gradient(to right, #11998e, #38ef7d) !important; 
   background-clip: text !important;
   -webkit-background-clip: text !important;
   -webkit-text-fill-color: transparent !important;
 
}

#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;
}

#files-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; 
}

.files-button-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 15px; 
}

#cancel-files-button {
  background-image: linear-gradient(to right, #994711, #ef8a38) !important;
}

.load-more-orders-button {
  background-image: linear-gradient(to right, #4b79a1, #283e51) !important;
  color: lightgrey;
  margin-top: 20px;
}

.load-more-orders-button:hover {
  background-image: linear-gradient(to right, #283e51, #4b79a1) !important;
  color: white;
}

.navItems {
  margin-top: 5px;
  background-color: #29292a;
  padding: 20px;
  border-radius: 15px;
  }
  
  .navItems a {
  /* barely visible right border line */
  border-right: 1px solid #686868;
  padding-right: 10px;
  padding-left: 10px;
  text-decoration: none;
  }
  
  .navItems a:last-child {
  border-right: none; /* Remove border for the last a element */
  }

.sub-nav {
  margin-top: 5px;
  background-color: #303335;
  padding: 20px;
  border-radius: 15px;
  }
  
  .sub-nav a {
  /* barely visible right border line */
  border-right: 1px solid #686868;
  padding-right: 10px;
  padding-left: 10px;
  text-decoration: none;
  }
  
  .sub-nav a:last-child {
  border-right: none; /* Remove border for the last a element */
  }
  
  .sub-subnav {
  margin-top: 7px;
  background-color: #3a3a49;
  padding: 20px;
  border-radius: 15px;
  }
  
  .sub-subnav a {
  /* barely visible right border line */
  border-right: 1px solid #686868;
  padding-right: 10px;
  padding-left: 10px;
  text-decoration: none;
  }
  
  .sub-subnav a:last-child {
  border-right: none; /* Remove border for the last a element */
  }

  .waves {
    position: absolute;
    top: 0; /* Adjust if needed */
    left: 0; /* Adjust if needed */
    width: 100%; /* Or a specific width if you prefer */
    height: auto; /* Maintain aspect ratio */
    z-index: -1; /* Place the SVG behind the form */
    animation: wave-reveal 2s ease forwards; 
  }

  .globalSearchInput {
    display: none;
    position: relative;
    bottom: 20px;
    font-size: 16px;
  }

  .statusDisplay {
    font-size: 16px;
    color: #a38b8b;
    position: relative;
    bottom: 25px;
  }

  .sub-nav-files {
    display: none;
    flex-direction: row;
    justify-content: center;

    margin-top: 7px;
    background-color: #303135;
    padding: 20px;
    border-radius: 15px;
  }
  
  .sub-nav-files a {
    /* Orange */
    background: linear-gradient(to right, #994711, #ef8a38) !important; 
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }

  .anchor-files {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 17px;
    color: #818181;    
  
    font-weight:800;
    font-style: normal;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
  
    flex-grow: 1; 
  }

  .correction-text {
    /* Vibrant sunrise */
    background: linear-gradient(45deg, #FFC371, #FF5F6D);  
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reupload-text {
     /* Orange */
    background: linear-gradient(to right, #994711, #ef8a38); 
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    bottom: 20px;
}

  /* END  */

  .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;
    
    
    /* Purple linear background */
    border-radius: 20px;
    background-color: #4158D0;
    background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
    
    
    /* TEXT COLORS */
    /* 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;
    
    /* 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 */

/* 299px */
@media only screen and (max-width: 299px) and (min-width: 200px) and (max-device-height:350px) {
.navbar-round {
width: 100%; 
height: 150px; 
top: -80px; 
}
.sign-out {
right: 10px; 
top: 100px; 
font-size: 12px;
}
.username-greeting {
left: 10px; 
top: 85px;
font-size: 12px;
}
.settings-icon {
top: 30px;
font-size: 30px; 
}
input, select {
width: 90%; 
}
.recent-orders, .to-be-confirmed, .quote, .done-div, .quote-form {
padding: 20px;
} 
.anchor {
font-size: 14px;
padding: 4px; 
}
.navItems {
flex-direction: column; /* Stack navigation items vertically */
}
.buttons-wrapper {
flex-direction: column; /* Stack buttons vertically */
align-items: center; /* Center the buttons */
gap: 10px; /* Add some space between buttons */
}
.notary-cost-div, .translation-cost-div, .notary-number-div, 
.shipping-cost-div, .turnaround-cost-div, .word-count-div, 
.page-count-div, .evaluation-cost-div, .evaluation-turnaround-div, 
.evaluation-type-div, .apostille-cost-div, .discount-div, .balance-div,
.average-total-number-div, .text-confidence-div {
flex-direction: column; /* Stack div contents vertically */
align-items: center; 
}
.div-for-expedited-options {
flex-direction: column;
}
}

/* 299px */
@media only screen and (max-width: 299px) and (min-width: 200px) and (min-device-height:400px) {



}

/* OPTIMIZED for iPhone: (SE, 12 Pro,), Samsung: (Galaxy S8+, S20 Ultra,   */
@media only screen and (max-width: 399px) and (min-width: 300px) and (min-device-height:600px) {
  .navbar-round {
    width: 95%; 
    height: 180px; /* Maintain a taller navbar */
    top: -90px; 
  }
  .sign-out {
    right: 40px; 
    top: 110px; /* Adjust for taller navbar */
    font-size: 14px;
    color: lightgrey;
    font-size: 12px;
  }
  .username-greeting {
    left: 20px;
    top: 95px; /* Adjust for taller navbar */
    font-size: 14px;
  }
  .company-icon {
    top: 40px;
    font-size: 40px; 
  }
  #settings-icon {
    position: absolute;
    top:105px;
    right: 0px;
    left: 50px;    
  }
  .recent-orders {
    padding: 30px;
    width: 90%; /* Adjust width to fit within the screen */
    box-sizing: border-box; /* Ensure padding is included in the width */
    position: relative; /* Position the div relative to the navbar */
    top: -70px; /* Lift the div up a little */
  }
  .navItems {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
  }
  .sub-nav {
    margin-top: 25px;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
  }
  .anchor {
    font-size: 15px;
    padding: 6px; 
  }  
  input, select {
    width: 60%; 
  }
  .filter-buttons {
    flex-wrap: wrap;
    position: relative;
    right: 20px;   
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; /* Adjust gap as needed */
  }
  .calculation-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    
  }
  .buttons-wrapper {
    flex-direction: column; /* Stack buttons vertically */
    align-items: center;
    gap: 10px;
  }
  #order-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
  }
  .order-listItem {
    max-width: 100%;
    box-sizing: border-box;   

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin-right: 37px;
    
  }
  .order-div {    
    box-sizing: border-box;
    width: 320px;
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;    
  }
  .order-div input {
    width: 100px;
  }
  .searchInput {
    position: relative;
    right:30px;
  }

}
/* OPTIMIZED for Samsung Galaxy Z Fold 5 */
@media only screen and (width: 344px) and (height:882px) {
  .navbar-round {
    width: 95%; 
    height: 180px; /* Maintain a taller navbar */
    top: -90px; 
  }
  .sign-out {
    right: 40px; 
    top: 110px; /* Adjust for taller navbar */
    font-size: 14px;
    color: lightgrey;
    font-size: 12px;
  }
  .username-greeting {
    left: 20px;
    top: 95px; /* Adjust for taller navbar */
    font-size: 14px;
  }
  .company-icon {
    top: 40px;
    font-size: 40px; 
  }
  #settings-icon {
    position: absolute;
    top:105px;
    right: 0px;
    left: 50px;    
  }
  .recent-orders {
    padding: 30px;
    width: 90%; /* Adjust width to fit within the screen */
    box-sizing: border-box; /* Ensure padding is included in the width */
    position: relative; /* Position the div relative to the navbar */
    top: -70px; /* Lift the div up a little */
  }
  .navItems {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
  }
  .sub-nav {
    margin-top: 25px;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
  }
  .anchor {
    font-size: 15px;
    padding: 6px; 
  }  
  input, select {
    width: 60%; 
  }
  .filter-buttons {
    flex-wrap: wrap;
    position: relative;
    right: 20px;   
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; /* Adjust gap as needed */
  }
  .calculation-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    
  }
  .buttons-wrapper {
    flex-direction: column; /* Stack buttons vertically */
    align-items: center;
    gap: 10px;
  }
  #order-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
  }
  .order-listItem {
    max-width: 100%;
    box-sizing: border-box;   

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin-right: 37px;
    
  }
  .order-div {    
    box-sizing: border-box;
    width: 290px;
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;    
  }
  .order-div input {
    width: 100px;
  }
  .searchInput {
    position: relative;
    right:30px;
  }

}

 /* 399px and below (small screens, shorter height) */
@media only screen and (max-width: 399px) and (min-width: 300px) and (max-device-height:599px) {
  .navbar-round {
    width: 95%; 
    height: 150px; /* Reduce navbar height */
    top: -80px; /* Adjust navbar position */
  }
  .sign-out {
    right: 20px; 
    top: 100px; /* Adjust for shorter navbar */
    font-size: 13px;
  }
  .username-greeting {
    left: 20px;
    top: 85px; /* Adjust for shorter navbar */
    font-size: 13px;
  }
  .settings-icon {
    top: 35px; /* Adjust for shorter navbar */
    font-size: 35px; 
  }
  input, select {
    width: 90%; 
  }
  .recent-orders, .to-be-confirmed, .quote, .done-div, .quote-form {
    padding: 25px; /* Reduce padding slightly */
  }
  .anchor {
    font-size: 14px;
    padding: 5px; /* Reduce padding */
  }
  .navItems {
    flex-direction: column; /* Stack navigation items vertically */
  }
  .buttons-wrapper {
    flex-direction: column; /* Stack buttons vertically */
    align-items: center; 
    gap: 10px; 
  }
  .notary-cost-div, .translation-cost-div, .notary-number-div, 
  .shipping-cost-div, .turnaround-cost-div, .word-count-div, 
  .page-count-div, .evaluation-cost-div, .evaluation-turnaround-div, 
  .evaluation-type-div, .apostille-cost-div, .discount-div, .balance-div,
  .average-total-number-div, .text-confidence-div {
    flex-direction: column; /* Stack div contents vertically */
    align-items: center; 
  }
  .div-for-expedited-options {
    flex-direction: column;
  }
}

  /* 449px and below (slightly larger screens, shorter height)*/
@media only screen and (max-width: 449px) and (min-width: 400px) and (max-device-height:669px) {
  .navbar-round {
    width: 90%; 
    height: 150px; /* Reduce navbar height */
    top: -80px; 
  }
  .sign-out {
    right: 30px; 
    top: 100px; /* Adjust for shorter navbar */
    font-size: 14px;
  }
  .username-greeting {
    left: 30px; 
    top: 85px; /* Adjust for shorter navbar */
    font-size: 14px;
  }
  .settings-icon {
    top: 30px; 
    font-size: 40px; 
  }
  input, select {
    width: 85%; 
  }
  .recent-orders, .to-be-confirmed, .quote, .done-div, .quote-form {
    padding: 30px; 
  }
  .anchor {
    font-size: 16px;
    padding: 8px;
  }
  .navItems {
    flex-direction: column; /* Stack navigation vertically */
  }
  .buttons-wrapper {
    flex-direction: column; /* Stack buttons vertically */
    align-items: center;
    gap: 10px;
  }
  .notary-cost-div, .translation-cost-div, .notary-number-div, 
  .shipping-cost-div, .turnaround-cost-div, .word-count-div, 
  .page-count-div, .evaluation-cost-div, .evaluation-turnaround-div, 
  .evaluation-type-div, .apostille-cost-div, .discount-div, .balance-div,
  .average-total-number-div, .text-confidence-div {
    flex-direction: column; /* Stack div contents vertically */
    align-items: center; 
  }
  .div-for-expedited-options {
    flex-direction: column; /* Stack expedited options */
  } 
}

  /* 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) {
  .navbar-round {
    width: 95%; 
    height: 180px; /* Maintain a taller navbar */
    top: -90px; 
  }
  .sign-out {
    right: 40px; 
    top: 110px; /* Adjust for taller navbar */
    font-size: 14px;
    color: lightgrey;
    font-size: 12px;
  }
  .username-greeting {
    left: 20px;
    top: 95px; /* Adjust for taller navbar */
    font-size: 14px;
  }
  .company-icon {
    top: 40px;
    font-size: 40px; 
  }
  #settings-icon {
    position: absolute;
    top:105px;
    right: 0px;
    left: 50px;    
  }
  .recent-orders {
    padding: 30px;
    width: 90%; /* Adjust width to fit within the screen */
    box-sizing: border-box; /* Ensure padding is included in the width */
    position: relative; /* Position the div relative to the navbar */
    top: -70px; /* Lift the div up a little */
  }
  .navItems {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
  }
  .sub-nav {
    margin-top: 25px;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
  }
  .anchor {
    font-size: 15px;
    padding: 6px; 
  }  
  input, select {
    width: 60%; 
  }
  .filter-buttons {
    flex-wrap: wrap;
    position: relative;
    right: 20px;   
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; /* Adjust gap as needed */
  }
  .calculation-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    
  }
  .buttons-wrapper {
    flex-direction: column; /* Stack buttons vertically */
    align-items: center;
    gap: 10px;
  }
  #order-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
  }
  .order-listItem {
    max-width: 100%;
    box-sizing: border-box;   

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin-right: 37px;
    
  }
  .order-div {    
    box-sizing: border-box;
    width: 320px;
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;    
  }
  .order-div input {
    width: 100px;
  }
  .searchInput {
    position: relative;
    right:50px;
  }
}

  /* OPTIMIZED for Microsoft Duo */
  @media only screen and (max-width: 598px) and (min-width: 450px) {
    .navbar-round {
      width: 95%; 
      height: 180px; /* Maintain a taller navbar */
      top: -90px; 
    }
    .sign-out {
      right: 40px; 
      top: 110px; /* Adjust for taller navbar */
      font-size: 14px;
      color: lightgrey;
      font-size: 12px;
    }
    .username-greeting {
      left: 20px;
      top: 95px; /* Adjust for taller navbar */
      font-size: 14px;
    }
    .company-icon {
      top: 40px;
      font-size: 40px; 
    }
    #settings-icon {
      position: absolute;
      top:105px;
      right: 0px;
      left: 60px;    
    }
    .recent-orders {
      padding: 30px;
      width: 90%; /* Adjust width to fit within the screen */
      box-sizing: border-box; /* Ensure padding is included in the width */
      position: relative; /* Position the div relative to the navbar */
      top: -70px; /* Lift the div up a little */
    }
    .navItems {
      flex-wrap: wrap;
      gap: 10px;
      justify-content: space-between;
    }
    .sub-nav {
      margin-top: 25px;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: space-between;
    }
    .anchor {
      font-size: 15px;
      padding: 6px; 
    }  
    input, select {
      width: 60%; 
    }
    .filter-buttons {
      flex-wrap: wrap;
      position: relative;
      right: 20px;   
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px; /* Adjust gap as needed */
    }
    .calculation-buttons {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
  
      
    }
    .buttons-wrapper {
      flex-direction: column; /* Stack buttons vertically */
      align-items: center;
      gap: 10px;
    }
    #order-list {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      
    }
    .order-listItem {
      max-width: 100%;
      box-sizing: border-box;   
  
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
  
      margin-right: 37px;
      
    }
    .order-div {    
      box-sizing: border-box;
      width: 420px;
      display: flex; 
      flex-direction: column;
      justify-content: center;
      align-items: center;    
    }
    .order-div input {
      width: 100px;
    }
    .searchInput {
      position: relative;
      right:50px;
    }
   



  }

   /* 698px */
   @media only screen and (max-width: 698px) and (min-width: 599px) and (min-height:500px) {
    
   

  }

   /* 698px 400px */
   @media only screen and (max-width: 698px) and (min-width: 599px) and (max-height: 400px) {

 

}


  /* OPTIMIZED for Ipad Mini  */
  @media only screen and (max-width: 799px) and (min-width: 699px) {
    .navbar-round {
      width: 95%; 
      height: 180px; /* Maintain a taller navbar */
      top: -90px; 
    }
    .sign-out {
      right: 100px; 
      top: 110px; /* Adjust for taller navbar */
      font-size: 14px;
      color: lightgrey;
      font-size: 12px;
    }
    .username-greeting {
      left: 20px;
      top: 95px; /* Adjust for taller navbar */
      font-size: 14px;
    }
    .company-icon {
      top: 40px;
      font-size: 40px; 
    }
    #settings-icon {
      position: absolute;
      top:105px;
      right: 0px;
      left: 100px;    
    }
    .recent-orders {
      padding: 30px;
      width: 90%; /* Adjust width to fit within the screen */
      box-sizing: border-box; /* Ensure padding is included in the width */
      position: relative; /* Position the div relative to the navbar */
      top: -70px; /* Lift the div up a little */
    }
    .navItems {
      flex-wrap: wrap;
      gap: 10px;
      justify-content: space-between;
    }
    .sub-nav {
      margin-top: 25px;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: space-between;
    }
    .anchor {
      font-size: 15px;
      padding: 6px; 
    }  
    input, select {
      width: 60%; 
    }
    .filter-buttons {
      flex-wrap: wrap;
      position: relative;
      right: 20px;   
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px; /* Adjust gap as needed */
    }
    .calculation-buttons {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
  
      
    }
    .buttons-wrapper {
      flex-direction: column; /* Stack buttons vertically */
      align-items: center;
      gap: 10px;
    }
    #order-list {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      
    }
    .order-listItem {
      max-width: 100%;
      box-sizing: border-box;   
  
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
  
      margin-right: 37px;
      
    }
    .order-div {    
      box-sizing: border-box;
      width: 520px;
      display: flex; 
      flex-direction: column;
      justify-content: center;
      align-items: center;    
    }
    .order-div input {
      width: 100px;
    }
    .searchInput {
      position: relative;
      right:50px;
    }
  
  }

   /* OPTIMIZED for Ipad Air, Asus Zenbook Fold */
   @media only screen and (max-width: 899px) and (min-width: 800px) {
    .navbar-round {
      width: 95%; 
      height: 180px; /* Maintain a taller navbar */
      top: -90px; 
    }
    .sign-out {
      right: 100px; 
      top: 110px; /* Adjust for taller navbar */
      font-size: 14px;
      color: lightgrey;
      font-size: 12px;
    }
    .username-greeting {
      left: 20px;
      top: 95px; /* Adjust for taller navbar */
      font-size: 14px;
    }
    .company-icon {
      top: 40px;
      font-size: 40px; 
    }
    #settings-icon {
      position: absolute;
      top:105px;
      right: 0px;
      left: 100px;    
    }
    .recent-orders {
      padding: 30px;
      width: 90%; /* Adjust width to fit within the screen */
      box-sizing: border-box; /* Ensure padding is included in the width */
      position: relative; /* Position the div relative to the navbar */
      top: -70px; /* Lift the div up a little */
    }
    .navItems {
      flex-wrap: wrap;
      gap: 10px;
      justify-content: space-between;
    }
    .sub-nav {
      margin-top: 25px;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: space-between;
    }
    .anchor {
      font-size: 15px;
      padding: 6px; 
    }  
    input, select {
      width: 60%; 
    }
    .filter-buttons {
      flex-wrap: wrap;
      position: relative;
      right: 20px;   
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px; /* Adjust gap as needed */
    }
    .calculation-buttons {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
  
      
    }
    .buttons-wrapper {
      flex-direction: column; /* Stack buttons vertically */
      align-items: center;
      gap: 10px;
    }
    #order-list {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      
    }
    .order-listItem {
      max-width: 100%;
      box-sizing: border-box;   
  
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
  
      margin-right: 37px;
      
    }
    .order-div {    
      box-sizing: border-box;
      width: 520px;
      display: flex; 
      flex-direction: column;
      justify-content: center;
      align-items: center;    
    }
    .order-div input {
      width: 100px;
    }
    .searchInput {
      position: relative;
      right:50px;
    }
  
 

  }

  /* OPTIMIZED for iPad Pro, Microsoft Surface Pro 7 */
  @media only screen and (max-width: 1024px) and (min-width: 900px) and (min-height: 700px) {
    .navbar-round {
      width: 95%; 
      height: 180px; /* Maintain a taller navbar */
      top: -90px; 
    }
    .sign-out {
      right: 100px; 
      top: 110px; /* Adjust for taller navbar */
      font-size: 14px;
      color: lightgrey;
      font-size: 12px;
    }
    .username-greeting {
      left: 20px;
      top: 95px; /* Adjust for taller navbar */
      font-size: 14px;
    }
    .company-icon {
      top: 40px;
      font-size: 40px; 
    }
    #settings-icon {
      position: absolute;
      top:105px;
      right: 0px;
      left: 120px;    
    }
    .recent-orders {
      padding: 30px;
      width: 90%; /* Adjust width to fit within the screen */
      box-sizing: border-box; /* Ensure padding is included in the width */
      position: relative; /* Position the div relative to the navbar */
      top: -70px; /* Lift the div up a little */
    }
    .navItems {
      flex-wrap: wrap;
      gap: 10px;
      justify-content: space-between;
    }
    .sub-nav {
      margin-top: 25px;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: space-between;
    }
    .anchor {
      font-size: 15px;
      padding: 6px; 
    }  
    input, select {
      width: 60%; 
    }
    .filter-buttons {
      flex-wrap: wrap;
      position: relative;
      right: 20px;   
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px; /* Adjust gap as needed */
    }
    .calculation-buttons {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
  
      
    }
    .buttons-wrapper {
      flex-direction: column; /* Stack buttons vertically */
      align-items: center;
      gap: 10px;
    }
    #order-list {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      
    }
    .order-listItem {
      max-width: 100%;
      box-sizing: border-box;   
  
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
  
      margin-right: 37px;
      
    }
    .order-div {    
      box-sizing: border-box;
      width: 720px;
      display: flex; 
      flex-direction: column;
      justify-content: center;
      align-items: center;    
    }
    .order-div input {
      width: 100px;
    }
    .searchInput {
      position: relative;
      right:50px;
    }
  
  

  }

  /* OPTIMIZED for Nest Hub */
  @media only screen and (max-width: 1024px) and (min-width: 900px) and (max-height: 600px) {
    .navbar-round {
      width: 95%; 
      height: 180px; /* Maintain a taller navbar */
      top: -90px; 
    }
    .sign-out {
      right: 100px; 
      top: 110px; /* Adjust for taller navbar */
      font-size: 14px;
      color: lightgrey;
      font-size: 12px;
    }
    .username-greeting {
      left: 20px;
      top: 95px; /* Adjust for taller navbar */
      font-size: 14px;
    }
    .company-icon {
      top: 40px;
      font-size: 40px; 
    }
    #settings-icon {
      position: absolute;
      top:105px;
      right: 0px;
      left: 120px;    
    }
    .recent-orders {
      padding: 30px;
      width: 90%; /* Adjust width to fit within the screen */
      box-sizing: border-box; /* Ensure padding is included in the width */
      position: relative; /* Position the div relative to the navbar */
      top: -70px; /* Lift the div up a little */
    }
    .navItems {
      flex-wrap: wrap;
      gap: 10px;
      justify-content: space-between;
    }
    .sub-nav {
      margin-top: 25px;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: space-between;
    }
    .anchor {
      font-size: 15px;
      padding: 6px; 
    }  
    input, select {
      width: 60%; 
    }
    .filter-buttons {
      flex-wrap: wrap;
      position: relative;
      right: 20px;   
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px; /* Adjust gap as needed */
    }
    .calculation-buttons {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
  
      
    }
    .buttons-wrapper {
      flex-direction: column; /* Stack buttons vertically */
      align-items: center;
      gap: 10px;
    }
    #order-list {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      
    }
    .order-listItem {
      max-width: 100%;
      box-sizing: border-box;   
  
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
  
      margin-right: 37px;
      
    }
    .order-div {    
      box-sizing: border-box;
      width: 720px;
      display: flex; 
      flex-direction: column;
      justify-content: center;
      align-items: center;    
    }
    .order-div input {
      width: 100px;
    }
    .searchInput {
      position: relative;
      right:50px;
    }
  
  
    

  }

