* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.6;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.container , header{
    width: 80%;
}

.header {
    background: linear-gradient(135deg, #c94b4b 0%, #4b134f 100%);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.error-type {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: 0.25rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.timestamp {
    opacity: 0.8;
    font-size: 0.9rem;
}

.section {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #c94b4b;
}

.section h2 {
    color: #ff6b6b;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section h3 {
    color: #ffa94d;
    margin: 1rem 0 0.5rem 0;
    font-size: 1.2rem;
}

.message-box {
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 0.25rem;
    border-left: 3px solid #ffa94d;
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
}

.stack-trace {
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 0.25rem;
    overflow-x: auto;
}

.stack-frame {
    padding: 0.75rem;
    margin: 0.5rem 0;
    background: #2a2a2a;
    border-left: 3px solid #51cf66;
    border-radius: 0.25rem;
}

.stack-frame .level {
    display: inline-block;
    background: #51cf66;
    color: #1a1a1a;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: bold;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.code-block {
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 0.25rem;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.code-block .line-number {
    color: #666;
    margin-right: 1rem;
    user-select: none;
}

.code-block .highlight {
    background: rgba(255, 107, 107, 0.2);
    display: block;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.info-card {
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 0.25rem;
    border-left: 3px solid #4c6ef5;
}

.info-card .label {
    color: #868e96;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.info-card .value {
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 500;
}

.headers-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.headers-table th,
.headers-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #3a3a3a;
}

.headers-table th {
    background: #1a1a1a;
    color: #ffa94d;
    font-weight: 600;
}

.headers-table tr:hover {
    background: #1a1a1a;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-success {
    background: rgba(81, 207, 102, 0.2);
    color: #51cf66;
}

.badge-warning {
    background: rgba(255, 169, 77, 0.2);
    color: #ffa94d;
}

.badge-error {
    background: rgba(255, 107, 107, 0.2);
}

.template-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.template-tag {
    background: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    border: 1px solid #3a3a3a;
    font-size: 0.9rem;
}

.template-tag.current {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    font-weight: 600;
}
