.debug-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.debug-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.debug-type-card {
    border-top: 4px solid;
    height: 100%;
}

.basic-debug { border-top-color: #0d6efd; }
.advanced-debug { border-top-color: #198754; }
.tool-debug { border-top-color: #ffc107; }
.error-handling { border-top-color: #dc3545; }

.debug-table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
}

.debug-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem;
    text-align: left;
}

.debug-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

.debug-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.debug-badge {
    font-family: 'Courier New', monospace;
    background-color: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: bold;
}

.debug-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.debug-output {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

.debug-line {
    margin: 0.25rem 0;
}

.line-number {
    color: #6c757d;
    margin-right: 1rem;
}

.debug-error {
    color: #ff6b6b;
}

.debug-warning {
    color: #ffd93d;
}

.debug-success {
    color: #6bcf7f;
}

.debug-info {
    color: #4dabf7;
}

.debug-tip {
    background-color: #e7f3ff;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.debug-warning-box {
    background-color: #fff3cd;
    border-left: 4px solid var(--warning-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.debug-flow {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.debug-step {
    background-color: white;
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 0.5rem;
    text-align: center;
    min-width: 150px;
}

.debug-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0 0.5rem;
}

.tool-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

@media (max-width: 768px) {
    .tool-comparison {
        grid-template-columns: 1fr;
    }

    .debug-step {
        min-width: 120px;
        padding: 0.75rem;
    }

    .debug-flow {
        justify-content: center;
    }
}

.interactive-demo {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.demo-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.demo-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.demo-button:hover {
    background-color: #0b5ed7;
}

/*.code-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
}*/

.comparison-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
