/* ISWPuertas Main Styles v1.0 */
:root {
    --iswp-primary: #8E44AD;
    --iswp-primary-dark: #6C3483;
    --iswp-primary-light: #BB8FCE;
    --iswp-bg-dark: #2C1445;
    --iswp-ot: #fd7e14;
    --iswp-pre: #3498db;
    --iswp-med: #1abc9c;
    --iswp-st: #e67e22;
    --iswp-pro: #27ae60;
    --iswp-fac: #e74c3c;
    --iswp-ctr: #9b59b6;
    --iswp-activo: #8E44AD;
}
* { box-sizing: border-box; border-radius: 0 !important; }
body.iswpuertas { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 13px; }

.isw-topbar { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; color: #fff; }
.isw-topbar-title { font-size: 16px; font-weight: 700; }
.isw-topbar-entity { font-size: 14px; opacity: 0.9; }
.isw-topbar-user { font-size: 13px; opacity: 0.8; }

.isw-btn { padding: 6px 14px; border: none; cursor: pointer; font-size: 13px; font-weight: 600; }
.isw-btn-primary { background: var(--iswp-primary); color: #fff; }
.isw-btn-primary:hover { background: var(--iswp-primary-dark); }
.isw-btn-close { background: none; border: none; font-size: 20px; cursor: pointer; color: #666; }

.isw-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 9000; }
.isw-modal { position: fixed; top: 2vh; left: 1vw; width: 98vw; height: 96vh; background: #fff; z-index: 9001; overflow: auto; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
