.talleres-page,
.admin-talleres {
    max-width: 980px;
    margin: 2rem auto 3rem;
    padding: 0 1rem;
}

.talleres-page h1,
.admin-talleres h1 {
    color: var(--primary-color);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 0.4rem;
}

.talleres-lead {
    color: var(--text-muted);
    margin-bottom: 1.4rem;
}

.taller-lista,
.admin-lista {
    display: grid;
    gap: 1rem;
}

.taller-card,
.admin-card,
.taller-form {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.1rem 1.15rem 1.2rem;
}

.taller-card h2,
.admin-card h2,
.taller-form h2 {
    margin: 0 0 0.35rem;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.taller-card p,
.admin-card p {
    margin: 0.2rem 0;
    color: var(--text-muted);
}

.taller-form {
    margin-bottom: 1.4rem;
    border-top: 4px solid var(--primary-color);
}

.taller-form label {
    display: block;
    margin: 0.75rem 0 0.3rem;
    font-weight: 700;
}

.taller-form input,
.taller-form textarea,
.inscripcion-form input {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font: inherit;
}

.taller-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.btn-guinda,
.btn-cerrar {
    margin-top: 0.9rem;
    border: 0;
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.btn-guinda {
    background: var(--primary-color);
    color: #fff;
}

.btn-cerrar {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.inscripcion-form {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.cupo-lleno {
    margin-top: 0.8rem;
    font-weight: 700;
    color: #854d0e;
}

.inscritos {
    width: 100%;
    margin-top: 0.8rem;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.inscritos th,
.inscritos td {
    text-align: left;
    padding: 0.45rem 0.35rem;
    border-bottom: 1px solid var(--border-color);
    overflow-wrap: anywhere;
}

.estado-cerrado {
    display: inline-block;
    margin-left: 0.4rem;
    font-size: 0.75rem;
    color: #721c24;
}

@media (max-width: 700px) {
    .taller-grid {
        grid-template-columns: 1fr;
    }

    .talleres-page,
    .admin-talleres {
        margin-top: 1rem;
    }
}
