body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    /*background-color: #f0f0f0;*/
}

/* password reset styles */

#password-reset-container {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 100%;
    color: #333333;
    position: fixed;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
}

#password-reset-container h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333333;
}

#password-reset-container p {
    margin-bottom: 20px;
    color: #666666;
    font-size: 16px;
}

#password-reset-container input[type="email"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    margin-bottom: 20px;
}

#password-reset-container button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: #2475B3; /* Your theme's primary color */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#password-reset-container button:hover {
    background-color: #1e5d8a; /* Darker shade of your theme's primary color */
}

#password-reset-message {
    margin-top: 20px;
    color: #ff0000; /* Red color for error or confirmation messages */
}

/* Centered layout for logo and form */
#password-reset-container img {
    width: 200px; /* Increase the logo size */
    margin-bottom: 20px;
}

#password-reset-container h2 {
    margin-bottom: 20px;
}

#password-reset-container p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666666;
}

/* password reset page style */

#reset-password-container {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 100%;
    color: #333333;
    position: fixed;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
}

#reset-password-container h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333333;
}

#reset-password-container p {
    margin-bottom: 20px;
    color: #666666;
    font-size: 16px;
}

#reset-password-container input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    margin-bottom: 20px;
}

#reset-password-container button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: #2475B3; /* Your theme's primary color */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#reset-password-container button:hover {
    background-color: #1e5d8a; /* Darker shade of your theme's primary color */
}

#reset-password-message {
    margin-top: 20px;
    color: #ff0000; /* Red color for error or confirmation messages */
}

/* Centered layout for logo and form */
#reset-password-container img {
    width: 120px; /* Increase the logo size */
    margin-bottom: 20px;
}

#reset-password-container h2 {
    margin-bottom: 20px;
}

#reset-password-container p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666666;
}

/* 2FA authentication styles */
.auth-container {
    background-color: #212327;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 500px; /* Increase the max-width */
    margin: 50px auto;
    color: #ffffff;
    display: none;
}

.auth-container h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}

.auth-container p {
    color: #cccccc;
}

.large-logo {
    width: 150px; /* Adjust as needed */
    margin-bottom: 20px; /* Add some space below the logo */
}

/* 2FA input group styling */
.twofa-input-group {
    display: flex;
    justify-content: space-between; /* Ensure inputs are spaced evenly */
    gap: 4px; /* Adjust space between each input */
    margin: 20px auto; /* Center the input group within the container */
    max-width: 450px; /* Increase width to fit the inputs */
}

.twofa-input {
    width: 45px; /* Adjust width to fit within the container */
    height: 45px; /* Adjust height to match width */
    text-align: center;
    font-size: 24px;
    border: 2px solid #2475B3; /* Add border to make it more visible */
    border-radius: 8px; /* Slightly rounded corners */
    color: #ffffff;
    background-color: #212327; /* Match the theme */
    outline: none; /* Remove default outline */
}

.twofa-input:focus {
    border-color: #09f; /* Change border color on focus */
}

.digits-left {
    font-size: 14px;
    margin-bottom: 20px;
    color: #cccccc;
}

/* Error message styling */
.error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

/* User overview styles */

.edit-button {
    position: absolute;
    top: 0;
    right: 20px;
    font-size: 14px;
    padding: 10px 20px;
    background-color: #2475B3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    float: right;
  }
  
.edit-button:hover {
  background-color: #2780c5;
}

.user-details-card {
    background-color: #212327;
    border-radius: 15px;
    padding: 20px;
    max-width: 1000px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.user-info-section h2 {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    border-left: 5px solid #2475B3;
    border-radius: 5px;
    padding-left: 10px;
}
.user-info-section {
    position: relative;
}

.user-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px 0 30px 20px;
}

.user-detail {
    font-size: 16px;
    color: #b0b0b0;
    line-height: 1.5;
}

.user-detail strong {
    color: #ffffff;
    margin-right: 10px;
}

