/* Fudeat Console Boot Guard — estilos sin inline style (CSP-compatible) */
.fudeat-boot-error-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: #f9fafb;
    color: #111827;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

body[data-theme="dark"] .fudeat-boot-error-overlay {
    background-color: #111827;
    color: #f9fafb;
}

.fudeat-boot-error-card {
    max-width: 34rem;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.75rem;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.06);
    text-align: left;
}

body[data-theme="dark"] .fudeat-boot-error-card {
    background-color: #1f2937;
    border-color: #374151;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
}

.fudeat-boot-error-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.fudeat-boot-error-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background-color: #fee2e2;
    color: #dc2626;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

body[data-theme="dark"] .fudeat-boot-error-badge {
    background-color: #7f1d1d;
    color: #fecaca;
}

.fudeat-boot-error-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
}

.fudeat-boot-error-desc {
    margin: 0 0 1.25rem 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #4b5563;
}

body[data-theme="dark"] .fudeat-boot-error-desc {
    color: #d1d5db;
}

.fudeat-boot-error-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.fudeat-boot-error-retry-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    color: #ffffff;
    background-color: #2563eb;
    border: 1px solid #1d4ed8;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 150ms ease;
}

.fudeat-boot-error-retry-btn:hover {
    background-color: #1d4ed8;
}

.fudeat-boot-error-retry-btn:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.fudeat-boot-error-details {
    margin-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

body[data-theme="dark"] .fudeat-boot-error-details {
    border-top-color: #374151;
    color: #9ca3af;
}

.fudeat-boot-error-summary {
    cursor: pointer;
    font-weight: 600;
    user-select: none;
}

.fudeat-boot-error-log {
    margin: 0.625rem 0 0 0;
    padding: 0.75rem;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #1f2937;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 12rem;
    overflow-y: auto;
}

body[data-theme="dark"] .fudeat-boot-error-log {
    background-color: #111827;
    border-color: #374151;
    color: #e5e7eb;
}
