/* Target Setting Styles - Complete CSS from original file */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-size: 14px;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.progress-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.progress-steps {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    position: relative;
}

.step-indicator.completed {
    background: #48bb78;
}

.step-indicator.active {
    background: #667eea;
    animation: pulse 2s infinite;
}

.step-indicator.pending {
    background: #cbd5e0;
    color: #718096;
}

.step-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    position: relative;
}

.step-line.completed {
    background: #48bb78;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.step-title {
    font-weight: 600;
    color: #2d3748;
}

.step-subtitle {
    font-size: 12px;
    color: #718096;
}

.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.thresholds-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.thresholds-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.thresholds-table th,
.thresholds-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.thresholds-table th {
    background: rgba(102, 126, 234, 0.05);
    font-weight: 600;
    color: #2d3748;
}

.adjustment-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.adjustment-btn {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    background: #667eea;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.adjustment-btn:hover {
    background: #5a67d8;
}

.adjustment-value {
    min-width: 60px;
    text-align: center;
    font-weight: 600;
    color: #2d3748;
}

.projections-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.upload-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(72, 187, 120, 0.1);
    border-radius: 8px;
    color: #48bb78;
    font-weight: 600;
}

.assumptions-list {
    list-style: none;
    padding: 0;
}

.assumptions-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
}

.assumptions-list li:last-child {
    border-bottom: none;
}

.results-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.target-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.target-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.target-info {
    flex: 1;
}

.target-name {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.target-details {
    font-size: 14px;
    color: #718096;
}

.target-value {
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
}

.target-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 12px;
}

.badge-achievable {
    background: rgba(72, 187, 120, 0.1);
    color: #48bb78;
}

.badge-stretch {
    background: rgba(237, 137, 54, 0.1);
    color: #ed8936;
}

.ai-recommendation {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.workflow-actions {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.workflow-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #48bb78;
    animation: pulse 2s infinite;
}

.btn {
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-success {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 1200px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .progress-steps {
        flex-direction: column;
        align-items: stretch;
    }

    .step-line {
        height: 20px;
        width: 2px;
        margin: 0 auto;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 16px 16px 0 0;
}

.modal-body {
    padding: 30px;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
}

.close:hover {
    opacity: 0.7;
}

/* Heatmap Styles */
.heatmap-cell {
    transition: all 0.3s ease;
}

.heatmap-cell:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}