* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f5f5f5;
    color: #333;
    padding: 20px;
    line-height: 1.5;
}

header {
    background: #2c3e50;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.logo {
    height: 40px;
}

nav div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

button,
input[type="button"] {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 16px;
    cursor: pointer;
}

button:hover,
input[type="button"]:hover {
    opacity: .9;
}

#divRegistro,
#divInicioSesion,
#divCfertaLabroral,
#divRealizarPostulacion,
#divGestionar,
#divGestionAdministradores,
#divPantallaInicioPostulante,
#divOfertasDestacadas,
#divMisPostulaciones,
#divProcesarPostulantes,
#divEstadisticas {
    max-width: 1200px;
    width: 95%;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    overflow-x: auto;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    min-height: 100px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3498db;
}

.mensaje-bandeja {
    margin-top: 15px;
    padding: 12px;
    background: #eef6ff;
    border: 1px solid #bcdcff;
    border-radius: 4px;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.tabla {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
}

.tabla th {
    background: #2c3e50;
    color: white;
    padding: 10px;
    text-align: left;
    white-space: nowrap;
}

.tabla td {
    padding: 10px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.tabla tr:nth-child(even) {
    background: #f8f8f8;
}

.tabla button {
    padding: 6px 10px;
    font-size: 14px;
}

.resumen-estadisticas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.tarjeta-estadistica {
    flex: 1 1 200px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    background: #fafafa;
}

.tarjeta-estadistica h3 {
    font-size: 14px;
    margin-bottom: 8px;
}

.tarjeta-estadistica p {
    font-size: 22px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .tabla {
        min-width: 700px;
    }

    nav {
        flex-direction: column;
        align-items: stretch;
    }

    nav div {
        justify-content: center;
    }
}

button:disabled,
input[type="button"]:disabled {
    background: #aaa;
    cursor: not-allowed;
    opacity: 0.6;
}

.bandeja-destacadas {
    display: none;
    margin-bottom: 12px;
    padding: 10px;
    background: #fdecea;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    color: #721c24;
}

.bandeja-postulante {
    display: none;
    margin-bottom: 12px;
    padding: 10px;
    background: #fdecea;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    color: #721c24;
}

.contenedor-filtros {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filtro-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contenedor-tabla {
    overflow-x: auto;
}

.aviso-nivel {
    color: #c0392b;
    font-size: 13px;
    cursor: pointer;
}