.result-box {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    background-color: #f8f9fa;
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    word-break: break-all;
}
.format-count {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0d6efd;
}
.option-section {
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
}
.btn-group-custom .btn {
    border-radius: 0.25rem !important;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}
.highlight {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}
.number-highlight {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 0.25rem;
    padding: 0.125rem 0.25rem;
    font-weight: bold;
}
.preview-box {
    border: 1px dashed #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    background-color: #f8f9fa;
    max-height: 200px;
    overflow-y: auto;
}
.preview-title {
    font-size: 0.875rem;
    font-weight: bold;
    color: #6c757d;
    margin-bottom: 0.5rem;
}
.formula-box {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}
.formula {
    color: #0d6efd;
    font-weight: bold;
}
.example-item {
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}
.example-item:last-child {
    border-bottom: none;
}
.input-group-custom .form-control {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}
.input-group-custom .input-group-text {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}
.tab-content {
    border: 1px solid #dee2e6;
    border-top: none;
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    padding: 1rem;
}
.nav-tabs .nav-link.active {
    background-color: #f8f9fa;
    border-bottom-color: #f8f9fa;
}
