.ddc-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #1a1a1a;
    border-radius: 8px;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ddc-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
    font-size: 1.8rem;
}

.ddc-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ddc-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ddc-form-group label {
    font-weight: 500;
    color: #e0e0e0;
}

.ddc-form-group select,
.ddc-form-group input {
    padding: 0.75rem;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #2a2a2a;
    color: #ffffff;
    font-size: 1rem;
    appearance: none; /* Ensures consistent styling across browsers */
}

.ddc-form-group select:focus,
.ddc-form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.ddc-calculate {
    background-color: #007bff;
    color: #ffffff;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ddc-calculate:hover {
    background-color: #0056b3;
}

.ddc-results {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #2a2a2a;
    border-radius: 4px;
}

.ddc-results h3 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.ddc-results p {
    margin: 0.5rem 0;
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ddc-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .ddc-container h2 {
        font-size: 1.5rem;
    }
    
    .ddc-form-group select,
    .ddc-form-group input {
        font-size: 16px; /* Prevent zoom on mobile */
    }
} 