.converter-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.mode-switch {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.mode-switch label {
    cursor: pointer;
    font-weight: 500;
}

.unit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.unit-item {
    display: flex;
    flex-direction: column;
}

.unit-item label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
    font-size: 0.95rem;
}

.unit-item input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.unit-item input:focus {
    border-color: #2196f3;
    outline: none;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

.actions {
    margin-top: 30px;
    text-align: center;
}

.btn-reset {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
}

.btn-reset:hover {
    background: #eee;
}