* {
    box-sizing: border-box; /* Esto evita que los inputs se salgan de la pantalla en móvil */
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6fb;
}

header {
    background: #2c7be5;
    color: white;
    padding: 14px;
    font-size: 18px;
    text-align: center;
}

#menu {
    background: white;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

#menu button {
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

.card {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

button {
    background: #2c7be5;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #1a5ab5;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

td, th {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f4f6fb;
}

#dashboard {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.estadoBox {
    background: #eef2ff;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    flex: 1;
    min-width: 120px;
}

.estadoBox span {
    display: block;
    font-size: 24px;
    color: #2c7be5;
}