/* 实际应用案例模块样式 */
.prompt-examples {
    padding: 40px 0;
}

.prompt-examples .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.prompt-examples .section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.examples-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.example-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.example-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.example-header {
    margin-bottom: 20px;
}

.example-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
}

.example-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.example-output {
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid;
}


.example-output {
    background-color: #f8f9fa;
    border-left-color: #007bff;
}

.output-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #495057;
}

.output-label {
    color: #007bff;
}

.input-text,
.output-text {
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 400px;
    overflow-y: auto;
}

/* 滚动条样式 */
.output-text::-webkit-scrollbar {
    width: 6px;
}

.output-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.output-text::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.output-text::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .prompt-examples {
        padding: 30px 0;
    }

    .prompt-examples .container {
        padding: 0 16px;
    }

    .prompt-examples .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .example-item {
        padding: 20px;
    }

    .example-title {
        font-size: 16px;
    }

    .examples-list {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .prompt-examples .section-title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .example-item {
        padding: 16px;
    }

    .example-output {
        padding: 12px;
    }
}