.project-detail {
    padding: 24px;
    color: var(--white-1, #fff);
    max-height: 80vh;
    overflow-y: auto;
    background: var(--eerie-black-2, #1e1e1e);
    border: 1px solid var(--jet, #383838);
    border-radius: 14px;
}

.detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;

    h2 {
        margin: 0;
        font-size: 1.35rem;
        color: var(--white-1, #fff);
        line-height: 1.3;
    }
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--light-gray-70, #aaa);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;

    &:hover {
        background: rgba(255, 255, 255, 0.08);
        color: var(--white-1, #fff);
    }
}

.status-badge {
    display: inline-block;
    background: rgba(227, 179, 65, 0.15);
    color: var(--orange-yellow-crayola, #e3b341);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.detail-section {
    margin-bottom: 16px;

    h4 {
        margin: 0 0 6px;
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--light-gray-70, #999);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    p {
        margin: 0;
        font-size: 0.9rem;
        line-height: 1.55;
        color: var(--white-2, #ddd);
        white-space: pre-line;
    }
}

.duration {
    color: var(--white-2, #ddd);
    font-size: 0.9rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white-2, #ddd);
    border: 1px solid rgba(255, 255, 255, 0.08);

    &.tech {
        background: rgba(100, 180, 255, 0.1);
        color: #8cc4ff;
        border-color: rgba(100, 180, 255, 0.15);
    }

    &.category {
        background: rgba(227, 179, 65, 0.1);
        color: var(--orange-yellow-crayola, #e3b341);
        border-color: rgba(227, 179, 65, 0.15);
    }
}
