/**
 * Coast FIRE Calculator Styles
 */

/* Reset and Base Styles */
.coast-fire-calculator-container * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.coast-fire-calculator-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Form Styles */
.coast-fire-calculator-form {
    flex: 1;
    min-width: 300px;
}

.coast-fire-calculator-form h2 {
    margin-bottom: 15px;
    color: #333;
    font-size: 24px;
}

.coast-fire-calculator-form p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.5;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.input-group input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.input-group input[type="range"] {
    width: 100%;
    margin-right: 10px;
}

.input-group output {
    font-weight: 500;
    color: #333;
}

.calculate-button {
    display: inline-block;
    padding: 12px 24px;
    margin-top: 15px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.calculate-button:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.calculate-button:active {
    transform: translateY(0);
}

/* Results Styles */
.coast-fire-calculator-results {
    flex: 1;
    min-width: 300px;
}

#results-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

#results-container h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 20px;
}

.result-box {
    margin-bottom: 15px;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.result-label {
    font-weight: 500;
    color: #666;
    margin-bottom: 5px;
}

.result-value {
    font-weight: 700;
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.result-description {
    font-size: 14px;
    color: #888;
}

.result-status {
    margin: 20px 0;
    padding: 15px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
}

.status-success {
    background-color: #e6f7e6;
    color: #2e7d32;
}

.status-warning {
    background-color: #fff8e1;
    color: #ff8f00;
}

/* Progress Bar */
.progress-container {
    margin: 25px 0;
}

.progress-label {
    margin-bottom: 10px;
    font-weight: 500;
}

.progress-bar-container {
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #4caf50;
    width: 0;
    transition: width 0.5s ease-in-out;
}

.progress-value {
    text-align: right;
    margin-top: 5px;
    font-weight: 500;
}

/* Chart Container */
.chart-container {
    margin-top: 30px;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .coast-fire-calculator-container {
        flex-direction: column;
    }
    
    .coast-fire-calculator-form,
    .coast-fire-calculator-results {
        width: 100%;
    }
} 