* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(180deg, #eef4ff, #f8fafc);
    color: #1f2937;
}


section {
    width: 90%;
    max-width: 950px;
    margin: 25px auto;
    background: white;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

h1 {
    text-align: center;
    background: linear-gradient(90deg, #3b0b89, #8b5cf6);
    color: white;
    padding: 28px;
    margin: 0;
    font-size: 32px;
}

h2 {
    color: #3b0b89;
    margin-top: 0;
    border-bottom: 1px solid #d8ccf7;
    padding-bottom: 12px;
}

button {
    background: #7c3aed;
    color: white;
    border: none;
    padding: 10px 16px;
    margin: 6px 6px 6px 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

button:hover {
    background: #6d28d9;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    padding: 11px;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 20px;
}

textarea {
    min-height: 100px;
    resize: vertical;
}


#btnIrRegistro,
#btnVolverLogin,
[id*="Volver"],
[id*="CerrarSesion"] {
    background: #6b7280;
}

#btnIrRegistro:hover,
#btnVolverLogin:hover,
[id*="Volver"]:hover,
[id*="CerrarSesion"]:hover {
    background: #4b5563;
}

/* TABLA */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px;
    font-size: 14px;
}

th {
    background: #f1f5f9;
    color: #0f172a;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #dbe4f0;
}

td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

tr:hover {
    background: #f8fafc;
}

/* Botones dentro de la tabla */
td button {
    margin: 3px;
    padding: 8px 12px;
    display: inline-block;
}

td:last-child {
    white-space: nowrap;
}

/* Botón cerrar oferta en rojo si querés */
.btnCerrarOferta {
    background: #dc2626;
}

.btnCerrarOferta:hover {
    background: #b91c1c;
}

p {
    margin-top: 15px;
    font-weight: bold;
    color: #0057c2;
}

.oferta,
.postulacion,
.card {
    background: #f8fafc;
    border: 1px solid #d9e1ec;
    border-left: 5px solid #0057c2;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 700px) {
    section {
        width: 95%;
        padding: 18px;
    }

    table {
        font-size: 12px;
    }

    th,
    td {
        padding: 8px;
    }

    button {
        width: 100%;
    }

    td button {
        width: auto;
    }
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.menu-nav a {
    background: #7c3aed;
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
}

.menu-nav a:hover {
    background: #6d28d9;
}

#btnCerrarSesionAdmin,
#btnCerrarSesionPostulante {
    background: #6b7280;
}

#btnCerrarSesionAdmin:hover,
#btnCerrarSesionPostulante:hover {
    background: #4b5563;
}

.navbar {
    background: #3b0b89;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 15px 20px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar a:hover {
    text-decoration: underline;
}

.navbar {
    margin: 0;
}

#btnCerrarSesionAdmin,
#btnCerrarSesionPostulante {
    background: #dc2626;
    padding: 8px 14px;
    border-radius: 6px;
}

#btnCerrarSesionAdmin:hover,
#btnCerrarSesionPostulante:hover {
    background: #b91c1c;
    text-decoration: none;
}

.infoMenu{
    margin-right: 25px;
    min-width: 140px;
    text-align: center;
}

.infoMenu h3{
    margin: 0;
    color: white;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

.infoMenu p{
    margin: 2px 0 0 0;
    color: #d8c5ff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}