@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0e0d14;
  color: #dadada;
}

.container {
  max-width: 600px;
  margin: 100px auto;
  padding: 20px;
}

.wrapper {
  width: 100%;
  background: #242733;
  border-radius: 5px;
  box-shadow: 0px 4px 10px 1px rgba(17, 16, 16, 0.1);
}

.wrapper .title {
  height: 90px;
  background: #f7a600;
  border-radius: 5px 5px 0 0;
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.content {
  padding: 20px;
  color: #dadada;
  font-size: 18px;
}

#objects-container {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  margin-top: 10px;
}

.button-container {
  display: flex;
  justify-content: space-between;
  padding: 30px;
}

.create-btn, .logout-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background: #f7a600;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.create-btn:hover, .logout-btn:hover {
  background: #f59402;
}

.logout-btn {
  text-decoration: none;
  text-align: center;
}

.popup-dialog {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #242733;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.popup-content p {
  color: #dadada;
  font-size: 18px;
}

.popup-content input {
  width: 100%;
  padding: 10px;
  border: 1px solid #f7a600;
  border-radius: 5px;
  margin-bottom: 20px;
  background: #0e0d14;
  color: #fff;
  font-size: 16px;
}

.popup-content input::placeholder {
  color: #999;
}

.popup-btn {
  background: #f7a600;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  margin: 0 5px;
}

.popup-btn:hover {
  background: #f59402;
}

/* Adjusted object box styling to align with old CSS */
.object-box {
  background: #ffffff;
  color: #3c3b42;
  border: 1px solid #f7a600;
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; /* Ensure correct placement of delete button */
  cursor: pointer;
}
/* Ensure text box takes the full width and has a pointer cursor on hover */


/* Subaccount text styling */
.object-box .text-box {
  cursor: pointer;
  font-size: 18px;
  padding-left: 50px; /* Space for delete button to sit next to the text */
  flex-grow: 1;
}

.object-box .text-box:hover {
  text-decoration: underline;
}

/* Delete button styling */
.object-box .delete-btn {
    position: absolute;
    left: 0;
    width: 40px;
    height: 100%;
    background: #f7a600;
    color: white;
    border: none;
    border-radius: 5px 0 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px; /* Icon size */
  }
  
  .object-box .delete-btn i {
    font-size: 20px; /* Adjust icon size */
  }
  
  .object-box .delete-btn:hover {
    background: #f59402;
  }

#trade-form {
  display: none;
}
