
.mot_de_pass_oublie {
    width: 80% !important;
    padding: 0.7em;
    background: #d05656 !important;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1em;
}

.form-container {
    max-width: 80%;
    margin: 3em auto;
    padding: 2em;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
}
.form-container.reduit {
    min-width: fit-content;
    width:20%;
}


.form-container h1 {
    text-align: center;
}

.form-container input {
    width: 100%;
    padding: 0.7em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.form-container button {
    width: 100%;
    padding: 0.7em;
    background: #569ed0;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1em;
}


.parametre-container{
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}
.carte-parametre{
    border-radius: 10px;
    padding: 15px;
    background-color: #ffffff68;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 1em;
}


.dashboard {
    max-width: 80%;
    margin: 3em auto;
    padding: 2em;
    background: #fafafa;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.dashboard h1 {
    text-align: center;
}

.dashboard-section {
    margin-top: 2em;
}

.commande-box {
    background: #f0f8ff;
    padding: 1em;
    border-radius: 8px;
}

.dashboard-buttons {
    margin-top: 2em;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: flex-start;
}

.dashboard-buttons a {
    padding: 0.8em 1.5em;
    background: #007bff;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.dashboard-buttons a:hover {
    background: #0056b3;
}

.creer_compte{
    color: #007bff;
}



@media (max-width: 700px) {
    .form-container.reduit{
        min-width: unset;
        width:80%;
    }
}


/* Historique de commande */

.historique-container {
    max-width: 900px;
    margin: 3em auto;
    padding: 2em;
    background: #fefefe;
    border: 1px solid #ddd;
    border-radius: 12px;
}

.historique-container h1 {
    text-align: center;
    margin-bottom: 1.5em;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background-color: #f3f3f3;
}

table th, table td {
    padding: 12px;
    border: 1px solid #ccc;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #2e7d32;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

.btn:hover {
    background-color: #256728;
}



/* Détail commande */
.commande-container {
    max-width: 900px;
    margin: 3em auto;
    padding: 2em;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
}

.commande-container h1 {
    margin-bottom: 1em;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}

table th, table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

.btn-retour {
    margin-top: 2em;
    background: #2e7d32 !important;
    color: white !important;
}


/* Connexion */

.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input[type="password"],
.password-container input[type="text"] {
    flex: 1;
    padding-right: 40px;
    box-sizing: border-box;
}

.toggle-password {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    width: unset !important;
    /* height: 100%; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1em;
}

.toggle-password img {
    width: 20px;
    height: 20px;
    opacity: 0.6;
}

.toggle-password:hover img {
    opacity: 1;
}
