:root {
    --color-primary: #1e7f87;
    --color-secondary: #612b22;
    --color-tertiary: #e4e4ec;
    --color-create: #87ceeb;
    --color-orange: #ff6f61;
    --color-validate: #87d769;
}

body {
    background-color: #f9f9fb;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 🎯 Titre */
.title-register {
    text-align: center;
    margin: 30px 0 20px;
    font-size: 2em;
    color: var(--color-primary);
}

/* 📦 Container */
.container-form-register {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

/* 🧾 Contenu du formulaire */
.content-form-register {
    background-color: white;
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    padding: 40px 50px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}

/* 🏷️ Labels */
label {
    font-weight: bold;
    color: var(--color-secondary);
    display: block;
    margin-top: 15px;
}

/* ✍️ Inputs */
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border 0.3s, box-shadow 0.3s;
    font-size: 0.9rem;
}

input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 5px var(--color-create);
    outline: none;
}

/* ✅ Bouton submit */
button[type="submit"] {
    margin-top: 25px;
    width: 100%;
    background-color: var(--color-validate);
    color: white;
    font-weight: bold;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #6ebf59;
}

/* 🔁 Lien retour login */
.link-return {
    text-align: center;
    margin-top: 25px;
}

.link-return a {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.link-return a:hover {
    color: #cc5a50;
}
.password-help {
    background-color: rgb(239, 86, 86);
    border-radius: 10px;
    padding: 10px 5px;
    margin: 10px 0px;
    text-align: center;
    color: white;
    font-size: 0,5rem;
    font-style: italic;
    font-size: 0.8rem;
}
