* {
    font-family: "Roboto", sans-serif;
    padding: 0px;
    margin: 0px;
}

.roboto-font {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
}

.addClient {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #FEFAE0;
    padding: 50px 20px;
}

 .client-form-con {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.client-form-con img {
    width: 50%;
}

.client-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF;
    padding: 50px;
    width: 100%;
}

.client-form form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
}

.addInvoice form label, .client-form label {
    align-self: flex-start;
    font-weight: bold;
    color: #333;
}

.addInvoice form select,  .addInvoice form input, .client-form input,
.client-form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #FFFFFF;
    border: 2px solid #EAEAEA;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease-in-out;
}

.addInvoice form select,  .addInvoice form input, .client-form input:focus,
.client-form textarea:focus {
    border-color: #FFCF50;
}

#note {
    min-height: 100px;
    resize: vertical;
}

.addInvoice form button, .client-form form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    background-color: #FFCF50;
    border: none;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    margin-top: 25px;
    transition: background-color 0.3s ease-in-out, transform 0.1s ease-in-out;
}

.addInvoice form button:hover, .client-form form button:hover {
    background-color: #e6b948;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .client-form-con {
        flex-direction: column;
        width: 100%;
        margin-top: 0;
        border-radius: 0;
        align-items: center;
        justify-content: center;
    }

    .client-form-con img {
        width: 100%;
    }

    .addClient {
        padding: 20px 0px;
    }

    .client-form {
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .client-form form {
        width: 100%;
        padding: 0;
        justify-content: center;
        align-items: center;
    }

    .client-form input,
    #note {
        width: 95%;
        min-width: unset;
    }

    .client-form form button {
        width: 100%;
    }
}


.clients {
    background-color: #FFCF50;
    padding: 20px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.clients h2 {
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

.invoices table, .clients table {
    width: 60%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #FFFFFF; 
}
.invoices table th, .invoices table td, .clients table th, .clients table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #EAEAEA;
    white-space: normal;
    max-width: 150px; 
    overflow: hidden; 
    text-overflow: ellipsis;
}

.invoices table th, .clients table th {
    background-color: #f9d87d;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
}

.invoices tr:nth-child(even), .clients tr:nth-child(even) {
    background-color: #FEFAE0;
}

.invoices tr:nth-child(odd) , .clients tr:nth-child(odd) {
    background-color: #fcf5c8;
}

.invoices tr:hover, .clients tr:hover {
    background-color: #FFE8B3;
}

.invoices button, .clients button {
    background-color: #FFCF50;
    border: none;
    color: #333;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
  
    transition: background-color 0.3s ease;
}

.clients button:hover {
    background-color: #e6b948;
}
.note{
    width: max-content;
}

@media (max-width: 768px) {
    .invoices table, .clients table {
        width: 100%;
        display: block;
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */
    }

    .invoices th, .invoices td, .clients th, .clients td {
        white-space: nowrap;
        max-width: 150px;
    }
    .clients button{
        margin-top: 7px;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
}

.modal h2 {
    margin-top: 0;
}

.modal input,
.modal textarea {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.modal button {
      background-color: #FFCF50;
    border: none;
    color: #333;
    padding: 8px 12px;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal button:hover {
    background-color: #e6b948;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.invoiceMgnt {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #FFCF50;
    padding: 50px 20px;
}
.addInvoice{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 70px;
    width: 50%;
    background-color: #FEFAE0;
}
.addInvoice form{
    display: flex;
    justify-content: center;
    align-items:center;
    width: 100%;
    flex-direction: column;
    padding-top: 30px;
    gap: 20px;
}


@media (max-width: 768px){
     .addInvoice{
        width: 90%;
        margin-top: 10px;
        padding: 40px;
     }
}

.invoices{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 50px;
    background-color: #fcf5c8;
}
.summary{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
   gap: 50px;
    padding: 50px 20px;
}
.summary-con{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
       gap: 30px;
}

.summary-con div{
    padding: 50px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;   
    flex-direction: column; 
    cursor: pointer;
}
.summary-con div .inner-con{
    background-color: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    border-radius: 50%;
}

.totalClients{
    background-color: #333;
    color: #ffff;
        border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);

}
.totalInovices{
    background-color: #fFff;
        border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);

}
.inovicesValues{
    background-color: #FFCF50;
    color: #ffff;
        border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);

}
.chart{
    display: flex;
    justify-content: center;
    align-items: center;
}
#invoiceStatus{
   max-width: 700px;
   max-height: 700px;
}
.quote-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.quotes {
  position: relative;
  max-width: 700px; 
  padding: 60px; 
  border-radius: 20px; 
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: transform 0.3s ease-in-out;
  margin-top: 50px;
}


.quotes:hover {
  transform: translateY(-5px);
}


.quotes::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 207, 80, 0.8), rgba(254, 250, 224, 0.8));
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
  z-index: 0;
  opacity: 0.8;
}

#quote {
  font-family: "Roboto", sans-serif;
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 300;
  color: #333;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 2; 
}

#author {
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #555;
  margin-top: 10px;
  align-self: flex-end;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .quotes {
    padding: 40px 25px;
    max-width: 90%;
  }
  #quote {
    font-size: 1.3rem;
  }
  #author {
    font-size: 0.9rem;
  }
}