/* Knowledge Base Detail Page Styles */

.knowledge-breadcrumb {
    padding-bottom: 20px;
}

.knowledge-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
}

.knowledge-breadcrumb .breadcrumb-item a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.knowledge-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary);
}

.knowledge-breadcrumb .breadcrumb-item.active {
    color: #999;
}

.knowledge-article-header {
    padding-bottom: 20px;
}

.knowledge-article-meta {
    margin-bottom: 20px;
}

.knowledge-category-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(233, 84, 64, 0.1);
    color: #E95440;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 5px;
}

.knowledge-category-badge:hover {
    background: rgba(233, 84, 64, 0.15);
    color: #E95440;
    transform: translateY(-1px);
}

.knowledge-category-badge-sm {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(233, 84, 64, 0.1);
    color: #E95440;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    margin: 3px;
}

.knowledge-related-title {
    margin-bottom: 35px !important;
}

.knowledge-related-card .knowledge-category-badge-sm {
    margin-bottom: 18px !important;
}

.knowledge-meta-item {
    display: inline-flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.knowledge-meta-item i {
    color: #999;
}

.knowledge-article-image {
    border-radius: 12px;
    overflow: hidden;
}

.knowledge-article-content {
    line-height: 1.8;
}

.article-body h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-body p {
    margin-bottom: 15px;
    color: #555;
}

.knowledge-info-alert {
    padding: 24px;
    border-radius: 12px;
    background: rgba(233, 84, 64, 0.05);
    border-left: 4px solid #E95440;
    border: 1px solid rgba(233, 84, 64, 0.2);
}

.knowledge-info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 10px;
    flex-shrink: 0;
}

.knowledge-info-icon i {
    font-size: 1.5rem;
    color: #E95440;
}

.knowledge-article-footer {
    border-top: 1px solid #e8e8e8;
}

.knowledge-feedback-section,
.knowledge-share-section {
    text-align: center;
}

@media (min-width: 768px) {
    .knowledge-feedback-section {
        text-align: left;
    }
    
    .knowledge-share-section {
        text-align: right;
    }
}

.knowledge-feedback-btn,
.knowledge-share-btn {
    transition: all 0.3s ease;
    padding: 10px 20px;
    margin: 5px;
    position: relative;
}

.knowledge-feedback-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.feedback-message {
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    margin-top: 15px;
}

.feedback-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.feedback-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.knowledge-feedback-btn:hover,
.knowledge-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.knowledge-related-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.knowledge-related-card {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
    background: #fff;
}

.knowledge-related-card:hover {
    border-color: #E95440;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.knowledge-related-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
}

.knowledge-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.knowledge-related-link:hover .knowledge-related-card h5 {
    color: #E95440 !important;
}

.knowledge-related-title-text {
    margin: 8px;
}

.knowledge-contact-section {
    margin-top: 60px;
}

.knowledge-contact-card {
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(233, 84, 64, 0.05) 0%, rgba(233, 84, 64, 0.02) 100%);
}

.knowledge-contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
}

.knowledge-contact-icon i {
    font-size: 2rem;
    color: #E95440;
}

