/* Reset básico */
* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* Body con fondo claro, centrado y suave degradado */
 body.login-page {
    background-color: #121212;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(fotogam.webp);
    background-position: center;
    background-size: cover;
}

/* Contenedor principal del login */
 .container-page {
    height: 50vh;
    width: 20vw;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    transition: all 0.8s;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid white;
    backdrop-filter: blur(10px);
}

/* Contenedor interno del login */
.login-container {
     width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
}

/* Formulario */
form{
    width: 80%;
    margin: auto;
}

/* Contenedor para cada línea de input */
.input-line-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    margin: 1rem 0;
}

/* Etiqueta pequeña para input */
.name-input {
    font-size: 12px;
    margin-bottom: 4px;
}

/* Inputs con línea inferior gris clara */
.input-line {
    width: 100%;
    height: 30px;
    background-color: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #CBCBCB;
    outline: none;
    margin-bottom: 1rem;
    color: white;
}

.button-login {
    width: 100%;
    height: 45px;
    border-radius: 55px;
    background: rgba(255, 255, 255, 0.137);
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}

/* Agrega efecto hover para que se note al pasar el mouse */
.button-login:hover{
    box-shadow: 0px 0px 8px #ffffffa4;
}
/* --- Dejo sin modificar el resto, por ejemplo sidebar y main --- */


/* Estilo general para formularios en paneles admin y capturista */
.panel-page form {
    max-width: 400px;
    margin: 20px auto;
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.panel-page form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.panel-page form input[type="text"],
.panel-page form input[type="password"],
.panel-page form input[type="email"],
.panel-page form input[type="tel"],
.panel-page form select,
.panel-page form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 18px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.panel-page form input[type="text"]:focus,
.panel-page form input[type="password"]:focus,
.panel-page form input[type="email"]:focus,
.panel-page form input[type="tel"]:focus,
.panel-page form select:focus,
.panel-page form textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 6px rgba(0,123,255,0.3);
}

.panel-page form button,
.panel-page form input[type="submit"] {
    width: 100%;
    background-color: #007bff;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.panel-page form button:hover,
.panel-page form input[type="submit"]:hover {
    background-color: #0056b3;
}

.panel-page .form-error {
    color: #d9534f;
    font-size: 13px;
    margin-top: -14px;
    margin-bottom: 12px;
    display: none;
}

@media (max-width: 500px) {
    .panel-page form {
        margin: 15px;
        padding: 20px;
    }
}



#sidebar {
    width: 200px;
    background: #2f3b52;
    padding: 10px;
    height: 100vh;
    box-sizing: border-box;
    float: left;
}

#sidebar ul {
    list-style: none;
    padding-left: 0;
}

#sidebar ul li {
    margin-bottom: 10px;
}

#sidebar ul li a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

#sidebar ul li a:hover {
    text-decoration: underline;
}


main {
    margin-left: 220px;
    min-height: 400px; /* o más */
    padding: 20px;
    overflow: auto;
}