/* Body */

body{
    background-color: #21737C;
    color: black;
    text-align: center;
    font-size : 15px;
    margin: 0;
}

/* Navbar */

#navbar {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    font-size: 15px;
    color: black;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
}

#navbar-items {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-item {
    margin: 0 20px;   
}

.navbar-item a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 25px;
    border-bottom: none;
}

.navbar-item a:hover {
    color: dimgray;
}

#navbar img {
    margin-left:auto;
    margin-right: 20px;
}

#navbar img:hover {
    filter: grayscale(100%);
}

/* CONTAINER */

#container{
    width:400px;
    margin:0 auto;
    margin-top:10%;
    margin-bottom:10%;
    width:50%;
    padding: 30px;
    border: 1px solid #f1f1f1;
    background: #fff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    font-size: 18px;
}

#container pre {
    white-space: pre-wrap;
}

/* Container title */

#container h1{
    width: 50%;
    margin: 0 auto;
    padding-bottom: 40px;
    font-size: 45px;
    text-align: center;
} 

/* General input */

input[type=submit] {
    background-color: #21737C;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: large;
}

input[type=submit]:hover {
    background-color: lightgrey;
    color: black;
}

/* General button */

button[type=submit] {
    background-color: #21737C;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 30%;
    font-size: large;
    margin-right: 20px;
}

button[type=submit]:hover {
    background-color: lightgrey;
    color: black;
}

/* Class form */

.form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    font-size: 19px;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group select {
    flex: 1;
    width: 60%;
    padding: 8px;
    font-size: 17px;
    margin-bottom: 15px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.form-group textarea {
    flex: 1;
    width: 60%;
    padding: 15px;
    font-size: 17px;
    margin-bottom: 15px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Class environment */

.environment {
    align-items: center;
    margin-bottom: 30px;
}

.environment label {
    font-size: 19px; 
    margin-right: 5px; 
}

/* Help button */

.help-button {
    position: absolute;
    top: 60%; /* Diminuer la valeur pour monter le bouton vers le haut */
    right: 21%; /* Diminuer la valeur pour aller vers la droite */
    transform: translateY(-50%);
    border: none;
    background-color: #21737C;
    color: white;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    border-radius: 50%; 
    width: 20px; 
    height: 20px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mandatory field */

.required-label::after {
    content: " *";
    color: red;
}

.form-group input.invalid {
    border: 1px solid red;
}

.error-message {
    display: none;
    position: relative;
    bottom: 50%;
    color: red;
}

/* Terminal */

#terminal {
    width: 90%;
    color: rgb(0, 0, 0);
    background: powderblue(0, 0, 0);
    margin: 0 auto;
    padding: 30px;
}

#data {
    text-align: center;
    font-size: 17px;
}

#terminal:hover{
background: rgba(0, 0, 0, 0.8);
color: rgb(255, 255, 255);
}

/* Button disabled */
#button_validation:disabled {
    background-color: #ccc; /* Button in gray */
    color: #666; /* Text in gray */
    cursor: not-allowed; /* Change cursor */
}

#button_validation:disabled:hover {
    background-color: #ccc; /* Maintain hover in gray color */
    color: #666; /* Maintain text color during hover */
}
