/* Main Calculator Styles */
.dwc-calculator {
    max-width: 600px;
    margin: 20px auto;
    padding: 25px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.dwc-calculator h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #23282d;
    font-size: 1.5em;
}

/* Input Section */
.dwc-input-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.dwc-input-group {
    margin-bottom: 0;
}

.dwc-input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #23282d;
}

.dwc-input-group input {
    width: 60%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.dwc-input-group select {
    width: 35%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
    font-size: 14px;
}

/* Buttons */
.dwc-button-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.dwc-button-group button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#dwc-calculate {
    background-color: #2271b1;
    color: white;
}

#dwc-calculate:hover {
    background-color: #135e96;
}

#dwc-reset {
    background-color: #f0f0f0;
    color: #555;
}

#dwc-reset:hover {
    background-color: #e0e0e0;
}

/* Results Table */
.dwc-results {
    overflow-x: auto;
}

.dwc-results table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.dwc-results th {
    background-color: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 600;
}

.dwc-results td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.dwc-results tr:last-child td {
    border-bottom: none;
}

.dwc-no-results {
    text-align: center;
    color: #777;
    font-style: italic;
}

/* Responsive */
@media (max-width: 600px) {
    .dwc-input-section {
        grid-template-columns: 1fr;
    }
    
    .dwc-input-group input {
        width: 50%;
    }
    
    .dwc-input-group select {
        width: 45%;
    }
}