/**
 * Starforce Calculator Styles
 */

/* Reset and base styles to prevent theme conflicts */
.starforce-calculator-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
    line-height: 1.5;
    box-sizing: border-box;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.starforce-calculator-container * {
    box-sizing: border-box;
}

.starforce-calculator-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 28px;
}

.starforce-calculator-container h3 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: #333;
    font-size: 22px;
}

/* Form styles */
.starforce-form {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input[type="number"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.checkbox-group {
    margin-bottom: 8px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
}

/* Button styles */
.starforce-btn {
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 10px;
    margin-right: 10px;
}

.starforce-btn:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.starforce-btn:active {
    transform: translateY(0);
}

/* Results container */
.results-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #eee;
}

#results-data {
    font-size: 16px;
    line-height: 1.6;
}

#results-data table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

#results-data table th,
#results-data table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#results-data table th {
    background-color: #f2f2f2;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .starforce-form {
        grid-template-columns: 1fr;
    }
    
    .starforce-btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
} 