/* Base Reset */

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}


/* Layout General */

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
}

.sidebar {
    flex: 1 1 250px;
    max-width: 250px;
    background: #f8f8f8;
    padding: 1rem;
    border-right: 1px solid #ddd;
}

.content {
    flex: 3 1 0;
    padding: 1rem;
}


/* Responsive */

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .sidebar {
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    .content {
        max-width: 100%;
    }
}


/* Estilos adicionales */

table.vertical-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

table.vertical-table th,
table.vertical-table td {
    padding: 8px;
    border-bottom: 1px solid #ccc;
    text-align: left;
}

fieldset {
    border: 1px solid #ccc;
    padding: 1rem;
    margin-bottom: 1rem;
}

legend {
    font-weight: bold;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 1rem;
}

button,
input[type="submit"] {
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
    background-color: #0056b3;
}