/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Estilo general del cuerpo */
body {
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    min-height: 100vh;
    padding-top: 0;
}

/* Navbar */
.navbar {
    width: 100%;
    height: 60px;
    background: #0B4C66;
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    margin: 0 10px;
}

.navbar a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Contenedor del formulario */
.form-container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    width: 100%;
    text-align: center;
    margin-top: 80px;
}

/* Títulos */
h2 {
    color: #0B4C66;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Campos de formulario */
label {
    font-size: 1.1rem;
    color: #2C3E50;
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
select {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 15px;
    border: 1px solid #BDC3C7;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    background-color: #ECF0F1;
    transition: all 0.3s ease;
}

input:focus,
select:focus {
    outline: none;
    border-color: #0B4C66;
}

/* Botones */
.btn, .btn2 {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn {
    background-color: #0B4C66;
}

.btn2 {
    background-color: #0B4C66;
}

.btn:hover,
.btn2:hover {
    background-color: #083d52;
    transform: scale(1.05);
}

.btn-danger {
    background-color: #dc3545;
}

/* Tablas */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #0B4C66;
    color: white;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

/* Media queries */
@media screen and (max-width: 768px) {
    table, table th, table td {
        font-size: 12px;
        padding: 8px;
    }

    .form-container {
        padding: 15px;
    }
}

