/* ðŸ”’ AISLAMIENTO TOTAL REAL (SIN romper el DOM) */
.prw {
    all: revert;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* CONTENEDOR */
.prw {
    max-width: 550px;
    margin: 40px auto;
    padding: 20px;
}

.prw-container {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* SECCIONES */
.prw-section {
    margin-bottom: 25px;
}

.prw-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

/* GRID */
.prw-row {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.prw-row.single {
    grid-template-columns: 1fr;
}

/* INPUTS */
.prw input,
.prw select,
.prw textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #dbe2ea;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

/* FORZAR NICEPAGE */
.prw input,
.prw select,
.prw textarea {
    display: block !important;
    width: 100% !important;
}

/* TEXTAREA */
.prw textarea {
    min-height: 90px;
}

/* BOTÃ“N */
.prw-btn {
    width: 100%;
    padding: 14px;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.prw-btn:hover {
    background: #4338ca;
}

/* ALERTAS */
.prw-alert {
    display: none;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-size: 14px;
}

.prw-alert.show {
    display: block;
}

.prw-success {
    background: #dcfce7;
}

.prw-error {
    background: #fee2e2;
}

/* RESPONSIVE */
@media (max-width:640px){
    .prw-row {
        grid-template-columns:1fr;
    }
}