@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

/* General Reset and Body Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  margin: 0; /* Remove default margin */
  padding:0;
  background: rgba(0, 0, 0, 0.7) url("../background/background7.jpg");
  background-size: 100% 100%;
  background-blend-mode: darken;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

/* Wrapper CSS */
.container {
  max-width: 440px;
  margin: 170px auto;
}

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

.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;
  margin: 0;
  padding: 0;
}

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

#objects-container {
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 30px;
}

.create-btn {
  width: 100%;
  height: 50px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  background: #f7a600;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
  margin-bottom: 15px;
}

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

.logout-link a {
  color: #f7a600;
  font-size: 20px;
  text-decoration: none;
  padding:0;
}

.logout-link a:hover {
  text-decoration: underline;
  color: #f59402;
  text-align: center;
}


.object-box {
  background: #ffffff;
  color: #3c3b42;
  border: 1px solid #f7a600;
  height: 50px;
  border-radius: 5px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.object-box .text-box {
  cursor: pointer;
  font-size: 18px;
  padding-left: 60px;
  flex-grow: 1;
}

.object-box .delete-btn {
  position: absolute;
  left: 0;
  width: 50px;
  height: 50px;
  background: #f7a600;
  color: white;
  border: none;
  border-radius: 5px 0 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
}

.object-box .delete-btn:hover {
  background: #f59402;
}

#trade-form {
  display: none;
}

#button-container, #button-container2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 25px;
}

/* Popup CSS */
.popup-confirm {
  width: 100%;
  height: 50px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  background: #f7a600;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
  margin-bottom: 15px;
}

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

.popup-cancel {
  color: #f7a600;
  font-size: 20px;
  text-decoration: none;
  text-align: center;
  background: #242733;
  border: none;
}

.popup-cancel:hover {
  color: #f59402;
  text-decoration: underline;
}

.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 {
  width:440px;
  background: #242733;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.popup-content p {
  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%;
  padding-left: 25px;
  padding-right: 25px;
  margin-bottom: 30px;
}

.popup-content input {
  padding: 10px;
  width: calc(100% - 50px);
  border: 1px solid #f7a600;
  border-radius: 5px;
  margin-bottom: 15px;
  background: #ffffff;
  color: #3c3b42;
  font-size: 18px;

}

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