.response-concept-card {
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    transition: transform 0.3s, box-shadow 0.3s;
}

.response-concept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.response-card-header {
    padding: 15px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.response-card-content {
    padding: 20px;
    background-color: white;
}

.response-basics { background-color: #4299e1; }
.response-text { background-color: #48bb78; }
.response-json { background-color: #ed8936; }
.response-binary { background-color: #9f7aea; }
.response-encoding { background-color: #f56565; }
.response-files { background-color: #38b2ac; }

.response-visualization {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #4a6ee0;
}

.response-flow {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    margin: 20px 0;
}

.flow-step {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.step-number {
    width: 30px;
    height: 30px;
    background-color: #4a6ee0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.response-example {
    background-color: #e8f4fd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #1890ff;
}

.response-table {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.response-table th {
    background-color: #4a6ee0;
    color: white;
}

.comparison-container {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.comparison-column {
    flex: 1;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.column-header {
    padding: 10px 15px;
    background-color: #e9ecef;
    font-weight: bold;
    border-bottom: 1px solid #dee2e6;
}

.column-content {
    padding: 15px;
}

@media (max-width: 768px) {
    .comparison-container {
        flex-direction: column;
    }
}

.note-box {
    background-color: #e8f4fd;
    border-left: 4px solid #1890ff;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.warning-box {
    background-color: #fff8e1;
    border-left: 4px solid #ffb300;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.tip-box {
    background-color: #f0fff4;
    border-left: 4px solid #38a169;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.response-preview {
    background-color: #2d3748;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}

.response-line {
    display: flex;
    margin: 5px 0;
}

.response-label {
    color: #81e6d9;
    min-width: 150px;
}

.response-separator {
    margin: 0 10px;
    color: #718096;
}

.response-value {
    color: #f7fafc;
    flex-grow: 1;
}

.status-code-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
    margin-right: 5px;
}

.status-2xx { background-color: #48bb78; color: white; }
.status-3xx { background-color: #4299e1; color: white; }
.status-4xx { background-color: #ed8936; color: white; }
.status-5xx { background-color: #f56565; color: white; }

.content-type-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    background-color: #9f7aea;
    color: white;
    margin-right: 5px;
}

.response-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.visual-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.code-snippet {
    background-color: #f6f8fa;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    overflow-x: auto;
}
