/* Axis and Allies Calculator Styles */
.aac-calculator-container {
    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);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.aac-calculator-title {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.aac-calculator-section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.aac-calculator-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.aac-unit-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.aac-unit-row {
    display: flex;
    flex-direction: column;
}

.aac-unit-row label {
    margin-bottom: 5px;
    font-weight: 500;
}

.aac-unit-input {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.aac-calculator-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

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

.aac-button:hover {
    background-color: #333333;
}

.aac-results {
    margin-top: 20px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
    display: none;
}

.aac-results.active {
    display: block;
}

.aac-results-section {
    margin-bottom: 15px;
}

.aac-results-section h3 {
    margin-top: 0;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.aac-result-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.aac-result-row:last-child {
    border-bottom: none;
}

/* Responsive styles */
@media (max-width: 768px) {
    .aac-unit-inputs {
        grid-template-columns: 1fr;
    }
    
    .aac-calculator-actions {
        flex-direction: column;
    }
    
    .aac-button {
        width: 100%;
    }
}