* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.invoice-section {
    display: none; /* Initially hidden */
    margin-top: 10px;
}

input[type="text"] {
  background-color: #f0f0f0;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 16px;
  color: #333;
  width: 200px;
  height: 60px;
  transition: all 0.3s ease;
  position: relative;
}

/* Styling for the placeholder */
input[type="text"]::placeholder {
  color: #d3d3d3;
  transition: all 0.3s ease;
}

/* Move the placeholder up when text is entered */
input[type="text"]:not(:placeholder-shown) {
  /* padding-top: 20px; */
}

/* Shrink the placeholder when user types */
input[type="text"]:focus::placeholder,
input[type="text"]:not(:placeholder-shown)::placeholder {
  top: -10px;  /* moves placeholder to the top */
  left: 10px;  /* adjust the left position */
  font-size: 12px;
  color: #888;  /* lighter color */
}

/* Position the placeholder initially inside */
input[type="text"]:focus {
  padding-top: 5px;
}

input[type="text"]:focus::placeholder {
  position: absolute;
  top: 0;
  left: 20px;
}

.container-test {
  display: flex;
  background-color: white;
  max-width: 1770px;
  margin: 0 auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.box {
  height: auto;
}

.box1 {
  width: 800px;
  /* background-color: lightblue; */
}

.box2 {
  width: 100%;
  /* background-color: yellow; */
}

@media (max-width: 768px) {
 .container-test {
   flex-direction: column;
 }

 .box {
   width: 100%;
 }
}

body {
  background-color: #f9f9f9;
  padding: 0;
}

/* Navigation Header */
header-new {
  background-color: #007bff;
  color: white;
  padding: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

h1 {
  text-align: left;
  color: #333;
  margin: 1rem 0;
}

/* Cart List */
.cart-list {
  list-style: none;
  width: 50%;
  margin: 0 auto;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background-color: white;
  border: 1px solid #ddd;
  margin-bottom: 1rem;
  border-radius: 20px;
}

.cart-item img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
}

.cart-item-info {
  flex-grow: 1;
  margin-left: 1rem;
}

.cart-item-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.cart-item-details {
  font-size: 1.2rem;
  color: #555;
}

.cart-item-details span {
  display: block;
  margin: 0.3rem 0;
}

.delete-btn {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.delete-btn:hover {
  background-color: #c82333;
}

.divider {
  height: 1px;
  background-color: #ddd;
  width: 100%;
  margin: 1rem 0;
}

.header-type {
  padding-top: 40px;
  padding-bottom: 40px;
  color: #bbbbbb;
}
.header-font {
  width: 75%;
  margin: 0 auto;
  font-size: 40px;
}
.footer-type {
  padding-top: 40px;
  padding-bottom: 40px;
  width: 75%;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

.cart-item img {
  width: 100%;
  max-width: 240px;
  margin-bottom: 0.5rem;
}

.cart-item-info {
  margin-left: 0;
}

.cart-item-title {
  font-size: 1rem;
}

.cart-item-details {
  font-size: 0.8rem;
}

.delete-btn {
  width: 100%;
  max-width: 120px;
}

form.user-info-form {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

h2.form-title {
  font-size: 24px;
  margin-bottom: 20px;
}

label.input-label {
  font-weight: bold;
  display: block;
}

input, textarea, select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

div.horizontal-group {
  display: flex;
  gap: 15px;
}

div.horizontal-group input {
  width: 100%;
}

button.submit-button {
  width: 100%;
  background-color: #007bff;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

button.submit-button:hover {
  background-color: #0056b3;
}
