/**
 * Styles for the Should I Move plugin
 */

.should-i-move-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.should-i-move-container h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.should-i-move-container p {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
}

.sim-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.sim-section h3 {
    color: #3498db;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
}

.sim-field-group {
    margin-bottom: 15px;
}

.sim-field-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #444;
}

.sim-help-text {
    font-size: 12px;
    color: #777;
    margin-bottom: 5px;
    font-style: italic;
}

.sim-field-group input[type="text"],
.sim-field-group input[type="number"],
.sim-field-group select,
.sim-field-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.sim-field-group textarea {
    resize: vertical;
    min-height: 80px;
}

.sim-radio-group {
    display: flex;
    gap: 20px;
}

.sim-radio-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.sim-radio-group input[type="radio"] {
    margin-right: 5px;
}

.sim-field-group input[type="range"] {
    width: 100%;
    margin: 10px 0;
}

.sim-range-value {
    text-align: center;
    font-weight: bold;
    color: #3498db;
}

.sim-conditional {
    display: none;
    margin-top: 15px;
    padding-left: 15px;
    border-left: 2px solid #ddd;
}

.sim-submit {
    text-align: center;
    margin-top: 30px;
}

.sim-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.sim-button:hover {
    background-color: #2980b9;
}

.sim-button-secondary {
    background-color: #95a5a6;
}

.sim-button-secondary:hover {
    background-color: #7f8c8d;
}

/* Results styles */
.should-i-move-results {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 6px;
    border-left: 4px solid #2ecc71;
}

.should-i-move-results h3 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

.sim-recommendation {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sim-recommendation h4 {
    margin-top: 0;
    color: #2c3e50;
}

#recommendation-text {
    font-weight: bold;
    color: #3498db;
}

.sim-score-container {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sim-score-label {
    width: 120px;
    font-weight: bold;
    color: #444;
}

.sim-score-bar-container {
    flex-grow: 1;
    height: 20px;
    background-color: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 15px;
}

.sim-score-bar {
    height: 100%;
    width: 0;
    background-color: #3498db;
    transition: width 1s ease-in-out;
}

.sim-score-percentage {
    width: 50px;
    font-weight: bold;
    color: #3498db;
}

.sim-factors {
    margin-bottom: 30px;
}

.sim-factors h4 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.sim-factor-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sim-factor-name {
    width: 150px;
    font-weight: 600;
    color: #444;
}

.sim-factor-bar-container {
    flex-grow: 1;
    height: 15px;
    background-color: #ecf0f1;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 15px;
}

.sim-factor-bar {
    height: 100%;
    background-color: #3498db;
}

.sim-factor-bar.negative {
    background-color: #e74c3c;
}

.sim-factor-score {
    width: 80px;
    text-align: right;
    font-weight: bold;
    color: #3498db;
}

.sim-factor-details {
    margin-top: 5px;
    font-size: 12px;
    color: #777;
    padding-left: 150px;
}

.sim-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .should-i-move-container {
        padding: 15px;
    }
    
    .sim-section {
        padding: 15px;
    }
    
    .sim-radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .sim-score-container,
    .sim-factor-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sim-score-label,
    .sim-factor-name {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .sim-score-bar-container,
    .sim-factor-bar-container {
        width: 100%;
        margin: 5px 0;
    }
    
    .sim-score-percentage,
    .sim-factor-score {
        width: 100%;
        text-align: left;
        margin-top: 5px;
    }
    
    .sim-factor-details {
        padding-left: 0;
    }
    
    .sim-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .sim-button {
        width: 100%;
    }
} 