@layer reset, variables, components, utilities;

@import "./reset.css" layer(reset);
@import "./variables.css" layer(variables);
@import "./utilities.css" layer(utilities);

@import "../component/Log/style.css" layer(components);

body {
    background-color: #1c1c1c;
    color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    font-family: "Times New Roman", Times, serif; /* Same typography */
}

.container,
.addMenu {
    background: #262626;
    border-radius: 0.75rem;
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.3);
    padding: 1.25rem;
    width: 90%;
    max-width: 25rem;
    margin: 1.25rem;
    transition: transform 0.2s ease;
}

h1,
h4 {
    text-align: center;
    color: #ff4d4d; /* Changed to red */
    margin-bottom: 1.25rem;
    font-family: "Times New Roman", Times, serif; /* Same typography */
}

form input,
form textarea,
form select {
    width: 100%;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border: 0.0625rem solid #ccc;
    border-radius: 0.375rem;
    box-sizing: border-box;
}

form input[type="button"] {
    background-color: #ff4d4d; /* Changed to red */
    color: #fff;
    border: none;
    padding: 0.875rem 1.25rem;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

form input[type="button"]:hover {
    background-color: #e04343; /* Slightly darker red */
    transform: scale(1.02);
}

.formulaire {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
