body.page-gestion-documentacion {
    background: #f3f7f2;
    color: #203024;
}

.gestion-documentacion-overlay {
    padding: 36px 0 64px;
    background:
        radial-gradient(circle at top right, rgba(46, 204, 113, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(244,248,243,0.98));
}

.gestion-documentacion-container {
    max-width: 1220px;
}

.gestion-documentacion-hero {
    display: flex;
    align-items: center;
    min-height: 230px;
    margin-bottom: 30px;
    padding: 44px 46px;
    border-radius: 24px;
    background:
        linear-gradient(110deg, rgba(11, 43, 24, 0.92), rgba(18, 118, 62, 0.76)),
        url('/img/fondo1.jpeg') center/cover no-repeat;
    color: #fff;
    box-shadow: 0 24px 50px rgba(31, 49, 35, 0.16);
}

.gestion-documentacion-hero h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.06;
}

.gestion-documentacion-hero p:last-child {
    margin: 18px 0 0;
    color: rgba(255,255,255,0.9);
    font-size: 18px;
}

.gestion-documentacion-layout {
    display: grid;
    grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.gestion-documentacion-upload {
    position: sticky;
    top: 100px;
}

.gestion-documentacion-field,
.gestion-documentacion-file {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.gestion-documentacion-field span,
.gestion-documentacion-file > span {
    color: #35503d;
    font-size: 13px;
    font-weight: 700;
}

.gestion-documentacion-field input {
    box-sizing: border-box;
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(23, 60, 37, 0.16);
    border-radius: 14px;
    font: inherit;
    outline: none;
}

.gestion-documentacion-field input:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.14);
}

.gestion-documentacion-file {
    padding: 20px;
    border: 1px dashed rgba(23, 60, 37, 0.28);
    border-radius: 18px;
    background: #f7faf7;
    cursor: pointer;
}

.gestion-documentacion-file input {
    width: 100%;
}

.gestion-documentacion-file small,
.gestion-documentacion-help {
    color: #607361;
    font-size: 13px;
}

.gestion-documentacion-help {
    margin: 0;
}

.gestion-documentacion-status {
    min-height: 22px;
    margin: 14px 0;
    color: #607361;
    font-size: 14px;
}

.gestion-documentacion-status.is-error { color: #b42318; }
.gestion-documentacion-status.is-success { color: #168b49; }

.gestion-documentacion-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.gestion-documentacion-item .documentacion-item-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 12px 16px;
    border: 0;
    border-radius: 14px;
    background: #fbe9e7;
    color: #a32b20;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.gestion-documentacion-item .documentacion-item-actions button:hover {
    background: #c7392d;
    color: #fff;
}

@media (max-width: 900px) {
    .gestion-documentacion-layout {
        grid-template-columns: 1fr;
    }

    .gestion-documentacion-upload {
        position: static;
    }
}

@media (max-width: 600px) {
    .gestion-documentacion-overlay {
        padding-top: 24px;
    }

    .gestion-documentacion-hero {
        min-height: 190px;
        padding: 34px 24px;
        border-radius: 20px;
    }
}
