/* Style global */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    backdrop-filter: blur(5px);
    color: #f8f8f2;
}

/* Container de formulaire */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.form-container {
    background-color: rgba(26, 13, 0, 0.85);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px #ff9800;
    width: 100%;
    max-width: 400px;
}

.form-toggle {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.form-toggle button {
    flex: 1;
    margin: 0 5px;
    padding: 10px;
    font-weight: bold;
    background-color: #ff9800;
    border: none;
    color: #1a0d00;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.form-toggle button:hover {
    background-color: #ffa733;
}

.form-box {
    display: none;
}

.form-box.active {
    display: block;
}

input[type="text"], input[type="password"], input[type="email"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
}

button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #ff9800;
    border: none;
    color: #1a0d00;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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