* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.chart-section {
    grid-column: 1 / -1;
}

h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: #3498db;
}

input[type="range"] {
    width: 80%;
    margin-right: 10px;
}

input[type="range"]::-webkit-slider-track {
    background: #e9ecef;
    height: 6px;
    border-radius: 3px;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    background: #3498db;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    cursor: pointer;
}

button {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s;
}

button:hover {
    background: #2980b9;
}

button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.project-item {
    background: #f8f9fa;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 4px solid #3498db;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-info h3 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.project-info p {
    color: #7f8c8d;
    font-size: 14px;
}

.remove-btn {
    background: #e74c3c;
    padding: 8px 12px;
    font-size: 12px;
}

.remove-btn:hover {
    background: #c0392b;
}

#chart-container {
    margin-bottom: 30px;
}

.chart-svg {
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

.axis {
    stroke: #333;
}

.axis text {
    font-size: 12px;
    fill: #333;
}

.axis-label {
    font-size: 14px;
    font-weight: 600;
    fill: #2c3e50;
}

.project-point {
    stroke: white;
    stroke-width: 2;
    cursor: pointer;
}

.project-point.efficient {
    fill: #27ae60;
}

.project-point.dominated {
    fill: #e74c3c;
    opacity: 0.7;
}

.project-point:hover {
    stroke-width: 3;
    r: 8;
}

.tooltip {
    position: absolute;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    z-index: 1000;
}

.recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.recommendation-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.recommendation-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.recommendation-card p {
    color: #7f8c8d;
    margin-bottom: 10px;
}

.recommended-project {
    background: #e8f5e8;
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #27ae60;
    margin-top: 10px;
    position: relative;
}

.recommended-project.best-in-quadrant {
    background: #fff3cd;
    border-left: 3px solid #f39c12;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.2);
}

.badges {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

.efficient-badge {
    background: #27ae60;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

.best-badge {
    background: #f39c12;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

@media (max-width: 768px) {
    main {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
}