.exception-card {
    border-left: 5px solid;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.exception-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.exception-card.critical {
    border-left-color: #dc3545;
}
.exception-card.warning {
    border-left-color: #ffc107;
}
.exception-card.info {
    border-left-color: #17a2b8;
}
.exception-card.success {
    border-left-color: #28a745;
}
.exception-card .card-header {
    background-color: #f8f9fa;
    font-weight: bold;
    padding: 15px;
}
.exception-card.critical .card-header {
    background-color: #f8d7da;
    color: #721c24;
}
.exception-card.warning .card-header {
    background-color: #fff3cd;
    color: #856404;
}
.exception-card.info .card-header {
    background-color: #d1ecf1;
    color: #0c5460;
}
.exception-card.success .card-header {
    background-color: #d4edda;
    color: #155724;
}
.exception-hierarchy {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    font-family: 'Consolas', monospace;
}
.exception-hierarchy ul {
    list-style-type: none;
    padding-left: 20px;
}
.exception-hierarchy li {
    margin: 10px 0;
    position: relative;
}
.exception-hierarchy li:before {
    content: '└─';
    position: absolute;
    left: -20px;
    color: #6c757d;
}
.exception-hierarchy li:first-child:before {
    content: '';
}
.flow-chart {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 25px 0;
}
.flow-step {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}
.flow-step .step-number {
    width: 40px;
    height: 40px;
    background-color: #4a6ee0;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 20px;
    font-weight: bold;
    flex-shrink: 0;
}
.error-table {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.error-table th {
    background-color: #4a6ee0;
    color: white;
}
.error-table tr:hover {
    background-color: #f8f9fa;
}
.retry-example {
    background-color: #e8f4fd;
    border-left: 5px solid #4a6ee0;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}
.best-practice-card {
    border: none;
    border-radius: 10px;
    margin-bottom: 20px;
    height: 100%;
    transition: transform 0.3s ease;
}
.best-practice-card:hover {
    transform: translateY(-5px);
}
.best-practice-card .card-header {
    background-color: #4a6ee0;
    color: white;
    font-weight: bold;
}
.error-scenario {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #ffc107;
}
.exception-tree {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 8px;
    font-family: 'Consolas', monospace;
    margin: 20px 0;
}
.exception-class {
    color: #569cd6;
}
.exception-arrow {
    color: #808080;
    margin: 0 10px;
}
.exception-type {
    color: #4ec9b0;
}
.error-demo {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Consolas', monospace;
    height: 200px;
    overflow-y: auto;
}
.error-line {
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 3px;
}
.error-line.error {
    background-color: rgba(255, 0, 0, 0.1);
    color: #f44747;
}
.error-line.warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffcc00;
}
.error-line.info {
    background-color: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}
.error-line.success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}
