body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  background-color: beige;
}

.tittle {
  text-align: center;
  font-weight: 500;
  color: #333;
  font-size: 26px;
  margin-bottom: 20px;
}

.card {
  max-width: 100%;
  margin: auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  padding: 20px;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
}



.card-body input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 15px;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-body input:hover {
  border-color: #aaa;
}
.card-body input::placeholder {
  color: #999;
  font-style: italic;
}
.card-body input:focus {
  background-color: white;
  border-color: #28a745;
  outline: none;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

#Add_product_btn {
  background-color: #28a745;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  width: 100%;
  margin-top: 20px;
}

#Add_product_btn:hover {
  background-color: #218838;
  transform: scale(1.02);
}
#Add_product_btn:active {
  transform: scale(0.98);
}

.product-wrapper {
  margin-bottom: 30px;
}

.product-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transition: 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.product-image-container {
  overflow: hidden;
  display: flex;
  padding-top: 20px;
  justify-content: center;
  /* border-radius: 16px 16px 0 0 ; */

}

/* .product-image img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
} */

.product-image-container img{
  width: 50%;
  object-fit: cover;
  display: block;
  /* border-radius: 16px 16px 0 0 ; */
}


.test-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  flex-grow: 1;
  text-align: center;
}

.product-title {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.product-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
  word-break: break-word;
}

.d-grid {
  margin-top: auto;
}

.delete {
  width: 100%;
  padding: 12px;
  background-color:#c82333 ;
  color: white;
  font-weight: 500;
  border: none;
  border-top: 1px solid #ccc;
  border-radius: 0 0 16px 16px;
  transition: background-color 0.3s ease;
}

.delete:hover {
  background-color: rgb(125, 0, 0);
  cursor: pointer;
}
.error_message_style{
color: red;
 text-align: center;
display: none;
 margin-bottom: 0;
}