/* Ajustes propios de la implementación .NET sobre el diseño del mockup. */

.nav {
    text-decoration: none;
}

.avatar-ee {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #dbeafe;
    color: #0f62fe;
    font-weight: 950;
    font-size: 18px;
    flex: 0 0 auto;
}

.alert-ee {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 16px;
    font-weight: 800;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.alert-ee.alert-warn {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.alert-ee.alert-error {
    border-color: #fecdd3;
    background: #fff1f2;
    color: #b91c1c;
}

.alert-ee button {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.login-error-ee {
    border-radius: 12px;
    padding: 10px 12px;
    margin: 10px 0;
    background: rgba(239, 68, 68, .14);
    border: 1px solid rgba(239, 68, 68, .4);
    color: #fecaca;
    font-size: 13px;
    font-weight: 800;
}

.card-empresario-v24 .login-error-ee {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #b91c1c;
}

/* Modales genéricos reutilizados por los módulos (arquitectura, roadmap, críticos, simulador). */
.modal-ee {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(7, 27, 51, .48);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-ee.active {
    display: flex;
}

.modal-ee-card {
    width: min(720px, 96vw);
    max-height: 92vh;
    overflow: auto;
    background: #fff;
    border: 1px solid #dbe7f3;
    border-radius: 26px;
    box-shadow: 0 30px 90px rgba(7, 27, 51, .28);
    padding: 26px;
}

.modal-ee-card h3 {
    margin: 0 0 16px;
    color: #071b33;
    font-size: 24px;
}

.modal-ee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.modal-ee-grid .full {
    grid-column: 1 / -1;
}

.modal-ee-grid label {
    display: block;
    font-size: 12px;
    font-weight: 900;
    color: #475569;
    margin-bottom: 6px;
}

.modal-ee-grid input,
.modal-ee-grid select,
.modal-ee-grid textarea {
    width: 100%;
    border: 1px solid #d9e4ef;
    border-radius: 13px;
    background: #fbfdff;
    padding: 11px;
    color: #0f172a;
}

.modal-ee-grid textarea {
    min-height: 110px;
    resize: vertical;
}

.modal-ee-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.modal-ee-actions button {
    border: 0;
    border-radius: 14px;
    padding: 12px 20px;
    font-weight: 950;
    cursor: pointer;
    background: #eef6ff;
    color: #0f62fe;
}

.modal-ee-actions button.primary {
    background: #0f62fe;
    color: #fff;
}

.vacio-ee {
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 34px;
    text-align: center;
    color: #64748b;
    font-weight: 850;
    background: #f8fbff;
}

.filtro-form-ee {
    display: contents;
}

@media print {
    .side,
    .top-actions,
    .alert-ee,
    .modal-ee {
        display: none !important;
    }

    .app {
        grid-template-columns: 1fr;
    }
}
