.ref-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}
.ref-title {
    color: #42b983;
    border-left: 4px solid #42b983;
    padding-left: 1rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}
.demo-container {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}
.demo-result {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}
.demo-result .component-box {
    padding: 1rem;
    margin: 0.5rem 0;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #f8f9fa;
}
.demo-result .component-box .component-name {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}
.example-tabs {
    margin-bottom: 1rem;
}
.example-tabs .nav-link {
    color: #6c757d;
    font-weight: 500;
}
.example-tabs .nav-link.active {
    color: #42b983;
    background-color: #f8f9fa;
    border-color: #dee2e6 #dee2e6 #f8f9fa;
}
.tip-box {
    background-color: #e8f4ff;
    border-left: 4px solid #3498db;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 0.375rem 0.375rem 0;
}
.warning-box {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 0.375rem 0.375rem 0;
}
.api-card {
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
}
.api-card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.25rem;
    font-weight: bold;
    color: #2c3e50;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.api-card-body {
    padding: 1.25rem;
}
.badge-ref {
    background-color: #e74c3c;
    color: white;
}
.ref-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}
.flow-step {
    text-align: center;
    padding: 1rem;
    position: relative;
}
.flow-step-icon {
    width: 60px;
    height: 60px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}
.flow-arrow {
    font-size: 2rem;
    color: #6c757d;
    margin: 0 1rem;
}
.use-case-card {
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 1.5rem;
}
.use-case-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.use-case-card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.25rem;
    font-weight: bold;
    color: #2c3e50;
}
.use-case-card-body {
    padding: 1.25rem;
}
.comparison-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}
.comparison-table td {
    vertical-align: middle;
}
.ref-diagram {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.375rem;
    margin: 1.5rem 0;
    border: 1px solid #e9ecef;
    font-family: 'Courier New', monospace;
}
.ref-diagram .component {
    color: #2c3e50;
    font-weight: bold;
}
.ref-diagram .ref {
    color: #e74c3c;
}
.ref-diagram .access {
    color: #3498db;
}
.interactive-demo {
    background-color: white;
    border: 2px dashed #e74c3c;
    border-radius: 0.375rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}
.interactive-demo .demo-element {
    margin: 1rem auto;
    padding: 1rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    max-width: 300px;
}
