/* Board View Page Styles */

.view-wrapper {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 40px 0;
}

.view-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.view-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.view-header {
    padding: 40px 50px;
    border-bottom: 1px solid #e2e8f0;
}

.view-category {
    display: inline-block;
    background: #4a5568;
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.view-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 25px 0;
    line-height: 1.4;
}

.view-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    color: #64748b;
    font-size: 14px;
}

.view-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-meta-item i {
    color: #94a3b8;
    font-size: 14px;
}

.view-content {
    padding: 50px;
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    word-break: keep-all;
}

.content-text p {
    margin-bottom: 20px;
}

/* Image Gallery */
.view-images {
    padding: 30px 50px;
    border-top: 1px solid #e2e8f0;
}

.images-title {
    font-size: 16px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.images-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.image-item {
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    max-width: 800px;
    width: 100%;
}

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

/* Action Buttons */
.view-actions {
    padding: 30px 50px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-list {
    background: #f1f5f9;
    color: #475569;
}

.btn-list:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* Navigation */
.view-nav {
    margin-top: 30px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.3s;
    text-decoration: none;
    color: inherit;
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-item:hover {
    background: #f8fafc;
}

.nav-label {
    width: 80px;
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

.nav-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-title {
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
}

.nav-arrow {
    margin-left: auto;
    color: #cbd5e0;
}

/* Responsive */
@media (max-width: 768px) {
    .view-header {
        padding: 30px 20px;
    }

    .view-title {
        font-size: 24px;
    }

    .view-content {
        padding: 30px 20px;
    }

    .content-text {
        font-size: 15px;
    }

    .view-meta {
        gap: 15px;
        font-size: 13px;
    }

    .view-actions {
        padding: 20px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .images-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}