/* basic */
body {
    background-color: #f8f9fa;
    font-family: 'Arial', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
header {
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    right: 0;
    height: 60px;
    justify-content: center;
    display: flex;
    align-items: center;
    border-bottom: 1px solid black;
}
footer {
    height: 60px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    background: dimgray;
    color: white;
    width: 100%;
    font-size: 14px;
    color: #fff;
    position: fixed;
    bottom: 0px;
}

#main {
    height: 100%;
    margin: 100px 0;
}
#navigation > a {
    padding: 0 30px;
    color: black;
    text-transform: uppercase;
}
.container {
    max-width: 600px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
@media (max-width: 576px) {
    .container {
        margin-top: 20px;
        padding: 10px;
    }
}

h1 {
    margin-bottom: 20px;
    color: #fff;
}
h2 {
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.form-control {
    border-radius: 5px;
    border-color: #ced4da;
}
.form-group label {
    color: #333;
    font-weight: bold;
}
label {
    margin-top: 10px;
    color: #fff;
}

footer a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
footer a:hover {
    text-decoration: underline;
}

:disabled {
    background: gray !important;
}
/*
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 5px;
    width: 100%;
    margin-top: 20px;
    transition: background 0.3s;
}
.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}
.btn-primary:focus {
    box-shadow: none;
    outline: none;
}
.btn-primary:active {
    background-color: #0056b3;
    border-color: #0056b3;
}
.btn-primary:disabled {
    background-color: #b3d7ff;
    border-color: #b3d7ff;
}
*/

.powered-by {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #6c757d;
}
.powered-by a {
    color: #6c757d;
    text-decoration: none;
}
.powered-by a:hover {
    text-decoration: underline;
}

.error-message {
    color: #dc3545;
    margin-top: 10px;
}
.logo {
    width: 150px;
    margin-right: 30px;
}


/* login page */
body.page-login #main .container {
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 400px;
}

/* process page */
body.tools_area #main .container {
    background: linear-gradient(45deg, #2980b9, #2c3e50, #16a085, #27ae60);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Ombra leggera */
}
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

body.tools_area #main p, body.page-main #main label {
    color: white;
}
body.tools_area #main .form-control {
    background: rgba(255, 255, 255, 0.8); /* Colore di sfondo del campo di input con opacità */
    color: #333; /* Colore del testo del campo di input */
    border: none;
}
body.tools_area #main .form-control::placeholder {
    color: #777; /* Colore del placeholder */
}
.new-floating-button {
    position: relative;
    width: 38px;
    float: right;
    border-radius: 50%;
    margin-top: -8px;
}
.edit_plate {
    margin: 3px;
    border-radius: 20px;
}
div#loader_data {
    padding: 15px;
    font-size: 12px;
    color: white;
}

/* register page */
body.page-register #main .container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 400px;
}
