@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* Header Css */
  header nav{
    background-color: #eeeeee;
    margin: 0 auto;
    margin-top: 20px;
    max-width: 1350px;
    width: 95%;
    height: 70px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 15px;
    border: 1px solid #dbdbdb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  header nav ul{
    display: flex;
    gap: 20px;
  }
  header nav ul li{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  header nav ul a{
    text-decoration: none;
    color: #fff;
    transition: 0.2s ease-in-out;
    font-size: 16px;
    background: #6e929f;
    padding: 7px 15px;
    border-radius: 8px;
  }
  header nav ul i{
    font-size: 25px;
  }
  header nav ul a:hover{
    background: #69adc5;
  }
  nav .menu-icon{
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333;
    font-size: 16px;
    display: none;
    cursor: pointer;
  }
  nav .menu-icon i{
    font-size: 20px;
  }
/* Header Css End */

/* Container Css */
.container{
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 100px;
  max-width: 1350px;
  width: 95%;
  position: relative;
}
/* Container Css End */


/* Dashboard Css */
.product-frame{
  display: flex;
  align-items: flex-start;
  gap: 40px;
  position: relative;
}
.order{
  width: 30%;
  height: 80vh;
  border-radius: 10px;
  border: 1px solid #dbdbdb;
  background-color: #eeeeee;
  position: sticky;
  position: -webkit-sticky;
  top: 40px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.order-title, .order-btn{
  height: 10%;
  border-bottom: 1px solid #dbdbdb;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-btn{
  border-top: 1px solid #dbdbdb;
}
.order-btn button{
  padding: 10px 50px;
  border-radius: 10px;
  border: none;
  outline: none;
  background: #6e929f;
  color: #fff;
  cursor: pointer;
}
.order-btn button:hover{
  background: #69adc5;
}

.order-desc{
  height: 80%;
  padding: 15px;
  overflow: hidden;
}

/* Card Css */
.products{
  width: 70%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: #eeeeee;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #dbdbdb;
}

.product-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  overflow: hidden;
}
.product-image img{
  width: 100%;
  height: 100%;
}

.product-info {
  padding: 24px;
}

.product-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.product-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.product-price {
  font-size: 28px;
  font-weight: bold;
  color: #2c5282;
  margin-bottom: 20px;
}

.quantity-section {
  margin-bottom: 16px;
}

.quantity-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

.quantity-input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
}

.quantity-input:focus {
  border-color: #6e929f;
}

.add-to-cart-btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background-color: #6e929f;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.add-to-cart-btn:hover {
  background-color: #69adc5;
}
/* Card Css End */
.order-desc table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  margin-top: 10px;
}

.order-desc th,
.order-desc td {
  padding: 8px 10px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.order-desc th {
  background-color: #f0f0f0;
  font-weight: bold;
}

.order-desc td input[type="number"] {
  width: 60px;
  padding: 4px;
  text-align: center;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.order-desc td button.remove-item-btn {
  background-color: #ff4d4f;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.2s;
}

.order-desc td button.remove-item-btn:hover {
  background-color: #d9363e;
}

.order-desc tfoot td {
  font-weight: bold;
  border-top: 2px solid #999;
  background-color: #f9f9f9;
}
/* Dashboard Css End */

/* Add/Edit Products Css */
#p_form{
  background-color: #eeeeee;
  border-radius: 10px;
  padding: 15px;
  border: 1px solid #dbdbdb;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#p_form  label{
  display: block; 
  margin-top: 10px;
}
#p_form input[type=text], input[type=number], input[type=file]{
  width: 100%; 
  padding: 8px; 
  margin-top: 4px;
  border-radius: 10px;
  border: 1px solid #b8b8b8;
  outline: none;
}
#p_form button{
  margin-top: 15px; 
  color: #fff;
  font-size: 16px;
  background: #6e929f;
  padding: 7px 15px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  outline: none;
  width: fit-content;
}
#p_form button:hover{
  background: #69adc5;
}
.message {
  margin-top: 15px; 
  margin-bottom: 15px; 
  font-weight: bold;
  background: #a3efa3;
  padding: 15px;
  border-radius: 10px;
}
/* Add/Edit Products Css End */

/* Login start */
.login-form-cont{
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.login-form-cont .form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 95%;
  max-width: 430px;
  background: #fff;
  padding: 35px 20px;
  border-radius: 20px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.login-form-cont .form .input-span {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.login-form-cont .form input[type="text"],
.login-form-cont .form input[type="password"] {
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--clr-alpha);
  outline: 2px solid #9e9e9e;
}

.login-form-cont .form input[type="text"]:focus,
.login-form-cont .form input[type="password"]:focus {
  outline: 2px solid #6e929f;
}

.login-form-cont .label {
  align-self: flex-start;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.login-form-cont  .span {
  text-decoration: none;
  color: var(--bg-dark);
}

.login-form-cont .span a {
  color: var(--clr);
}
.login-form-cont button{
  padding: 10px 51px;
  outline: none;
  border: none;
  border-radius: 10px;
  transition: ease-in-out 0.2s;
  background-color: #6e929f;
  color: #fff;
  margin-top: 15px;
}
.login-form-cont button:hover{
  background-color: #6ebdda;
  color: #fff;
  cursor: pointer;
}
.login-title{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: relative;
}
.title{
  position: relative;
  display: flex;
  align-items: center;
  color: #444444;
  font-size: 20px;
}
.login-form-cont .error{
  margin-top: 28px;
  color: red;
  background: #ffd9d9;
  padding: 15px;
  border-radius: 10px;
}
/* Login End */ 


/* Responsive Css */
@media (max-width: 991px) {
    nav .mobile-menu-open{
        display: flex;
    }
    header nav ul{
        position: absolute;
        width: 100%;
        border-radius: 8px;
        z-index: 100;
        flex-direction: column;
        padding: 15px;
        top: 75px;
        left: 0;
        background-color: #eeeeee;
        border: 1px solid #dbdbdb;
        display: none;
        gap: 25px;
    }
  }
/* Responsive Css End */