/* Debug Panel Styles */
.debug-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2d3748;
    color: #e2e8f0;
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    border-top: 3px solid #4fd1c7;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.debug-panel__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.debug-panel__metrics {
    display: flex;
    gap: 30px;
}

.debug-panel__metric {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.debug-panel__close {
    background: #e53e3e;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 12px;
    transition: background-color 0.2s ease;
}

.debug-panel__close:hover {
    background: #c53030;
}

/* Exception Page Styles */
.exception-container {
    font-family: 'Segoe UI', sans-serif;
    background: #f7fafc;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

.exception-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.exception-header {
    background: #e53e3e;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.exception-details {
    background: #fed7d7;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    border-left: 4px solid #e53e3e;
}

.trace-container {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
}

.exception-pre {
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
}

.file-line {
    color: #2d3748;
    font-weight: bold;
}

/* Hidden utility class */
.hidden {
    display: none !important;
}

/* Visible utility class */
.visible {
    display: block !important;
}
