/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 9 nov 2025, 20:38:08
    Author     : aleja
*/
*{
    box-sizing: border-box;
    margin: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background: lightslategray;
}

header{
    background: lightpink;
    width: 100%;height: 150px;                 /* puedes ajustar la altura */
    display: flex;                 /* activa flexbox */
    flex-direction: column;        /* los elementos uno debajo del otro */
    justify-content: center;       /* centra verticalmente */
    align-items: center;           /* centra horizontalmente */
    text-align: center;
}

header h1{
    margin-bottom: 10px;
    font-family: "Playfair Display", serif;
    font-size: 2.0rem;
}

main {
    text-align: center;
    flex: 1; /* empuja el footer abajo */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 70vh;
}

h3{
    display: inline-block;
    text-align: center;
    margin: 10px;
    width: 30%;
}

.formulario {
    border:2px solid lightpink;
    border-radius:12px;
    padding:24px;
    background:#fff;
    width:100%;
    max-width:760px;
    margin: 20px auto;
    box-shadow:0 6px 20px rgba(0,0,0,0.06);
}
.formulario h2{
    margin-bottom: 15px;
}

/* FORMULARIO: label e input en línea */
form{
    display:flex;
    flex-direction:column;
    gap:12px;
}
label{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:16px;
    text-align:left;
    gap:10px;
}
input[type="text"], input[type="date"]{
    flex:1;
    height:36px;
    border:1px solid #cfcfcf;
    border-radius:6px;
    padding:6px 10px;
    background:lightgoldenrodyellow;
    font-size:15px;
}

/* BOTONES centrados y a la misma altura */
.botones{
    display:flex;
    justify-content:center;
    gap:16px;
    margin-top:18px;
}

input[type="submit"], a.cancelar{
    background:#666;
    color:#fff;
    border:none;
    padding:10px 18px;
    border-radius:6px;
    font-size:16px;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:120px;
}

input[type="submit"]:hover, a.cancelar:hover{
    background:#4d4d4d;
    cursor:pointer;
}

table{
    margin: 2rem auto;
    width: 70%;
    border: 2px solid black;
    border-collapse: collapse;
}

th{
    background: lightpink;
    padding: 5px;
    border: 2px solid black;
}

td{
    padding: 5px;
    border: 2px solid black;
    border-collapse: collapse;
    background: white;
}

footer{
    background: lightpink;
    height: 15vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: auto;
}

footer img{
    width: 50px;
    height: 50px;
}