.user-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.user-stat {
    display: flex;
    align-items: center;
    background-color: #37393D;
    border-radius: 12px;
    padding: 15px;
    text-align: left;
    flex: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.icon-container {
    background-color: #4B4D50;
    border-radius: 50%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.stat-icon {
    color: #ffffff;
    font-size: 24px;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 20px;
    color: #ffffff;
    font-weight: bold;
    margin: 0;
}

.stat-label {
    font-size: 14px;
    color: #a9a9a9;
    margin: 0;
}


.user-orders {
    margin: 20px auto;
    width: 90%;
    max-width: 1200px;
}

.user-orders h3 {
    color: #ffffff;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #333333;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    color: #e0e0e0;
}

th {
    background-color: #444444;
    font-weight: bold;
    color: #ffffff;
}

tr:nth-child(even) {
    background-color: #393939;
}

tr:nth-child(odd) {
    background-color: #393939;
}

tr:hover {
    background-color: #3a3a3a;
}

td {
    border-bottom: 1px solid #282828;
}

a {
    color: #8e44ad;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Admin User List styles */
.users-section {
    margin: 20px;
    padding: 40px;
    background-color: #080B0F;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: #ffffff;
    max-width: 60%;
    width: 60%;
    margin-left: auto;
    margin-right: auto;

}

.users-section h3 {
    margin-top: 0;
    color: #ffffff;
    font-size: 24px;
}

.user-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.user-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #212327;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-list li:last-child {
    margin-bottom: 0;
}

.user-list .userlist-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-list .userlist-details strong {
    color: #ffffff;
}

.user-list .userlist-details span {
    color: #b0b0b0;
    font-size: 14px;
}

.user-list a {
    color: #8e44ad;
    text-decoration: none;
    font-weight: bold;
}

.user-list a:hover {
    text-decoration: underline;
}

#user-search {
    margin-bottom: 20px;
    width: 100%;
    max-width: 300px;
    border-radius: 5px;
    font-size: 16px;
    margin-left: auto;
    
}

sl-input.user-searchbar::part(base) {
    background: #212327;
    border: none;
    color: #545559;
}

/* User orderPage styles */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #212327;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    overflow: hidden; /* Add this if there are any overflow issues */
  }
  
  #order-details h2 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    border-left: 5px solid #2475B3;
    border-radius: 5px;
    padding-left: 10px;
  }
  
  #order-info, #eta-display, #cargo-eta {
    font-size: 16px;
    color: #cccccc;
    margin: 10px 0;
  }
  
  .panel-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .panel {
    background-color: #2a2d32;
    border-radius: 10px;
    padding: 15px;
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
  }
  
  .panel-icon {
    font-size: 24px;
    margin-right: 15px;
  }
  
  .panel-content {
    font-size: 14px;
    color: #cccccc;
  }
  
  .panel-content p {
    margin: 0;
  }
  
  .progress-container {
    position: relative;
    width: 100%;
    height: 35px; /* Increase the height for a thicker bar */
    background: #444444;
    border-radius: 10px; /* Adjusted to make the bar more rounded */
    margin: 20px 0 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.progress-line {
    height: 35px; /* Match the height of the container */
    background: #09f;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 0%; /* Set initial width to 0% */
    transition: width 0.5s;
}
  
  .progress-stage {
    position: relative;
    flex-grow: 1;
    text-align: center;
  }
  
  .bullet-point {
    width: 16px; /* Increase bullet point size */
    height: 16px;
    background-color: #09f;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.progress-stage p {
    margin-top: 20px; /* Adjust for better spacing */
    font-size: 14px;
    color: #b0b0b0;
    position: relative;
    top: 30px;
}
  
  #map-loader {
    text-align: center;
    margin: 20px;
  }
  
  .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: spin 1s ease infinite;
    display: inline-block;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  #map {
    height: 400px;
    width: 100%;
    margin-top: 20px;
    border-radius: 10px;
    position: relative;
    overflow: hidden; /* Prevent any content overflow */
  }
  

  /* Login Test */

  .login-container {
    overflow: hidden;
  }
  
  .login-container,
  .login-container * {
    box-sizing: border-box;
  }
  
  input,
  select,
  textarea,
  button {
    outline: 0;
  }
  
  .login-container {
    position: relative;
    width: 1440px;
    height: 1024px;
    margin: 0 auto;
    background: #ffffff;
    overflow: hidden;
  }
  .wave {
    position: absolute;
    width: 936px;
    height: 1024px;
    top: 0;
    left: 504px;
    background: url(./assets/images/waveBGImage.png)
      no-repeat center;
    background-size: cover;
  }
  .rectangle {
    position: relative;
    width: 641px;
    height: 703px;
    margin: 162px 0 0 295px;
    background: url(./assets/images/rectangleBG.png)
      no-repeat center;
    background-size: cover;
    z-index: 1;
    overflow: visible auto;
  }
  .rectangle-1 {
    position: relative;
    width: 588px;
    height: 660px;
    margin: 20px 0 0 25px;
    background: url(./assets/images/rectangleImage.png)
      no-repeat center;
    background-size: cover;
    z-index: 2;
  }
  .image {
    position: absolute;
    width: 414px;
    height: 103px;
    top: 335px;
    left: 130px;
    bottom: 20px;
    background: url(./assets/images/PV-Logo-weiss-1024x247\ 3.png)
      no-repeat center;
    background-size: cover;
    z-index: 4;
  }
  .email {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    top: 443px;
    left: 212px;
    color: #000000;
    font-family: Inter, var(--default-font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 18.153px;
    text-align: left;
    background: rgba(217, 217, 217, 0);
  }

  sl-input.email::part(base) {
    width: 324px;
    height: 57px;
    align-items: center;
  }   

  .rectangle-3 {
    position: absolute;
    top: 516px;
    left: 212px;
    z-index: 9;
    border-radius: 45px;
  }
  sl-input.password-group::part(base) {
    width: 324px;
    height: 57px;
    align-items: center;
  } 
  .login-button {
    
    top: 589px;
    left: 212px;
  }
  sl-button.login-button::part(base) {
    width: 169px;
    height: 49px;
    background: rgb(37,109,175);
    background: linear-gradient(90deg, rgba(37,109,175,1) 0%, rgba(19,75,126,1) 100%);
    color: #ffffff;
    font-family: Inter, var(--default-font-family);
    font-size: 18px;
    font-weight: 500;
    line-height: 21.784px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    border-radius: 45px;
  } 
  .forgot-password {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    height: 22px;
    top: 666px;
    left: 212px;
    color: rgba(29, 94, 153, 0.6);
    font-family: Inter, var(--default-font-family);
    font-size: 14px;
    font-weight: 500;
    line-height: 16.943px;
    text-align: left;
    white-space: nowrap;
    z-index: 15;
  }