/* Estilos generales */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

h1 {
    color: #444;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Estilos para formularios */
label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 15px;
    resize: none;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background-color: #45a049;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    background-color: #f9f9f9;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ddd;
}

li strong {
    font-size: 1.1rem;
    color: #333;
}

/* Estilos para los botones de aprobación/rechazo */
form button {
    padding: 8px 12px;
    font-size: 0.9rem;
    margin-left: 10px;
}

form button:first-of-type {
    background-color: #4CAF50;
}

form button:first-of-type:hover {
    background-color: #45a049;
}

form button:last-of-type {
    background-color: #f44336;
}

form button:last-of-type:hover {
    background-color: #e53935;
}

/* Estilos para las pestañas */
.tab {
    display: flex;
    justify-content: center;
    gap: 20px; /* Espaciado entre las pestañas */
    background-color: #f1f1f1;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    width: 100%;
}

.tab button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 14px 20px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
    border-radius: 5px 5px 0 0;
}

.tab button:hover {
    background-color: #45a049;
}

.tab button.active {
    background-color: #45a049;
}

.tabcontent {
    display: none;
    padding: 20px;
    background-color: white;
    width: 100%;
    max-width: 600px;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 8px;
}

/* Alinear el contenido centrado */
.tabcontent {
    margin: 0 auto;
    display: block;
    max-width: 600px;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    form, ul {
        padding: 15px;
        max-width: 100%;
    }

    textarea {
        font-size: 0.9rem;
    }

    button {
        width: 100%;
        margin-bottom: 10px;
    }

    li {
        flex-direction: column;
        align-items: flex-start;
    }

    form button {
        width: auto;
    }

    .tab {
        flex-direction: column;
    }

    .tab button {
        width: 100%;
        margin-bottom: 10px;
    }
}
