.Transactions {
  overflow-x: hidden;
  height: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-size: calc(10px + 2vmin);
  color: rgba(88, 55, 50, 1);
  background-color: #e9e9e9;
  border-radius: 15px;
}

.Transactions-title {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 32px;
  color: rgba(88, 55, 50, 1);
  text-align: left;
  margin-left: 20px;
  margin-top: 40px;
}

.Transactions-detail {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  color: rgba(88, 55, 50, 1);
  text-align: left;
  margin-left: 20px;
  margin-top: 17px;
}

.TransactionListContainer {
  overflow-y: auto; /* Enables vertical scrolling */
  background-color: #dbdbdb;
  overflow: visible;
}

.TotalContainer {
  display: flex;
  justify-content: space-between;
  width: 100%; /* Ensures it takes up full width */
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1.5em;
  padding: 10px;
  box-sizing: border-box; /* Includes padding in width */
  margin-bottom: 17px;
}

.PaymentContainer {
  display: flex;
  justify-content: space-between;
  width: 100%; /* Ensures it takes up full width */
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1.5em;
  padding: 10px;
  box-sizing: border-box; /* Includes padding in width */
  margin-bottom: 17px;
  justify-content: center;
}

.PayButton {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 70%; /* Adjusted for better readability */
  padding: 12px 24px; /* Added padding for a better look */
  border-radius: 50px;
  background-color: rgba(88, 55, 50, 1);
  color: white;
  border: none;
  margin: 0 auto;
  cursor: pointer;
  display: block; /* Centering the button */
  text-align: center;
}
.DeclineButton {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  padding: 12px 24px; /* Add some padding for spacing */
  color: rgba(88, 55, 50, 1);
  background-color: transparent; /* No background */
  border: none; /* No border */
  margin: 0 auto; /* Center horizontally */
  cursor: pointer;
  display: block; /* Center the text horizontally */
  text-align: center; /* Center the text within the button */
  margin-bottom: 23px; /* Space at the bottom to match the PayButton */
}

.DeclineButton.active {
  position: relative;
  z-index: 201;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  padding: 12px 24px; /* Add some padding for spacing */
  color: rgba(88, 55, 50, 1);
  background-color: transparent; /* No background */
  border: none; /* No border */
  margin: 0 auto; /* Center horizontally */
  cursor: pointer;
  display: block; /* Center the text horizontally */
  text-align: center; /* Center the text within the button */
  margin-bottom: 23px; /* Space at the bottom to match the PayButton */
}
.RoundedRectangle {
  position: relative;
  border-radius: 20px;
  padding: 15px; /* Adjusted for better spacing */
  margin: 26px;
  background-color: #f9f9f9;
}

.expression {
  width: 100%;
}

.Note {
  text-align: left;
  color: rgba(88, 55, 50, 1);
  font-size: 1em;
  cursor: pointer;
}

.NoteContainer {
  display: flex;
  justify-content: space-between;
  margin-left: 20px;
  font-size: 1em;
  margin-bottom: 15px;
}

.NoteInput {
  height: 12vw;
  border-radius: 20px;
  margin: 0 auto;
  padding: 10px;
  font-size: 1.2em;
  border: 1px solid rgba(88, 55, 50, 0.5);
  resize: none; /* Prevent resizing */
  overflow-wrap: break-word; /* Ensure text wraps */
}

.RibbonBanner {
  position: absolute;
  top: 0;
  width: 200px;
  height: 200px;
  left: -18px;
}

.RibbonBanner img {
  object-fit: contain;
  width: 100%;
  height: auto;
}

.RibbonBanner h1 {
  margin: 0; /* Remove default margin */
  font-size: 20px; /* Adjust font size as needed */
  transform: rotate(-44.7deg); /* Rotate the text */
  transform-origin: center; /* Rotate around its center */
  white-space: nowrap; /* Prevent text wrapping */
  position: absolute;
  top: 60px;
  left: -15px;
}
