/* LAB Document Builder — frontend (visitor) styles */

.lab-doc-frontend { margin: 24px 0; }

/* Download button view */
.lab-doc-frontend-download {
    text-align: center;
}
.lab-doc-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0066cc;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.15s ease;
}
.lab-doc-download-btn:hover {
    background: #004d99;
    color: #fff;
}
.lab-doc-download-btn .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

/* Embedded preview view */
.lab-doc-frontend-embed {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}
.lab-doc-embed {
    width: 100%;
    height: 800px;
    border: 1px solid #d0d7e0;
    border-radius: 6px;
    background: #fafbfc;
}
.lab-doc-embed-download {
    align-self: center;
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
}
.lab-doc-embed-download:hover { text-decoration: underline; }

/* Gallery list view */
.lab-doc-frontend-gallery {
    border: 1px solid #e5e9ef;
    border-radius: 6px;
    padding: 16px;
    background: #fff;
}
.lab-doc-gallery-heading {
    margin: 0 0 12px;
    font-size: 18px;
    color: #1a202c;
}
.lab-doc-gallery-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lab-doc-gallery-item {
    border-bottom: 1px solid #f0f3f6;
}
.lab-doc-gallery-item:last-child { border-bottom: 0; }
.lab-doc-gallery-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    text-decoration: none;
    color: #1a202c;
    transition: background 0.15s ease;
}
.lab-doc-gallery-link:hover { background: #f7f9fc; }
.lab-doc-gallery-link .dashicons {
    color: #0066cc;
    font-size: 20px;
    width: 20px;
    height: 20px;
}
.lab-doc-gallery-title {
    flex: 1;
    font-weight: 500;
}
.lab-doc-gallery-date {
    font-size: 12px;
    color: #6a7c95;
}
