/* Feature prioritization styles */

/* Complexity indicators */
.complexity-indicator {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.complexity-low {
    background-color: #e9f7ef;
    color: #27ae60;
}

.complexity-medium {
    background-color: #fef9e7;
    color: #f39c12;
}

.complexity-high {
    background-color: #fdedec;
    color: #e74c3c;
}

/* Feature selection styles */
.feature-summary {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.feature-summary h4 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature-summary h4 .info-icon {
    margin-left: 8px;
    cursor: help;
    color: #777;
}

.feature-count {
    font-weight: normal;
    color: #666;
    margin-left: 10px;
}

.feature-list-selected {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list-selected li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.feature-list-selected li:last-child {
    border-bottom: none;
}

.feature-list-selected .feature-name {
    flex: 1;
}

.feature-list-selected .feature-complexity {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 10px;
}

/* Team size visualization */
.team-size-container {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.team-size-container h4 {
    margin-bottom: 10px;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.team-member {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.team-member.active {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Timeline visualization */
.timeline-container {
    margin-top: 20px;
}

.timeline-slider-container {
    padding: 20px 0;
}

.timeline-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 8px;
    background: #f1f1f1;
    border-radius: 4px;
    outline: none;
}

.timeline-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.timeline-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(237, 33, 47, 0.2);
}

.timeline-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.timeline-label {
    font-size: 12px;
    color: #666;
    position: relative;
    padding-top: 15px;
}

.timeline-label::before {
    content: '';
    width: 2px;
    height: 10px;
    background-color: #ddd;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Cost breakdown visualization */
.cost-breakdown {
    margin-top: 30px;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.cost-breakdown h3 {
    margin-bottom: 20px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

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

.cost-description {
    display: flex;
    align-items: center;
}

.cost-icon {
    margin-right: 10px;
    width: 24px;
    height: 24px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
}

.total-cost {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-color);
}

/* Saving highlights */
.savings-highlight {
    background-color: #f2fff9;
    border-left: 4px solid #27ae60;
    padding: 15px;
    margin-top: 20px;
    border-radius: 0 4px 4px 0;
}

.savings-amount {
    font-size: 18px;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 5px;
}

/* Feature comparison */
.feature-comparison {
    margin-top: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-header {
    background-color: #f8f9fa;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.comparison-row {
    display: flex;
    border-bottom: 1px solid #eee;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-cell {
    flex: 1;
    padding: 12px 15px;
    border-right: 1px solid #eee;
    display: flex;
    align-items: center;
}

.comparison-cell:last-child {
    border-right: none;
}

.comparison-check {
    color: #27ae60;
    margin-right: 5px;
}

.comparison-cell.highlight {
    background-color: #f9fafe;
}

/* Timeline visualization */
.timeline-viz {
    margin-top: 30px;
    position: relative;
    height: 80px;
}

.timeline-bar {
    position: absolute;
    height: 16px;
    top: 30px;
    border-radius: 8px;
    transition: width 0.5s ease, left 0.5s ease;
}

.timeline-design {
    background-color: #3498db;
    left: 10%;
    width: 20%;
}

.timeline-development {
    background-color: #e74c3c;
    left: 32%;
    width: 40%;
}

.timeline-testing {
    background-color: #f39c12;
    left: 74%;
    width: 16%;
}

.timeline-marker {
    position: absolute;
    top: 10px;
    transform: translateX(-50%);
    text-align: center;
}

.timeline-marker-line {
    width: 2px;
    height: 10px;
    background-color: #999;
    margin: 0 auto;
}

.timeline-marker-text {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.timeline-week-marker {
    position: absolute;
    bottom: 0;
    height: 6px;
    border-left: 1px solid #ddd;
}

.timeline-week-text {
    position: absolute;
    bottom: -20px;
    transform: translateX(-50%);
    font-size: 10px;
    color: #999;
} 