/* Layout */
.detail-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 50px;
}

.detail-main {
    width: 900px;
    background: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.detail-sidebar {
    width: 280px;
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #0074ff;
}

.breadcrumb .current {
    color: #0074ff;
}

/* Project Header */
.project-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.project-header h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.4;
}

.project-meta {
    display: flex;
    background: #f8faff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.meta-item {
    flex: 1;
    text-align: center;
    border-right: 1px solid #e5e5e5;
}

.meta-item:last-child {
    border-right: none;
}

.meta-item span {
    display: block;
    color: #0074ff;
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: bold;
}

.meta-item p {
    color: #333;
    font-size: 14px;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 14px;
}

.btn-follow {
    background: transparent;
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-follow:hover {
    color: #0074ff;
    border-color: #0074ff;
}

/* Tabs */
.project-tabs {
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.project-tabs ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-tabs li {
    padding: 10px 20px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
    font-weight: bold;
}

.project-tabs li.active {
    color: #0074ff;
}

.project-tabs li.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0074ff;
}

/* Sections */
.section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: bold;
    border-left: 4px solid #0074ff;
    padding-left: 10px;
}

.section-title img {
    margin-right: 10px;
    height: 18px;
    display: none;
    /* Hide image if using border-left style, or use image as requested */
}

/* Revert to image icon as requested */
.section-title {
    border-left: none;
    padding-left: 0;
}

.section-title img {
    display: inline-block;
}

/* Basic Info Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #eee;
}

.info-table th,
.info-table td {
    padding: 12px 15px;
    border: 1px solid #eee;
    font-size: 14px;
}

.info-table th {
    background: #f8faff;
    color: #0074ff;
    width: 150px;
    text-align: center;
    font-weight: bold;
}

.info-table td {
    color: #333;
}

.info-table .btn-view {
    color: white;
    background: #0074ff;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.link-blue {
    color: #0074ff;
    text-decoration: none;
    margin-right: 15px;
}

/* Member Locked Section */
.member-locked {
    position: relative;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.locked-content {
    padding: 20px;
    filter: blur(4px);
    user-select: none;
    opacity: 0.5;
}

.member-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    /* Use background image if needed, or just semi-transparent overlay */
}

.mask-card {
    background: url('../images/vip-bg.png') no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.mask-text {
    font-size: 18px;
    margin-bottom: 15px;
    color: #0074ff;
    font-weight: bold;
}

.btn-unlock {
    background: #0074ff;
    color: #fff;
    border: none;
    padding: 8px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-unlock:hover {
    background: #0056b3;
}

/* Files List */
.file-list {
    list-style: none;
    padding: 0;
}

.file-item {
    border: 1px solid #0074ff;
    background-color: rgba(0, 116, 255, 0.1);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.file-item:hover {
    background-color: rgba(0, 116, 255, 0.2);
}

.file-icon {
    margin-right: 10px;
    color: #0074ff;
}

.file-name {
    flex: 1;
    color: #0074ff;
    font-size: 14px;
}

/* Sidebar */
.sidebar-title {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.sidebar-title img {
    margin-right: 10px;
}

.news-list {
    list-style: none;
    padding: 0;
}

.news-item {
    margin-bottom: 15px;
}

.news-link {
    display: block;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-link:hover {
    color: #0074ff;
}

.news-date {
    color: #999;
    font-size: 12px;
}

/* Material Accordion */
.material-accordion {
    border: 1px solid #dbeeff;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.accordion-item {
    border-bottom: 1px solid #dbeeff;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    background-color: #f0f7ff;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #0055ff;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: #e0efff;
}

.accordion-header .header-icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid #0055ff;
    border-bottom: 2px solid #0055ff;
    transform: rotate(45deg);
    transition: transform 0.3s;
    margin-right: 5px;
}

.accordion-item.active .accordion-header .header-icon {
    transform: rotate(225deg);
}

.accordion-content {
    display: none;
    background-color: #fff;
}

/* Removed display:block rule to allow jQuery slideToggle to work properly */

.material-item {
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    color: #333;
}

.material-item .btn-view {
    color: white;
    background: #0074ff;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.material-item:last-child {
    border-bottom: none;
}

.material-name {
    font-size: 14px;
    color: #666;
}