/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Grey+Qo&family=Gupter:wght@400;500;700&family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');


body {
  font-family: Arial, sans-serif;
  padding: 20px;
  background-image : url("assets/download\ \(33\).jfif");
  /* background-position: center; */
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

table {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  border-collapse: collapse;
  border-bottom: 1px solid  #b5bdac;;
  margin-top: -20px;

  /* border-top:  1px solid black; */
  width: 100%;
}
td{
  padding:8px;
  
}


.qty {
  width: 10%; /* Smallest width */
}

.particulars {
  width: 50%; /* Widest column */
}

.price {
  width: 15%; /* Equal smaller widths */
}

#invoice {
  max-width: 700px;
  margin: auto;
 background-image: url("assets/download\ \(31\).jfif");
 background-position: center;
 background-size: cover;
 background-repeat: no-repeat;
justify-content: center;
align-items: center;
  border: 1px solid #ddd;
  border-radius: 0px;
}

header {
  display: flex;
  border-collapse: collapse;
  align-items: center;
  /* background-color: #45a049; */

}
.invoice-details{
  display: flex;
  flex-direction:row;
  width: 94%;
  height:130px;
  /* background-color: #45a049; */
  margin-left: 3%;
  margin-top:-30%;


}
.client-info{
  display:flex;
  flex-direction:column;
  background-color:#3a3126;
  
  width: 80%;
  padding-left: 20px;
  
}
.client-title{
  padding:5px;
  margin: 0;
}
.client-info h3{
  font-family: "Lato", sans-serif;
  font-weight: 200;
  font-style: normal;
 font-size: 1.25rem;
 margin-bottom: 5px;
 color:#e5dfda;

 
 
}
.client-inputs{
 text-align: left;
}
.client-inputs input{
  width: 90%;
color:#FFFFFF;
 
  margin-bottom: 15px;
  font-size: 1.5rem;
  border: none;
  background-color: transparent;
  text-align: left;
  transition: border 0.3s;
  outline: none;
}
.invoice-info{

 margin-left: 5%;
  width:80%;
  margin-top: -50px;
  height: 80%;
 
}
.invoice-title{
  display:flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}
.invoice-info h1{
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 4rem;  
  margin-top: 0%;
  padding-top: 0%;
  color:#3a3126;
 
}
.invoice-number{
  margin: 0;
  position:relative;
  display: flex;
  flex-direction: row;
 gap:20px;
 width:70%;
  margin-left: 20%;


}
.invoice-number .n{
  font-family: "Gupter", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 0.8rem;
width: 50%;
}
.invoice-number .d{
  font-family: "Gupter", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 0.85rem;
 
}
#invoiceNumber{
  font-weight: 600;
  text-align: left;
}
#invoiceDate{font-weight: 600;}

.invoice-details,
.invoice-items,
.invoice-total {
  margin-top: 10px;
}
.invoice-items{
  padding: 20px;
}
.invoice-items table {
  border-collapse: collapse;
}

.invoice-items th,
.invoice-items td {
  border: none;
  text-align: center;
 
  
}
/* .invoice-items div{
  width:80%;
  background-color: #3a3126;
  height: 30px;
}  */
.invoice-items .headers{
  border-collapse: collapse;
width: 92%;
margin:20px;
  gap: 2px;
  margin-top:20px ;
  margin-bottom: 20px;
  font-size: 0.7rem;
  font-weight: 200;
  text-align: left;
  padding: 10px;
  background-color: #3a3126;
  color:#e5dfda;
  

}
.headers th{
  padding:15px;
  text-align: left;
}
.invoice-items tbody tr{
  border-bottom: 1px solid  #b5bdac;
  width: 10%;
} 
/* 
.invoice-items tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

.invoice-items tbody tr:nth-child(even) {
  background-color: #e0e0e0;
} */
.two{
  display:flex;
  flex-direction: row;
  padding-left:20px;
}
.invoice-total{

width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: right;
 
  margin-left: auto;
  margin-right: 30px;
  padding: 15px;
  background-color: #3a3126;

}

.invoice-total p {
  padding-right: 50px;
  padding-bottom: 10px;;
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
  font-family: "Gupter", serif;
  font-weight: 100;
  font-style: normal;
  color:#3a3126;
  color:#e5dfda;
  
}
.invoice-total span{
  margin-left: 20px;
}
.invoice-total input{
  color:#e5dfda;
}

.total-div{
display: flex;
justify-content: flex-end;
gap: 120px;
padding-top: 20px;
padding-bottom: 20px;
}
.invoice-final .total{

 padding: 20px;
  margin-right: 30px;
  font-size: 1.5rem;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  border: 1px solid #b6a593;
  background-color:#b5bdac;
  color:#3a3126;
  /* color:#e5dfda; */
  
  text-align: right;
}
.invoice-final{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  text-align: right;
  
  
  
}
.invoice-final span{
margin-left: 20px;
}


.company-details{
  margin-top:30px;
  gap:1px;
  font-size: 0.75em;
  font-weight: bold;
  font-family: "Gupter", serif;
  font-weight: 100;
  font-style: normal; 
}
.company-details p{
  margin:0;
  padding:0;
}

.thankyou h1{
  font-family: "Grey Qo", cursive;
  font-weight: 500;
  font-style: normal;
  font-size: 2rem;  
  margin-top: 0%;
  padding-top: 0%;
  color:#3a3126;
  margin-left: 0%;
 
}

.discount{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
#discountInput{
  width: 50px;
}

input[type="text"],
input[type="number"] {
  
  width: 95%;
  padding: 0;
  margin:0;
  margin-bottom: 1px;
  font-size: 1rem;
  border: none;
  background-color: transparent;
  font-family: "Gupter", serif;
  font-weight: 100;
  font-style: normal;
  text-align: left;
  transition: border 0.3s;
  outline: none; 

}
#clientName{
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
 font-size: 1.5rem;
}

#clientAddress,#clientContacts{
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
 font-size: 0.7rem;
  
}

input[type="text"]:hover,
input[type="number"]:hover,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="text"]:active,
input[type="number"]:active {
  border: 1px solid #3a3126;
}
button {
  display: block;
 margin-top: 5px;
 margin-bottom: 3px;
  padding: 5px 15px;
  background-color: #3a3126;
  color: #e5dfda;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

button:hover {
  background-color: #ccc7bd;
  color:#3a3126;
  border: 1px solid #3a3126;
  font-weight: 400;
}


/* Hide elements with the 'no-print' class when printing */

@media print {
  .no-print {
    display: none;
  }

  body, #invoice {
    -webkit-print-color-adjust: exact; /* Chrome, Safari */
    print-color-adjust: exact; /* Firefox */
    background-color: #e3e0da !important; /* Use your background image */
    /* background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important; */
  }

  .invoice-items .headers th {
    background-color: #3a3126 !important; /* Ensure table header background color prints */
    color: #ddd !important; /* Ensure text color prints */
  }

  .invoice-items tbody tr{
    border-bottom: 1px solid #b5bdac !important;
  } 
  
  .clientAddress,.clientContacts{
  font-weight: 200 !important;
  color: #FFFFFF !important;
  }
 
}
