.unit-converter-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

.unit-converter-container h3 {
    margin-top: 0;
    color: #333;
    text-align: center;
}

.converter-row {
    margin: 15px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Bold labels - guaranteed to work */
.converter-label-bold {
    font-weight: 700 !important;
}

.converter-to-bold {
    font-weight: 700 !important;
    margin: 0 5px;
}

.converter-input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    flex: 1;
    min-width: 100px;
}

.converter-select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

.converter-button {
    padding: 8px 15px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.converter-button:hover {
    background: #45a049;
}

#reset-btn {
    background: #f44336;
}

#reset-btn:hover {
    background: #d32f2f;
}

.converter-result {
    margin-top: 20px;
    padding: 15px;
    background: #e9f7ef;
    border-radius: 4px;
}

.converter-result h4 {
    margin-top: 0;
    color: #2e7d32;
}

.error {
    color: #d32f2f;
    font-weight: bold;
}

@media (max-width: 480px) {
    .converter-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .converter-input, .converter-select {
        width: 100%;
    }
}