.best-practice {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
}
.practice-good {
    border-left: 5px solid #4CAF50;
    background: #f8fff9;
}
.practice-bad {
    border-left: 5px solid #f44336;
    background: #fff5f5;
}
.practice-warning {
    border-left: 5px solid #ff9800;
    background: #fff9e6;
}
.practice-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background: #2196f3;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}
.practice-checklist {
    counter-reset: checklist;
    margin: 25px 0;
}
.checklist-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;
}
.checklist-item:before {
    counter-increment: checklist;
    content: counter(checklist);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.code-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin: 25px 0;
}
.code-good, .code-bad {
    padding: 20px;
    border-radius: 6px;
}
.code-good {
    background: #e8f5e9;
    border: 1px solid #4CAF50;
}
.code-bad {
    background: #ffebee;
    border: 1px solid #f44336;
}
.architecture-diagram {
    text-align: center;
    padding: 30px;
    background: #fafafa;
    border-radius: 8px;
    margin: 30px 0;
}
.diagram-box {
    display: inline-block;
    padding: 20px;
    margin: 10px;
    border: 2px solid #2196f3;
    border-radius: 8px;
    background: white;
    position: relative;
}
.diagram-arrow {
    display: inline-block;
    margin: 0 10px;
    font-size: 24px;
    color: #2196f3;
}
.team-workflow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}
.workflow-step {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e0e0e0;
}
.metric-card {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}
.metric-good {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border: 1px solid #4CAF50;
}
.metric-warning {
    background: linear-gradient(135deg, #fff3e0, #ffcc80);
    border: 1px solid #ff9800;
}
.rule-of-thumb {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}
