html{
    background-color: #11111B;
    color: #CDD6F4;
    font-family: Montserrat;
    margin: 0;
    padding: 0;
}

body{
    background-color: #11111B;
    width: 80%;
    margin: auto;
}

.vertical-flex{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.horizontal-flex{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 0;
    padding: 0;
}
.nav-link {
    color: #CDD6F4;
    font-weight: 600;
    font-size: 1rem;
    height: 3rem;
    padding:0 2rem ;
    background-color: #3664ca ;
    border-radius: 10px;
    border: 0px ;
    align-items: center;
    margin: 0 0.5rem;
    justify-content: center;
}
.button-icon
{
    width: 25px;
    height: 25px;
}

/* Change the link color to #111 (black) on hover */
.nav-link:hover {
  background-color: #89b4fa;
}
.pastille{
background-color: #CDD6F4 ;
border-radius: 50px;
width: 25px;
height: 25px;
color: #11111B;
}

.footer-link{
    text-decoration: none;
    color: #CDD6F4;
    font-weight: bold;
}
a{
    text-decoration: none;
}
a:hover{
    color: #89b4fa;
}

.search-form{
    display: flex;
    justify-content: left;
    flex-direction: row;
    align-items: center;
    margin: 2rem;

}
.search-bar{
    width: 20rem;
    height: 3rem;
    border-radius: 10px;
    border: 0px;
    padding: 0 1rem;
    font-size: 1rem;
    margin-right: 2rem;

}
.search-button{
    height: 3rem;
    border-radius: 10px;
    border: 0px;
    padding: 0 1rem;
    font-size: 1rem;
    background-color: #3664ca;
    color: #CDD6F4;
}
.search-button:hover{
    background-color: #89b4fa;
}

.categories-form   {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-direction: row;
    align-items: left;
}
.categories-list{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
    align-items: center;
    width: auto;
}

.categorie{
    width: 10rem;
    margin: 1rem 2rem;
}


.product-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 20px;
        }

.product-card {
    width: 300px;
    height: auto;
    background: #1E1E2E;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.product-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.product-description {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}
.product-prix {
    color: #3664ca;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 10px 10px;
}
.product-categorie {
    margin: 10px 10px;
    color: #1E1E2E;
    background-color: #CDD6F4;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1rem;
}
.add-to-cart {
    display: inline-block;
    padding: 10px 15px;
    background: #3664ca;
    color: #CDD6F4;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}
 h1{
    font-size: 2.5rem;
    font-weight: bold;
    margin: 2rem;}
 /* Style for the table */
 table {
    width: 100%;
    border-collapse: separate; /* Ensures that spacing works */
    border-spacing: 0 1rem; /* Set horizontal and vertical spacing (10px between rows) */
    border-radius: 10px;
}


/* Table header style */
th {
    padding: 12px 15px;
    text-align: center;
    background-color: #CDD6F4; /* Light gray background for headers */
    color: #1E1E2E;
    width: 5rem;
}

/* Table cell style */
td {
   
    text-align: center ; /* Align text to the right */
}

/* Add space between columns */
th, td {
    padding-left: 10px; 
    padding-right: 10px;
}

button{
cursor: pointer;

}

.quantity-button{
    background-color: #3664ca;
    color: #CDD6F4;
    border: 0px;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
}
.quantity-button:hover{
    background-color: #89b4fa;
    color: #1E1E2E;
}
.styled-number-input {
    width: 100px;            /* Set the width of the number input */
    height: 40px;            /* Set the height of the number input */
    padding: 5px;            /* Add some padding */
    font-size: 16px;         /* Set font size */
    border: 2px solid #007bff; /* Set the border */
    border-radius: 5px;      /* Rounded corners */
    text-align: center;      /* Center the number */
}

.client-info{
    width: auto;
    background-color: #1E1E2E;
    border-radius: 15px;
    margin-bottom: 2rem;
}
.client-info-row{
    margin: 1rem 5rem 1rem 5rem;
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
 
}
.client-info-label{
    font-size: 1.2rem;
    font-weight: bold;
    margin: 1rem;
}
.client-info-value{
    background-color: #CDD6F4;
    color:#11111B;
    border-radius: 15px;
    padding: 0.5rem 2rem;
}


        .form-group {
            width: 100%;
            max-width: 600px;
        }

        .form-row {
            display: flex;
            flex-direction: row;
            align-items: flex-start;
            margin-bottom: 15px;
        }

        label {
            flex: 0 0 150px;
            text-align: right;
            margin-right: 10px;
            line-height: 1.5;
        }

        input[type="text"],
        input[type="email"],
        input[type="password"],
        input[type="tel"],
        select {
            width: 100%;
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 8px;
            box-sizing: border-box;
        }

        .field-container {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .password-row {
            display: flex;
            align-items: flex-start;
        }

        .password-fields {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .password-fields input[type="password"] {
            margin-bottom: 10px;
        }

        .form-row-button {
            display: flex;
            justify-content: flex-end;
        }

        .btn {
            padding: 10px 20px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
        }

        .btn-primary {
            background-color: #007bff;
            color: white;
        }

        .btn-primary:hover {
            background-color: #0056b3;
        }

        .flash {
            width: 100%;
            padding: 1rem 0; 
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 2rem 0;
        
            font-weight: bold;
            border-radius: 15px;
        }
        .flash-welcome {
             background-color: #CDD6F4;
            color: #1E1E2E;
        }
        .flash-goodbye {
             background-color: #ff7d7d;
            color: #1E1E2E;
        }
        .flash-error {
             background-color: #ff7d7d;
            color: #1E1E2E;
        }
        .catalogue-content {
            padding: 20px;
        }
        .form-container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 600px;
        }
        .form-error {
            color: red;
            font-weight: bold;
            margin-bottom: 10px;
        }
        .errors { color: red; list-style: none; margin-top: 5px; display: block !important; }

.carteCommande{
    width: 60%;
    background-color: #CDD6F4;
    color: #1E1E2E;
    border-radius: 15px;
    margin-bottom: 2rem;
    padding: 2rem;
}