/* Reset & Base */
.fppw-110-container {
    font-family: 'Inter', sans-serif;
    background-color: #F3F4F6;
    color: #1F2937;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Prevent body scroll if content fits */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999; /* Ensure it sits on top */
}

.fppw-110-container * {
    box-sizing: border-box;
}

/* Header */
.fppw-110-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #fff;
    border-bottom: 1px solid #E5E7EB;
    height: 80px;
    flex-shrink: 0;
}

.fppw-110-breadcrumbs {
    font-size: 18px;
    font-weight: 500;
    color: #6B7280;
}

.fppw-110-current {
    color: #111827;
    font-weight: 600;
}

.fppw-110-icon-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #4B5563;
    padding: 10px;
    border-radius: 50%;
    transition: background 0.2s;
}

.fppw-110-icon-btn:hover {
    background: #F3F4F6;
}

.fppw-110-icon-btn-small {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #9CA3AF;
    padding: 5px;
    border-radius: 50%;
}

.fppw-110-icon-btn-small:hover {
    color: #4B5563;
}


/* Grid Layout */
.fppw-110-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    padding: 40px;
    flex-grow: 1;
    overflow-y: auto; /* Scroll inside if content is tall */
}

/* Cards */
.fppw-110-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

/* Main Info Section */
.fppw-110-tag {
    display: inline-block;
    background: #EEF2FF;
    color: #4F46E5;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fppw-110-project-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    color: #111827;
    line-height: 1.2;
}

.fppw-110-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.fppw-110-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ECFDF5;
    color: #059669;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.fppw-110-status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
}

.fppw-110-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.fppw-110-meta-item h3 {
    font-size: 14px;
    text-transform: uppercase;
    color: #6B7280;
    letter-spacing: 0.05em;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.fppw-110-meta-item p {
    font-size: 18px;
    font-weight: 500;
    color: #1F2937;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fppw-110-avatars {
    display: flex;
    align-items: center;
}

.fppw-110-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-left: -12px;
}

.fppw-110-avatars img:first-child {
    margin-left: 0;
}

.fppw-110-avatar-more {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: #F3F4F6;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-left: -12px;
    z-index: 1;
}

.fppw-110-progress-section {
    margin-top: auto;
}

.fppw-110-progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 600;
    color: #374151;
}

.fppw-110-progress-bar {
    height: 12px;
    background: #E5E7EB;
    border-radius: 6px;
    overflow: hidden;
}

.fppw-110-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4F46E5 0%, #7C3AED 100%);
    border-radius: 6px;
}

/* Tasks & Activity Headers */
.fppw-110-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.fppw-110-section-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.fppw-110-add-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #4F46E5;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Task List */
.fppw-110-task-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fppw-110-task-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s;
    user-select: none;
    position: relative;
}

.fppw-110-task-item:hover {
    background: #F9FAFB;
}

.fppw-110-task-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.fppw-110-checkmark {
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 2px solid #D1D5DB;
    border-radius: 6px;
    position: relative;
    flex-shrink: 0;
    display: inline-block;
}

.fppw-110-task-item input:checked ~ .fppw-110-checkmark {
    background-color: #4F46E5;
    border-color: #4F46E5;
}

.fppw-110-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.fppw-110-task-item input:checked ~ .fppw-110-checkmark:after {
    display: block;
}

.fppw-110-task-text {
    font-weight: 500;
    color: #374151;
}

.fppw-110-task-item input:checked ~ .fppw-110-task-text {
    text-decoration: line-through;
    color: #9CA3AF;
}

/* Activity List */
.fppw-110-activity-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fppw-110-activity-item {
    display: flex;
    gap: 12px;
    font-size: 14px;
}

.fppw-110-activity-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.fppw-110-activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ECFDF5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fppw-110-activity-content {
    flex: 1;
}

.fppw-110-activity-content p {
    margin: 0 0 4px 0;
    line-height: 1.4;
    color: #374151;
}

.fppw-110-activity-content a {
    color: #4F46E5;
    text-decoration: none;
    font-weight: 500;
}

.fppw-110-time {
    font-size: 12px;
    color: #9CA3AF;
}

/* Responsive */
@media (max-width: 1024px) {
    .fppw-110-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        height: auto;
        overflow: visible;
    }
    
    .fppw-110-container {
        position: relative; /* Unlock from fixed on small screens */
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }
    
    .fppw-110-card {
        padding: 24px;
    }
}
