
/* Document Detail Modal Styles */
.doc-modal-content {
    max-width: 900px;
    height: 85vh;
    display: flex;
    flex-direction: column;
}

.doc-body {
    padding: 30px 40px;
    overflow-y: auto;
    color: var(--text-primary);
}

.doc-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.doc-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.doc-tag {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-color);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.doc-date {
    color: var(--text-secondary);
    font-size: 13px;
}

.doc-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.doc-meta-info {
    display: flex;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 13px;
}

.doc-meta-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Rich Content Area */
.doc-content-area {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.doc-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    aspect-ratio: 16 / 9;
    cursor: pointer;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.doc-video-wrapper:hover .video-placeholder {
    transform: scale(1.02);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.doc-video-wrapper:hover .play-btn {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Typography in Rich Text */
.rich-text-content h3 {
    font-size: 20px;
    color: #fff;
    margin: 30px 0 15px;
    padding-left: 12px;
    border-left: 4px solid var(--accent-color);
}

.rich-text-content p {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.rich-text-content ul, 
.rich-text-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.rich-text-content li {
    margin-bottom: 8px;
}

.rich-text-content strong {
    color: #fff;
    font-weight: 600;
}

.doc-image-block {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.doc-image-block img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.info-box {
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.info-box i {
    color: var(--accent-color);
    font-size: 18px;
    margin-top: 2px;
}

.info-box p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .doc-modal-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .doc-body {
        padding: 20px;
    }
    
    .doc-title {
        font-size: 24px;
    }
}
