/* =======================================================
   PUBLIC PROJECT PAGE STYLES
   Clean, modern, theme-aware, no inline CSS
   ======================================================= */

.project-container {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
}

.project-card {
    background: var(--card, #ffffff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow, 0 4px 14px rgba(0,0,0,0.08));
}

.project-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.project-logo {
    width: 50px;
    height: auto;
    border-radius: 8px;
}

.project-logo-placeholder {
    width: 50px;
    height: 50px;
    background: var(--border, #d4d4d4);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.project-subtitle {
    margin: 2px 0 0 0;
    opacity: 0.7;
}


/* FILTERS ----------------------- */
.project-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}


/* TIMELINE ---------------------- */
.timeline {
    position: relative;
}

.entry {
    display: flex;
    margin-bottom: 28px;
}

.entry-left {
    width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.entry-dot {
    width: 12px;
    height: 12px;
    background: var(--primary, #2563eb);
    border-radius: 50%;
}

.entry-line {
    width: 2px;
    flex-grow: 1;
    background: var(--border, #e5e5e5);
    margin-top: 4px;
}

.entry-content {
    flex: 1;
}

.entry-version {
    font-weight: 700;
    margin-bottom: 4px;
}

.entry-title {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.entry-date {
    font-size: 0.85rem;
    opacity: 0.75;
    margin-bottom: 6px;
}

.entry-tags {
    margin-bottom: 6px;
}

.tag {
    background: var(--primary-light, #eef4ff);
    color: var(--primary, #2563eb);
    padding: 4px 8px;
    font-size: 0.8rem;
    border-radius: 6px;
    margin-right: 6px;
}

.entry-items {
    margin-bottom: 10px;
    padding-left: 18px;
}


/* EXPORT ---------------------- */
.entry-export {
    margin-top: 8px;
}

.export-link {
    font-size: 0.85rem;
    margin-right: 12px;
    color: var(--primary, #2563eb);
    text-decoration: none;
}


/* PAGINATION ------------------ */
.pagination {
    margin-top: 18px;
}

.page-link {
    padding: 6px 12px;
    margin-right: 4px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text);
}

.page-link.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}


/* BACK LINK ------------------- */
.back-link {
    margin-top: 22px;
    font-size: 0.9rem;
}
