.analyst-salary-calculator {
    max-width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.calculator-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.calculator-title {
    color: white;
    font-size: 2.5em;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-align: center;
}

.calculator-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1em;
    text-align: center;
    margin: 0 0 40px 0;
}

.calculator-form {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
}

.form-section {
    margin-bottom: 35px;
}

.section-title {
    color: #667eea;
    font-size: 1.5em;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.staffing-section {
    background: #f8f9ff;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-container input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #667eea;
}

.checkbox-label {
    color: #333;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.staffing-inputs {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #e0e0e0;
}

.calculate-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.calculate-btn:active {
    transform: translateY(0);
}

.results-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-title {
    color: #667eea;
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-align: center;
}

.salary-range {
    text-align: center;
    margin: 30px 0;
}

.salary-amount {
    display: inline-block;
    font-size: 3em;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-details {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.detail-label {
    color: #666;
    font-weight: 600;
}

.detail-value {
    color: #333;
    font-weight: 700;
}

.staffing-results {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 3px solid #667eea;
}

.staffing-recommendation {
    text-align: center;
    margin: 30px 0;
}

.recommendation-box {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.recommendation-number {
    display: block;
    font-size: 4em;
    font-weight: 700;
    line-height: 1;
}

.recommendation-label {
    display: block;
    font-size: 1.1em;
    margin-top: 10px;
    opacity: 0.95;
}

.staffing-breakdown {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.staffing-breakdown h4 {
    color: #667eea;
    font-size: 1.2em;
    margin: 0 0 20px 0;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.breakdown-label {
    color: #666;
    font-weight: 500;
}

.breakdown-value {
    color: #667eea;
    font-weight: 700;
    font-size: 1.1em;
}

.error-message {
    background: #ff4757;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}

@media (max-width: 768px) {
    .calculator-container {
        padding: 30px 20px;
    }
    
    .calculator-form {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .calculator-title {
        font-size: 1.8em;
    }
    
    .salary-amount {
        font-size: 2em;
    }
    
    .recommendation-number {
        font-size: 3em;
    }
}