/* Reseteo de estilos básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    /*background: linear-gradient(135deg, #6D83F2, #9A68FF);*/
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    color: #333;
}
 .btn {
    padding: 8px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-add {
    background-color: #FA4540;
    color: white;
    margin-bottom: 20px;
}
.btn-add:hover {
    background-color: #c82333;
    cursor: pointer;
}
.logo {
            max-width: 70%; /* Limitar el ancho máximo de la imagen al 70% */
            display: block; /* Convertir la imagen en un bloque */
            margin: 0 auto; /* Centrando la imagen */
        }
.volver{
    width: 30%;
    padding: 15px;
    /*background: linear-gradient(135deg, #6D83F2, #9A68FF);*/
    background-color: #87C687;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background 0.3s ease, transform 0.2s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

#container {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    /*max-width: 500px;*/
    width: 100%;
    animation: fadeIn 0.8s ease-in-out;
}

#container_high {
    display: none;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    /*max-width: 500px;*/
    width: 100%;
    animation: fadeIn 0.8s ease-in-out;
}
#container_not_high {
    display: none;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    /*max-width: 500px;*/
    width: 100%;
    animation: fadeIn 0.8s ease-in-out;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #4A4A4A;
    font-size: 1.8em;
    letter-spacing: 1px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: bold;
    font-size: 1em;
}

input, select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}
input.largo{
    width: 98%;
    margin-left: 0%;
    line-height: 3;
    
}
input.medio, select.medio {
    width: 48%;
    padding: 2%;
    margin-top: 0px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}
textarea{
 border: 1px solid #ccc;
    border-radius: 8px;
}
#line{
    display: inline;
    float: left;
    width: 50%;
    padding: 2%;
    margin-bottom: 20px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}
#line{
    display: inline;
    float: left;
    width: 100%;
    padding: 2%;
    margin-bottom: 20px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}
#linetres{
    display: inline;
    float: left;
    width: 30%;
    padding: 2%;
    margin-bottom: 20px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}
#linedate{
    display: inline;
    float: left;
    width: 50%;
    padding: 1%;
    margin-bottom: 20px;
    font-size: 1em;
    transition: border-color 0.3s ease;
   
}

#fullline{
    display: inline;
    float: left;
    width: 100%;
    padding: 2%;
    margin-bottom: 0px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}
fieldset, legend{
    border-radius: 5px;
    border: none;
    color: grey;
    padding: 5px;
}
input:focus, select:focus {
    border-color: #6D83F2;
    outline: none;
    box-shadow: 0 0 8px rgba(109, 131, 242, 0.3);
}

.boton{
    width:  100%;
    padding: 15px;
    /*background: linear-gradient(135deg, #6D83F2, #9A68FF);*/
    background-color: #FA4540;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background 0.3s ease, transform 0.2s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase
}
button {
    width: 100%;
    padding: 15px;
    /*background: linear-gradient(135deg, #6D83F2, #9A68FF);*/
    background-color: #FA4540;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background 0.3s ease, transform 0.2s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

button:hover {
    /*background: linear-gradient(135deg, #9A68FF, #6D83F2);*/
    background: #F97A77;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 131, 242, 0.3);
}

button:active {
    transform: translateY(0);
    box-shadow: none;
}
    #login{        
            width: 90%;
            margin:0 auto;
            text-align: center;
            margin-bottom: 50px;       
    }
    .login{ 
        border: 2px solid red;
        border-radius:5px;
        padding: 20px;
        margin-top: 50px;
    }
     .rojo{
        font-size: 15px;
        color: red;
        text-align: center;
    }
    .verde{
        font-size: 12px;
        color: green;
        text-align: center;
    }
    
@media (min-width: 900px) {
    .container {
        padding: 20px;
        width:90%;
        margin-left:5%;
    }
    h2 {
        font-size: 1.5em;
    }

    button {
        font-size: 1em;
    }      

     #login{
        width: 50%;
     }
    
}